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 void 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 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1863 else if ( info
.sizer
)
1864 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1865 else if (info
.gotSize
)
1866 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1867 proportion
, flag
, border
, data
);
1869 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1871 wxPyUserData
* data
= NULL
;
1872 bool blocked
= wxPyBeginBlockThreads();
1873 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1874 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1875 data
= new wxPyUserData(userData
);
1876 wxPyEndBlockThreads(blocked
);
1878 // Now call the real Insert method if a valid item type was found
1880 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1881 else if ( info
.sizer
)
1882 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1883 else if (info
.gotSize
)
1884 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1885 proportion
, flag
, border
, data
);
1887 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1889 wxPyUserData
* data
= NULL
;
1890 bool blocked
= wxPyBeginBlockThreads();
1891 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1892 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1893 data
= new wxPyUserData(userData
);
1894 wxPyEndBlockThreads(blocked
);
1896 // Now call the real Prepend method if a valid item type was found
1898 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1899 else if ( info
.sizer
)
1900 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1901 else if (info
.gotSize
)
1902 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1903 proportion
, flag
, border
, data
);
1905 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1906 bool blocked
= wxPyBeginBlockThreads();
1907 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1908 wxPyEndBlockThreads(blocked
);
1910 return self
->Remove(info
.window
);
1911 else if ( info
.sizer
)
1912 return self
->Remove(info
.sizer
);
1913 else if ( info
.gotPos
)
1914 return self
->Remove(info
.pos
);
1918 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1919 bool blocked
= wxPyBeginBlockThreads();
1920 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1921 wxPyEndBlockThreads(blocked
);
1923 return self
->Detach(info
.window
);
1924 else if ( info
.sizer
)
1925 return self
->Detach(info
.sizer
);
1926 else if ( info
.gotPos
)
1927 return self
->Detach(info
.pos
);
1931 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1932 bool blocked
= wxPyBeginBlockThreads();
1933 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1934 wxPyEndBlockThreads(blocked
);
1936 self
->SetItemMinSize(info
.window
, size
);
1937 else if ( info
.sizer
)
1938 self
->SetItemMinSize(info
.sizer
, size
);
1939 else if ( info
.gotPos
)
1940 self
->SetItemMinSize(info
.pos
, size
);
1942 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1943 wxSizerItemList
& list
= self
->GetChildren();
1944 return wxPy_ConvertList(&list
);
1946 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1947 bool blocked
= wxPyBeginBlockThreads();
1948 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1949 wxPyEndBlockThreads(blocked
);
1951 return self
->Show(info
.window
, show
, recursive
);
1952 else if ( info
.sizer
)
1953 return self
->Show(info
.sizer
, show
, recursive
);
1954 else if ( info
.gotPos
)
1955 return self
->Show(info
.pos
, show
);
1959 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1960 bool blocked
= wxPyBeginBlockThreads();
1961 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1962 wxPyEndBlockThreads(blocked
);
1964 return self
->IsShown(info
.window
);
1965 else if ( info
.sizer
)
1966 return self
->IsShown(info
.sizer
);
1967 else if ( info
.gotPos
)
1968 return self
->IsShown(info
.pos
);
1974 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1975 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1976 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1981 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1983 if (source
== Py_None
) {
1984 **obj
= wxGBPosition(-1,-1);
1987 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1990 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1992 if (source
== Py_None
) {
1993 **obj
= wxGBSpan(-1,-1);
1996 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2000 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2004 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2005 bool blocked
= wxPyBeginBlockThreads();
2006 PyObject
* tup
= PyTuple_New(2);
2007 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2008 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2009 wxPyEndBlockThreads(blocked
);
2012 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2013 self
->SetRowspan(rowspan
);
2014 self
->SetColspan(colspan
);
2016 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2017 bool blocked
= wxPyBeginBlockThreads();
2018 PyObject
* tup
= PyTuple_New(2);
2019 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2020 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2021 wxPyEndBlockThreads(blocked
);
2024 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2025 wxPyUserData
* data
= NULL
;
2027 bool blocked
= wxPyBeginBlockThreads();
2028 data
= new wxPyUserData(userData
);
2029 wxPyEndBlockThreads(blocked
);
2031 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2033 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2034 wxPyUserData
* data
= NULL
;
2036 bool blocked
= wxPyBeginBlockThreads();
2037 data
= new wxPyUserData(userData
);
2038 wxPyEndBlockThreads(blocked
);
2040 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2042 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2043 wxPyUserData
* data
= NULL
;
2045 bool blocked
= wxPyBeginBlockThreads();
2046 data
= new wxPyUserData(userData
);
2047 wxPyEndBlockThreads(blocked
);
2049 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2051 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2053 self
->GetEndPos(row
, col
);
2054 return wxGBPosition(row
, col
);
2056 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2058 wxPyUserData
* data
= NULL
;
2059 bool blocked
= wxPyBeginBlockThreads();
2060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2061 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2062 data
= new wxPyUserData(userData
);
2063 wxPyEndBlockThreads(blocked
);
2065 // Now call the real Add method if a valid item type was found
2067 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2068 else if ( info
.sizer
)
2069 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2070 else if (info
.gotSize
)
2071 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2072 pos
, span
, flag
, border
, data
);
2080 static int _wrap_EmptyString_set(PyObject
*) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2086 static PyObject
*_wrap_EmptyString_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2100 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxObject
*arg1
= (wxObject
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2106 (char *) "self", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= wxObject_GetClassName(arg1
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2132 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxObject
*arg1
= (wxObject
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxObject_Destroy(arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2150 Py_INCREF(Py_None
); resultobj
= Py_None
;
2157 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2160 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2162 return Py_BuildValue((char *)"");
2164 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxSize
*arg1
= (wxSize
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2169 PyObject
* obj1
= 0 ;
2171 (char *) "self",(char *) "x", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2177 arg2
= (int)SWIG_As_int(obj1
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2179 if (arg1
) (arg1
)->x
= arg2
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxSize
*arg1
= (wxSize
*) 0 ;
2192 PyObject
* obj0
= 0 ;
2194 (char *) "self", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 result
= (int) ((arg1
)->x
);
2202 resultobj
= SWIG_From_int((int)result
);
2209 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxSize
*arg1
= (wxSize
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2214 PyObject
* obj1
= 0 ;
2216 (char *) "self",(char *) "y", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 arg2
= (int)SWIG_As_int(obj1
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2224 if (arg1
) (arg1
)->y
= arg2
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxSize
*arg1
= (wxSize
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2245 result
= (int) ((arg1
)->y
);
2247 resultobj
= SWIG_From_int((int)result
);
2254 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 int arg1
= (int) 0 ;
2257 int arg2
= (int) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "w",(char *) "h", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 arg1
= (int)SWIG_As_int(obj0
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 arg2
= (int)SWIG_As_int(obj1
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2288 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxSize
*arg1
= (wxSize
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 (char *) "self",(char *) "sz", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2348 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxSize
*arg1
= (wxSize
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "sz", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2383 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxSize
*arg1
= (wxSize
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "sz", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2411 resultptr
= new wxSize((wxSize
&) result
);
2412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2420 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "sz", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2448 resultptr
= new wxSize((wxSize
&) result
);
2449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2457 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxSize
*arg1
= (wxSize
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "sz", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 (arg1
)->IncTo((wxSize
const &)*arg2
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2489 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxSize
*arg1
= (wxSize
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2497 (char *) "self",(char *) "sz", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->DecTo((wxSize
const &)*arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxSize
*arg1
= (wxSize
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2527 PyObject
* obj1
= 0 ;
2528 PyObject
* obj2
= 0 ;
2530 (char *) "self",(char *) "w",(char *) "h", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 arg2
= (int)SWIG_As_int(obj1
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2538 arg3
= (int)SWIG_As_int(obj2
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->Set(arg2
,arg3
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxSize
*arg1
= (wxSize
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2559 PyObject
* obj1
= 0 ;
2561 (char *) "self",(char *) "w", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2567 arg2
= (int)SWIG_As_int(obj1
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetWidth(arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxSize
*arg1
= (wxSize
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2590 (char *) "self",(char *) "h", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 arg2
= (int)SWIG_As_int(obj1
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 (arg1
)->SetHeight(arg2
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 Py_INCREF(Py_None
); resultobj
= Py_None
;
2612 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxSize
*arg1
= (wxSize
*) 0 ;
2616 PyObject
* obj0
= 0 ;
2618 (char *) "self", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= SWIG_From_int((int)result
);
2638 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxSize
*arg1
= (wxSize
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= SWIG_From_int((int)result
);
2664 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxSize
*arg1
= (wxSize
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2692 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxSize
*arg1
= (wxSize
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2700 (char *) "self",(char *) "size", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxSize
*arg1
= (wxSize
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (PyObject
*)wxSize_Get(arg1
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2750 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2753 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2755 return Py_BuildValue((char *)"");
2757 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj1
= 0 ;
2764 (char *) "self",(char *) "x", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 arg2
= (double)SWIG_As_double(obj1
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2772 if (arg1
) (arg1
)->x
= arg2
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 result
= (double) ((arg1
)->x
);
2795 resultobj
= SWIG_From_double((double)result
);
2802 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2809 (char *) "self",(char *) "y", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 arg2
= (double)SWIG_As_double(obj1
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2817 if (arg1
) (arg1
)->y
= arg2
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2832 (char *) "self", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 result
= (double) ((arg1
)->y
);
2840 resultobj
= SWIG_From_double((double)result
);
2847 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 double arg1
= (double) 0.0 ;
2850 double arg2
= (double) 0.0 ;
2851 wxRealPoint
*result
;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "x",(char *) "y", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2860 arg1
= (double)SWIG_As_double(obj0
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 arg2
= (double)SWIG_As_double(obj1
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2881 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2884 PyObject
* obj0
= 0 ;
2886 (char *) "self", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2909 wxRealPoint
*arg2
= 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "pt", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2944 wxRealPoint
*arg2
= 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2950 (char *) "self",(char *) "pt", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2976 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2979 wxRealPoint
*arg2
= 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "pt", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 wxRealPoint
* resultptr
;
3004 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3013 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3016 wxRealPoint
*arg2
= 0 ;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3022 (char *) "self",(char *) "pt", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 wxRealPoint
* resultptr
;
3041 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3050 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3057 PyObject
* obj2
= 0 ;
3059 (char *) "self",(char *) "x",(char *) "y", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3065 arg2
= (double)SWIG_As_double(obj1
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3067 arg3
= (double)SWIG_As_double(obj2
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 wxRealPoint_Set(arg1
,arg2
,arg3
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3083 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3089 (char *) "self", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3109 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3112 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3114 return Py_BuildValue((char *)"");
3116 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxPoint
*arg1
= (wxPoint
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3123 (char *) "self",(char *) "x", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 arg2
= (int)SWIG_As_int(obj1
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3131 if (arg1
) (arg1
)->x
= arg2
;
3133 Py_INCREF(Py_None
); resultobj
= Py_None
;
3140 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxPoint
*arg1
= (wxPoint
*) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 result
= (int) ((arg1
)->x
);
3154 resultobj
= SWIG_From_int((int)result
);
3161 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxPoint
*arg1
= (wxPoint
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "y", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 arg2
= (int)SWIG_As_int(obj1
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3176 if (arg1
) (arg1
)->y
= arg2
;
3178 Py_INCREF(Py_None
); resultobj
= Py_None
;
3185 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxPoint
*arg1
= (wxPoint
*) 0 ;
3189 PyObject
* obj0
= 0 ;
3191 (char *) "self", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 result
= (int) ((arg1
)->y
);
3199 resultobj
= SWIG_From_int((int)result
);
3206 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 int arg1
= (int) 0 ;
3209 int arg2
= (int) 0 ;
3211 PyObject
* obj0
= 0 ;
3212 PyObject
* obj1
= 0 ;
3214 (char *) "x",(char *) "y", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 arg1
= (int)SWIG_As_int(obj0
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3223 arg2
= (int)SWIG_As_int(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3240 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxPoint
*arg1
= (wxPoint
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 Py_INCREF(Py_None
); resultobj
= Py_None
;
3265 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxPoint
*arg1
= (wxPoint
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "pt", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3300 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxPoint
*arg1
= (wxPoint
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "pt", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3335 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxPoint
*arg1
= (wxPoint
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "pt", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 wxPoint
* resultptr
;
3363 resultptr
= new wxPoint((wxPoint
&) result
);
3364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3372 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPoint
*arg1
= (wxPoint
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "pt", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 wxPoint
* resultptr
;
3400 resultptr
= new wxPoint((wxPoint
&) result
);
3401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3409 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxPoint
*arg1
= (wxPoint
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "pt", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3423 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3432 result
= (wxPoint
*) &_result_ref
;
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3445 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxPoint
*arg1
= (wxPoint
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3454 (char *) "self",(char *) "pt", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3459 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3468 result
= (wxPoint
*) &_result_ref
;
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3481 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxPoint
*arg1
= (wxPoint
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3488 PyObject
* obj2
= 0 ;
3490 (char *) "self",(char *) "x",(char *) "y", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3496 arg2
= (long)SWIG_As_long(obj1
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3498 arg3
= (long)SWIG_As_long(obj2
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 wxPoint_Set(arg1
,arg2
,arg3
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxPoint
*arg1
= (wxPoint
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (PyObject
*)wxPoint_Get(arg1
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3540 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3543 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3545 return Py_BuildValue((char *)"");
3547 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 int arg1
= (int) 0 ;
3550 int arg2
= (int) 0 ;
3551 int arg3
= (int) 0 ;
3552 int arg4
= (int) 0 ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3557 PyObject
* obj3
= 0 ;
3559 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3564 arg1
= (int)SWIG_As_int(obj0
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 arg2
= (int)SWIG_As_int(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 arg3
= (int)SWIG_As_int(obj2
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 arg4
= (int)SWIG_As_int(obj3
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3593 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "topLeft",(char *) "bottomRight", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3629 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3639 (char *) "pos",(char *) "size", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3665 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxRect
*arg1
= (wxRect
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxRect
*arg1
= (wxRect
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (int)((wxRect
const *)arg1
)->GetX();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_From_int((int)result
);
3716 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxRect
*arg1
= (wxRect
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3723 (char *) "self",(char *) "x", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3729 arg2
= (int)SWIG_As_int(obj1
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxRect
*arg1
= (wxRect
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "self", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (int)(arg1
)->GetY();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_From_int((int)result
);
3771 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxRect
*arg1
= (wxRect
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3778 (char *) "self",(char *) "y", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxRect
*arg1
= (wxRect
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_From_int((int)result
);
3826 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxRect
*arg1
= (wxRect
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "self",(char *) "w", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 arg2
= (int)SWIG_As_int(obj1
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->SetWidth(arg2
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxRect
*arg1
= (wxRect
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3861 (char *) "self", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_From_int((int)result
);
3881 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxRect
*arg1
= (wxRect
*) 0 ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3888 (char *) "self",(char *) "h", NULL
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3894 arg2
= (int)SWIG_As_int(obj1
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->SetHeight(arg2
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxRect
*arg1
= (wxRect
*) 0 ;
3914 PyObject
* obj0
= 0 ;
3916 (char *) "self", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= ((wxRect
const *)arg1
)->GetPosition();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 wxPoint
* resultptr
;
3931 resultptr
= new wxPoint((wxPoint
&) result
);
3932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3940 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxRect
*arg1
= (wxRect
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "p", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxRect
*arg1
= (wxRect
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= ((wxRect
const *)arg1
)->GetSize();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3993 resultptr
= new wxSize((wxSize
&) result
);
3994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4002 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxRect
*arg1
= (wxRect
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 (char *) "self",(char *) "s", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 (arg1
)->SetSize((wxSize
const &)*arg2
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 Py_INCREF(Py_None
); resultobj
= Py_None
;
4034 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxRect
*arg1
= (wxRect
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4040 (char *) "self", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 wxPoint
* resultptr
;
4055 resultptr
= new wxPoint((wxPoint
&) result
);
4056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4064 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxRect
*arg1
= (wxRect
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 (char *) "self",(char *) "p", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxRect
*arg1
= (wxRect
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 wxPoint
* resultptr
;
4117 resultptr
= new wxPoint((wxPoint
&) result
);
4118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4126 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxRect
*arg1
= (wxRect
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "p", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxRect
*arg1
= (wxRect
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_From_int((int)result
);
4184 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (int)((wxRect
const *)arg1
)->GetTop();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_From_int((int)result
);
4210 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRect
*arg1
= (wxRect
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_From_int((int)result
);
4236 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxRect
*arg1
= (wxRect
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (int)((wxRect
const *)arg1
)->GetRight();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_From_int((int)result
);
4262 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRect
*arg1
= (wxRect
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "self",(char *) "left", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4275 arg2
= (int)SWIG_As_int(obj1
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 (arg1
)->SetLeft(arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "right", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 arg2
= (int)SWIG_As_int(obj1
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetRight(arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxRect
*arg1
= (wxRect
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "top", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 arg2
= (int)SWIG_As_int(obj1
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetTop(arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxRect
*arg1
= (wxRect
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "bottom", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 arg2
= (int)SWIG_As_int(obj1
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 (arg1
)->SetBottom(arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 Py_INCREF(Py_None
); resultobj
= Py_None
;
4378 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxRect
*arg1
= (wxRect
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 PyObject
* obj2
= 0 ;
4388 (char *) "self",(char *) "dx",(char *) "dy", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4394 arg2
= (int)SWIG_As_int(obj1
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4396 arg3
= (int)SWIG_As_int(obj2
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4402 result
= (wxRect
*) &_result_ref
;
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4415 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxRect
*arg1
= (wxRect
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 PyObject
* obj2
= 0 ;
4425 (char *) "self",(char *) "dx",(char *) "dy", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int)SWIG_As_int(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4433 arg3
= (int)SWIG_As_int(obj2
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4439 result
= (wxRect
*) &_result_ref
;
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4452 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4461 (char *) "self",(char *) "dx",(char *) "dy", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 arg2
= (int)SWIG_As_int(obj1
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg3
= (int)SWIG_As_int(obj2
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 (arg1
)->Offset(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "pt", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->Offset((wxPoint
const &)*arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxRect
*arg1
= (wxRect
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4526 (char *) "self",(char *) "rect", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4540 result
= (wxRect
*) &_result_ref
;
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4553 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxRect
*arg1
= (wxRect
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "rect", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4581 resultptr
= new wxRect((wxRect
&) result
);
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4590 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxRect
*arg1
= (wxRect
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4599 (char *) "self",(char *) "rect", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4604 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4613 result
= (wxRect
*) &_result_ref
;
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4626 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxRect
*arg1
= (wxRect
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4635 (char *) "self",(char *) "rect", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxRect
*arg1
= (wxRect
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4670 (char *) "self",(char *) "rect", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4696 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxRect
*arg1
= (wxRect
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4706 (char *) "self",(char *) "x",(char *) "y", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 arg2
= (int)SWIG_As_int(obj1
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4714 arg3
= (int)SWIG_As_int(obj2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4732 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4741 (char *) "self",(char *) "pt", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4767 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRect
*arg1
= (wxRect
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "rect", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxRect
*arg1
= (wxRect
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4809 (char *) "self",(char *) "x", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 arg2
= (int)SWIG_As_int(obj1
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4817 if (arg1
) (arg1
)->x
= arg2
;
4819 Py_INCREF(Py_None
); resultobj
= Py_None
;
4826 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxRect
*arg1
= (wxRect
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 result
= (int) ((arg1
)->x
);
4840 resultobj
= SWIG_From_int((int)result
);
4847 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxRect
*arg1
= (wxRect
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4854 (char *) "self",(char *) "y", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 arg2
= (int)SWIG_As_int(obj1
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4862 if (arg1
) (arg1
)->y
= arg2
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRect
*arg1
= (wxRect
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 result
= (int) ((arg1
)->y
);
4885 resultobj
= SWIG_From_int((int)result
);
4892 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxRect
*arg1
= (wxRect
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4899 (char *) "self",(char *) "width", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 arg2
= (int)SWIG_As_int(obj1
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4907 if (arg1
) (arg1
)->width
= arg2
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRect
*arg1
= (wxRect
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 result
= (int) ((arg1
)->width
);
4930 resultobj
= SWIG_From_int((int)result
);
4937 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRect
*arg1
= (wxRect
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4944 (char *) "self",(char *) "height", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 arg2
= (int)SWIG_As_int(obj1
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4952 if (arg1
) (arg1
)->height
= arg2
;
4954 Py_INCREF(Py_None
); resultobj
= Py_None
;
4961 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxRect
*arg1
= (wxRect
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4967 (char *) "self", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 result
= (int) ((arg1
)->height
);
4975 resultobj
= SWIG_From_int((int)result
);
4982 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxRect
*arg1
= (wxRect
*) 0 ;
4985 int arg2
= (int) 0 ;
4986 int arg3
= (int) 0 ;
4987 int arg4
= (int) 0 ;
4988 int arg5
= (int) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 arg2
= (int)SWIG_As_int(obj1
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5006 arg3
= (int)SWIG_As_int(obj2
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 arg4
= (int)SWIG_As_int(obj3
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 arg5
= (int)SWIG_As_int(obj4
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5037 (char *) "self", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (PyObject
*)wxRect_Get(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5057 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5062 return Py_BuildValue((char *)"");
5064 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxRect
*arg1
= (wxRect
*) 0 ;
5067 wxRect
*arg2
= (wxRect
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "r1",(char *) "r2", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 if (!wxPyCheckForApp()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5095 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 double arg1
= (double) 0.0 ;
5098 double arg2
= (double) 0.0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "x",(char *) "y", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 arg1
= (double)SWIG_As_double(obj0
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 arg2
= (double)SWIG_As_double(obj1
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5129 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxPoint2D
*arg1
= 0 ;
5134 PyObject
* obj0
= 0 ;
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5142 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5158 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5163 PyObject
* obj0
= 0 ;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5171 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5187 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5190 int *arg2
= (int *) 0 ;
5191 int *arg3
= (int *) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5202 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5217 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5224 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5227 int *arg2
= (int *) 0 ;
5228 int *arg3
= (int *) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self", NULL
5238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5261 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "self", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_From_double((double)result
);
5287 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5291 PyObject
* obj0
= 0 ;
5293 (char *) "self", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_From_double((double)result
);
5313 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5320 (char *) "self",(char *) "length", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 arg2
= (double)SWIG_As_double(obj1
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetVectorLength(arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5349 (char *) "self",(char *) "degrees", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (double)SWIG_As_double(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetVectorAngle(arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5374 wxPoint2D
*arg2
= 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "pt", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_From_double((double)result
);
5404 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5407 wxPoint2D
*arg2
= 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "pt", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_From_double((double)result
);
5437 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 wxPoint2D
*arg2
= 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "vec", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_double((double)result
);
5470 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5473 wxPoint2D
*arg2
= 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "vec", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_double((double)result
);
5503 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (arg1
)->operator -();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 wxPoint2D
* resultptr
;
5524 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5533 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5536 wxPoint2D
*arg2
= 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5542 (char *) "self",(char *) "pt", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5547 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5550 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5556 result
= (wxPoint2D
*) &_result_ref
;
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5569 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5572 wxPoint2D
*arg2
= 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5578 (char *) "self",(char *) "pt", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5583 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5586 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5592 result
= (wxPoint2D
*) &_result_ref
;
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5605 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5608 wxPoint2D
*arg2
= 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "pt", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5619 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5622 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5628 result
= (wxPoint2D
*) &_result_ref
;
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5641 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5644 wxPoint2D
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "self",(char *) "pt", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5655 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5658 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5664 result
= (wxPoint2D
*) &_result_ref
;
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5677 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5680 wxPoint2D
*arg2
= 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "pt", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5715 wxPoint2D
*arg2
= 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "pt", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5754 (char *) "self",(char *) "m_x", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= (double)SWIG_As_double(obj1
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5762 if (arg1
) (arg1
)->m_x
= arg2
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 result
= (double) ((arg1
)->m_x
);
5785 resultobj
= SWIG_From_double((double)result
);
5792 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5799 (char *) "self",(char *) "m_y", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 arg2
= (double)SWIG_As_double(obj1
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5807 if (arg1
) (arg1
)->m_y
= arg2
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 result
= (double) ((arg1
)->m_y
);
5830 resultobj
= SWIG_From_double((double)result
);
5837 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5840 double arg2
= (double) 0 ;
5841 double arg3
= (double) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5844 PyObject
* obj2
= 0 ;
5846 (char *) "self",(char *) "x",(char *) "y", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (double)SWIG_As_double(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 arg3
= (double)SWIG_As_double(obj2
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxPoint2D_Set(arg1
,arg2
,arg3
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5900 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5903 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5905 return Py_BuildValue((char *)"");
5907 static int _wrap_DefaultPosition_set(PyObject
*) {
5908 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5913 static PyObject
*_wrap_DefaultPosition_get() {
5916 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5921 static int _wrap_DefaultSize_set(PyObject
*) {
5922 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5927 static PyObject
*_wrap_DefaultSize_get() {
5930 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5935 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 PyObject
*arg1
= (PyObject
*) 0 ;
5938 wxPyInputStream
*result
;
5939 PyObject
* obj0
= 0 ;
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5960 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)(arg1
)->eof();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6041 int arg2
= (int) -1 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "size", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6053 arg2
= (int)SWIG_As_int(obj1
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (PyObject
*)(arg1
)->read(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6070 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6073 int arg2
= (int) -1 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "size", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 arg2
= (int)SWIG_As_int(obj1
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (PyObject
*)(arg1
)->readline(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6102 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 int arg2
= (int) -1 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "sizehint", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 arg2
= (int)SWIG_As_int(obj1
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6134 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6138 int arg3
= (int) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6143 (char *) "self",(char *) "offset",(char *) "whence", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 arg2
= (int)SWIG_As_int(obj1
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 arg3
= (int)SWIG_As_int(obj2
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->seek(arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (int)(arg1
)->tell();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_From_int((int)result
);
6195 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (char)(arg1
)->Peek();
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_From_char((char)result
);
6221 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6227 (char *) "self", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (char)(arg1
)->GetC();
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_From_char((char)result
);
6247 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (size_t)(arg1
)->LastRead();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6273 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->CanRead();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (bool)(arg1
)->Eof();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6329 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6337 (char *) "self",(char *) "c", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 arg2
= (char)SWIG_As_char(obj1
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (bool)(arg1
)->Ungetch(arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6365 int arg3
= (int) wxFromStart
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6371 (char *) "self",(char *) "pos",(char *) "mode", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (long)SWIG_As_long(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 arg3
= (int)SWIG_As_int(obj2
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_From_long((long)result
);
6397 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (long)(arg1
)->TellI();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_From_long((long)result
);
6423 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6428 return Py_BuildValue((char *)"");
6430 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6433 PyObject
*arg2
= (PyObject
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6437 (char *) "self",(char *) "obj", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 wxOutputStream_write(arg1
,arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6463 return Py_BuildValue((char *)"");
6465 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6468 wxString
*arg2
= 0 ;
6469 wxString
*arg3
= 0 ;
6470 wxString
*arg4
= 0 ;
6473 wxPyInputStream
*temp1
;
6475 bool temp2
= false ;
6476 bool temp3
= false ;
6477 bool temp4
= false ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6482 PyObject
* obj3
= 0 ;
6483 PyObject
* obj4
= 0 ;
6485 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6490 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6491 arg1
= temp1
->m_wxis
;
6494 PyErr_Clear(); // clear the failure of the wxPyConvert above
6495 arg1
= wxPyCBInputStream_create(obj0
, false);
6497 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6504 arg2
= wxString_in_helper(obj1
);
6505 if (arg2
== NULL
) SWIG_fail
;
6509 arg3
= wxString_in_helper(obj2
);
6510 if (arg3
== NULL
) SWIG_fail
;
6514 arg4
= wxString_in_helper(obj3
);
6515 if (arg4
== NULL
) SWIG_fail
;
6518 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6519 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= wxPyMake_wxObject(result
, 1);
6569 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6597 wxInputStream
*result
;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (wxInputStream
*)(arg1
)->GetStream();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 wxPyInputStream
* _ptr
= NULL
;
6617 _ptr
= new wxPyInputStream(result
);
6619 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6627 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6633 (char *) "self", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6643 result
= (wxString
*) &_result_ref
;
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6662 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 wxString
const &_result_ref
= (arg1
)->GetLocation();
6678 result
= (wxString
*) &_result_ref
;
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6697 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6713 result
= (wxString
*) &_result_ref
;
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6723 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6732 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (arg1
)->GetModificationTime();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 wxDateTime
* resultptr
;
6753 resultptr
= new wxDateTime((wxDateTime
&) result
);
6754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6762 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6765 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6767 return Py_BuildValue((char *)"");
6769 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6772 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6774 return Py_BuildValue((char *)"");
6776 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxPyFileSystemHandler
*result
;
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6798 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6801 PyObject
*arg2
= (PyObject
*) 0 ;
6802 PyObject
*arg3
= (PyObject
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 PyObject
* obj2
= 0 ;
6807 (char *) "self",(char *) "self",(char *) "_class", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6832 wxString
*arg2
= 0 ;
6834 bool temp2
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "location", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 arg2
= wxString_in_helper(obj1
);
6846 if (arg2
== NULL
) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6873 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
;
6875 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6876 wxFileSystem
*arg2
= 0 ;
6877 wxString
*arg3
= 0 ;
6879 bool temp3
= false ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6882 PyObject
* obj2
= 0 ;
6884 (char *) "self",(char *) "fs",(char *) "location", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6894 PyErr_SetString(PyExc_TypeError
,"null reference");
6898 arg3
= wxString_in_helper(obj2
);
6899 if (arg3
== NULL
) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= wxPyMake_wxObject(result
, 1);
6926 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6929 wxString
*arg2
= 0 ;
6930 int arg3
= (int) 0 ;
6932 bool temp2
= false ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6937 (char *) "self",(char *) "spec",(char *) "flags", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 arg2
= wxString_in_helper(obj1
);
6945 if (arg2
== NULL
) SWIG_fail
;
6949 arg3
= (int)SWIG_As_int(obj2
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6980 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (arg1
)->FindNext();
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7012 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7015 wxString
*arg2
= 0 ;
7017 bool temp2
= false ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7021 (char *) "self",(char *) "location", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 arg2
= wxString_in_helper(obj1
);
7029 if (arg2
== NULL
) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7060 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(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_GetLeftLocation",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
)->GetLeftLocation((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_GetAnchor(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_GetAnchor",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
)->GetAnchor((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_GetRightLocation(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_GetRightLocation",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
)->GetRightLocation((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_GetMimeTypeFromExt(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_GetMimeTypeFromExt",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
)->GetMimeTypeFromExt((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
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7255 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7257 return Py_BuildValue((char *)"");
7259 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFileSystem
*result
;
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (wxFileSystem
*)new wxFileSystem();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= wxPyMake_wxObject(result
, 1);
7283 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7311 wxString
*arg2
= 0 ;
7312 bool arg3
= (bool) false ;
7313 bool temp2
= false ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7316 PyObject
* obj2
= 0 ;
7318 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 arg2
= wxString_in_helper(obj1
);
7326 if (arg2
== NULL
) SWIG_fail
;
7330 arg3
= (bool)SWIG_As_bool(obj2
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (arg1
)->GetPath();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7387 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7390 wxString
*arg2
= 0 ;
7392 bool temp2
= false ;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7396 (char *) "self",(char *) "location", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7403 arg2
= wxString_in_helper(obj1
);
7404 if (arg2
== NULL
) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= wxPyMake_wxObject(result
, 1);
7431 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7434 wxString
*arg2
= 0 ;
7435 int arg3
= (int) 0 ;
7437 bool temp2
= false ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7442 (char *) "self",(char *) "spec",(char *) "flags", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 arg3
= (int)SWIG_As_int(obj2
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7485 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (arg1
)->FindNext();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7517 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7522 (char *) "handler", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxFileSystem::AddHandler(arg1
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7542 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 wxFileSystem::CleanUpHandlers();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 Py_INCREF(Py_None
); resultobj
= Py_None
;
7563 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxString
*arg1
= 0 ;
7567 bool temp1
= false ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "filename", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7575 arg1
= wxString_in_helper(obj0
);
7576 if (arg1
== NULL
) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7607 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxString
*arg1
= 0 ;
7611 bool temp1
= false ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "url", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7619 arg1
= wxString_in_helper(obj0
);
7620 if (arg1
== NULL
) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7651 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7654 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7656 return Py_BuildValue((char *)"");
7658 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxInternetFSHandler
*result
;
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7680 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7683 wxString
*arg2
= 0 ;
7685 bool temp2
= false ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "location", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7696 arg2
= wxString_in_helper(obj1
);
7697 if (arg2
== NULL
) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7724 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7727 wxFileSystem
*arg2
= 0 ;
7728 wxString
*arg3
= 0 ;
7730 bool temp3
= false ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7733 PyObject
* obj2
= 0 ;
7735 (char *) "self",(char *) "fs",(char *) "location", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7745 PyErr_SetString(PyExc_TypeError
,"null reference");
7749 arg3
= wxString_in_helper(obj2
);
7750 if (arg3
== NULL
) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= wxPyMake_wxObject(result
, 1);
7777 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxZipFSHandler
*result
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7806 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7809 wxString
*arg2
= 0 ;
7811 bool temp2
= false ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "location", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 arg2
= wxString_in_helper(obj1
);
7823 if (arg2
== NULL
) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7853 wxFileSystem
*arg2
= 0 ;
7854 wxString
*arg3
= 0 ;
7856 bool temp3
= false ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7861 (char *) "self",(char *) "fs",(char *) "location", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7871 PyErr_SetString(PyExc_TypeError
,"null reference");
7875 arg3
= wxString_in_helper(obj2
);
7876 if (arg3
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
, 1);
7903 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7906 wxString
*arg2
= 0 ;
7907 int arg3
= (int) 0 ;
7909 bool temp2
= false ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7914 (char *) "self",(char *) "spec",(char *) "flags", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= wxString_in_helper(obj1
);
7922 if (arg2
== NULL
) SWIG_fail
;
7926 arg3
= (int)SWIG_As_int(obj2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7957 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (arg1
)->FindNext();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7992 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7994 return Py_BuildValue((char *)"");
7996 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxString
*arg1
= 0 ;
8001 bool temp1
= false ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8006 (char *) "filename",(char *) "image",(char *) "type", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 arg1
= wxString_in_helper(obj0
);
8012 if (arg1
== NULL
) SWIG_fail
;
8015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8019 PyErr_SetString(PyExc_TypeError
,"null reference");
8022 arg3
= (long)SWIG_As_long(obj2
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8046 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxString
*arg1
= 0 ;
8049 wxBitmap
*arg2
= 0 ;
8051 bool temp1
= false ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8061 arg1
= wxString_in_helper(obj0
);
8062 if (arg1
== NULL
) SWIG_fail
;
8065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8069 PyErr_SetString(PyExc_TypeError
,"null reference");
8072 arg3
= (long)SWIG_As_long(obj2
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxString
*arg1
= 0 ;
8099 PyObject
*arg2
= (PyObject
*) 0 ;
8100 bool temp1
= false ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "filename",(char *) "data", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8109 arg1
= wxString_in_helper(obj0
);
8110 if (arg1
== NULL
) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxMemoryFSHandler
*result
;
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8158 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxString
*arg1
= 0 ;
8161 bool temp1
= false ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "filename", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8169 arg1
= wxString_in_helper(obj0
);
8170 if (arg1
== NULL
) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8198 wxString
*arg2
= 0 ;
8200 bool temp2
= false ;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8204 (char *) "self",(char *) "location", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 arg2
= wxString_in_helper(obj1
);
8212 if (arg2
== NULL
) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8239 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8242 wxFileSystem
*arg2
= 0 ;
8243 wxString
*arg3
= 0 ;
8245 bool temp3
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8250 (char *) "self",(char *) "fs",(char *) "location", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8260 PyErr_SetString(PyExc_TypeError
,"null reference");
8264 arg3
= wxString_in_helper(obj2
);
8265 if (arg3
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= wxPyMake_wxObject(result
, 1);
8292 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8295 wxString
*arg2
= 0 ;
8296 int arg3
= (int) 0 ;
8298 bool temp2
= false ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8303 (char *) "self",(char *) "spec",(char *) "flags", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 arg2
= wxString_in_helper(obj1
);
8311 if (arg2
== NULL
) SWIG_fail
;
8315 arg3
= (int)SWIG_As_int(obj2
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8346 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (arg1
)->FindNext();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8378 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8381 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8383 return Py_BuildValue((char *)"");
8385 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (arg1
)->GetName();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8417 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (arg1
)->GetExtension();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (long)(arg1
)->GetType();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_From_long((long)result
);
8475 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->GetMimeType();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8510 wxString
*arg2
= 0 ;
8512 bool temp2
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "name", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8523 arg2
= wxString_in_helper(obj1
);
8524 if (arg2
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8551 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8554 wxString
*arg2
= 0 ;
8555 bool temp2
= false ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "name", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetName((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8595 wxString
*arg2
= 0 ;
8596 bool temp2
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "extension", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->SetExtension((wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "type", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 arg2
= (long)SWIG_As_long(obj1
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 (arg1
)->SetType(arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8665 wxString
*arg2
= 0 ;
8666 bool temp2
= false ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8670 (char *) "self",(char *) "mimetype", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= wxString_in_helper(obj1
);
8678 if (arg2
== NULL
) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8708 return Py_BuildValue((char *)"");
8710 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxImageHistogram
*result
;
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxImageHistogram
*)new wxImageHistogram();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8732 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 unsigned char arg1
;
8735 unsigned char arg2
;
8736 unsigned char arg3
;
8737 unsigned long result
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "r",(char *) "g",(char *) "b", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8748 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8750 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8766 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8769 unsigned char *arg2
= (unsigned char *) 0 ;
8770 unsigned char *arg3
= (unsigned char *) 0 ;
8771 unsigned char *arg4
= (unsigned char *) 0 ;
8772 unsigned char arg5
= (unsigned char) 1 ;
8773 unsigned char arg6
= (unsigned char) 0 ;
8774 unsigned char arg7
= (unsigned char) 0 ;
8776 unsigned char temp2
;
8778 unsigned char temp3
;
8780 unsigned char temp4
;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8785 PyObject
* obj3
= 0 ;
8787 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8792 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8818 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8819 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8820 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8821 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8822 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8823 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8830 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8833 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8835 return Py_BuildValue((char *)"");
8837 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxString
*arg1
= 0 ;
8840 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8841 int arg3
= (int) -1 ;
8843 bool temp1
= false ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8848 (char *) "name",(char *) "type",(char *) "index", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8853 arg1
= wxString_in_helper(obj0
);
8854 if (arg1
== NULL
) SWIG_fail
;
8858 arg2
= (long)SWIG_As_long(obj1
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 arg3
= (int)SWIG_As_int(obj2
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8887 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxImage
*arg1
= (wxImage
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxString
*arg1
= 0 ;
8915 wxString
*arg2
= 0 ;
8916 int arg3
= (int) -1 ;
8918 bool temp1
= false ;
8919 bool temp2
= false ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8924 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 arg1
= wxString_in_helper(obj0
);
8930 if (arg1
== NULL
) SWIG_fail
;
8934 arg2
= wxString_in_helper(obj1
);
8935 if (arg2
== NULL
) SWIG_fail
;
8939 arg3
= (int)SWIG_As_int(obj2
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8972 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxInputStream
*arg1
= 0 ;
8975 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8976 int arg3
= (int) -1 ;
8978 wxPyInputStream
*temp1
;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8982 PyObject
* obj2
= 0 ;
8984 (char *) "stream",(char *) "type",(char *) "index", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8989 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8990 arg1
= temp1
->m_wxis
;
8993 PyErr_Clear(); // clear the failure of the wxPyConvert above
8994 arg1
= wxPyCBInputStream_create(obj0
, false);
8996 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9003 arg2
= (long)SWIG_As_long(obj1
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (int)SWIG_As_int(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9032 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxInputStream
*arg1
= 0 ;
9035 wxString
*arg2
= 0 ;
9036 int arg3
= (int) -1 ;
9038 wxPyInputStream
*temp1
;
9040 bool temp2
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9050 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9051 arg1
= temp1
->m_wxis
;
9054 PyErr_Clear(); // clear the failure of the wxPyConvert above
9055 arg1
= wxPyCBInputStream_create(obj0
, false);
9057 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9064 arg2
= wxString_in_helper(obj1
);
9065 if (arg2
== NULL
) SWIG_fail
;
9069 arg3
= (int)SWIG_As_int(obj2
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9102 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 int arg1
= (int) 0 ;
9105 int arg2
= (int) 0 ;
9106 bool arg3
= (bool) true ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9112 (char *) "width",(char *) "height",(char *) "clear", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9117 arg1
= (int)SWIG_As_int(obj0
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 arg2
= (int)SWIG_As_int(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= (bool)SWIG_As_bool(obj2
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9142 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxBitmap
*arg1
= 0 ;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "bitmap", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9156 PyErr_SetString(PyExc_TypeError
,"null reference");
9160 if (!wxPyCheckForApp()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9174 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9178 unsigned char *arg3
= (unsigned char *) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9184 (char *) "width",(char *) "height",(char *) "data", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 arg1
= (int)SWIG_As_int(obj0
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9190 arg2
= (int)SWIG_As_int(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9208 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "width",(char *) "height", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9223 arg2
= (int)SWIG_As_int(obj1
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9225 arg3
= (int)SWIG_As_int(obj2
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->Create(arg2
,arg3
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxImage
*arg1
= (wxImage
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxImage
*arg1
= (wxImage
*) 0 ;
9271 SwigValueWrapper
< wxImage
> result
;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9276 (char *) "self",(char *) "width",(char *) "height", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 arg2
= (int)SWIG_As_int(obj1
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9284 arg3
= (int)SWIG_As_int(obj2
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (arg1
)->Scale(arg2
,arg3
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 wxImage
* resultptr
;
9295 resultptr
= new wxImage((wxImage
&) result
);
9296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9304 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxImage
*arg1
= (wxImage
*) 0 ;
9309 SwigValueWrapper
< wxImage
> result
;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9312 PyObject
* obj2
= 0 ;
9314 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 arg2
= (int)SWIG_As_int(obj1
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9322 arg3
= (int)SWIG_As_int(obj2
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 wxImage
* resultptr
;
9333 resultptr
= new wxImage((wxImage
&) result
);
9334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9342 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxImage
*arg1
= (wxImage
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9352 (char *) "self",(char *) "width",(char *) "height", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 arg2
= (int)SWIG_As_int(obj1
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9360 arg3
= (int)SWIG_As_int(obj2
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9366 result
= (wxImage
*) &_result_ref
;
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9379 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxImage
*arg1
= (wxImage
*) 0 ;
9384 unsigned char arg4
;
9385 unsigned char arg5
;
9386 unsigned char arg6
;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 PyObject
* obj2
= 0 ;
9390 PyObject
* obj3
= 0 ;
9391 PyObject
* obj4
= 0 ;
9392 PyObject
* obj5
= 0 ;
9394 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= (int)SWIG_As_int(obj1
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg3
= (int)SWIG_As_int(obj2
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9408 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 Py_INCREF(Py_None
); resultobj
= Py_None
;
9424 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxImage
*arg1
= (wxImage
*) 0 ;
9429 unsigned char result
;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 PyObject
* obj2
= 0 ;
9434 (char *) "self",(char *) "x",(char *) "y", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 arg2
= (int)SWIG_As_int(obj1
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9442 arg3
= (int)SWIG_As_int(obj2
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9458 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxImage
*arg1
= (wxImage
*) 0 ;
9463 unsigned char result
;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9468 (char *) "self",(char *) "x",(char *) "y", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 arg2
= (int)SWIG_As_int(obj1
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9476 arg3
= (int)SWIG_As_int(obj2
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9492 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxImage
*arg1
= (wxImage
*) 0 ;
9497 unsigned char result
;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9502 (char *) "self",(char *) "x",(char *) "y", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 arg2
= (int)SWIG_As_int(obj1
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9510 arg3
= (int)SWIG_As_int(obj2
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9526 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxImage
*arg1
= (wxImage
*) 0 ;
9531 unsigned char arg4
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9537 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 arg2
= (int)SWIG_As_int(obj1
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9545 arg3
= (int)SWIG_As_int(obj2
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9547 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9563 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxImage
*arg1
= (wxImage
*) 0 ;
9568 unsigned char result
;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "self",(char *) "x",(char *) "y", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 arg2
= (int)SWIG_As_int(obj1
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9581 arg3
= (int)SWIG_As_int(obj2
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9597 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxImage
*arg1
= (wxImage
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (bool)(arg1
)->HasAlpha();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9625 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxImage
*arg1
= (wxImage
*) 0 ;
9628 byte
*arg2
= (byte
*) 0 ;
9629 byte
*arg3
= (byte
*) 0 ;
9630 byte
*arg4
= (byte
*) 0 ;
9631 byte arg5
= (byte
) 0 ;
9632 byte arg6
= (byte
) 0 ;
9633 byte arg7
= (byte
) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 PyObject
* obj3
= 0 ;
9646 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9649 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9650 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9651 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9678 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9679 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9680 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9681 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9682 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9689 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxImage
*arg1
= (wxImage
*) 0 ;
9692 byte arg2
= (byte
) 128 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9697 (char *) "self",(char *) "threshold", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxImage
*arg1
= (wxImage
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 PyObject
* obj2
= 0 ;
9734 PyObject
* obj3
= 0 ;
9735 PyObject
* obj4
= 0 ;
9737 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9747 PyErr_SetString(PyExc_TypeError
,"null reference");
9750 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9752 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9754 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxString
*arg1
= 0 ;
9776 bool temp1
= false ;
9777 PyObject
* obj0
= 0 ;
9779 (char *) "name", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9784 arg1
= wxString_in_helper(obj0
);
9785 if (arg1
== NULL
) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9812 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxString
*arg1
= 0 ;
9815 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9817 bool temp1
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9821 (char *) "name",(char *) "type", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 arg1
= wxString_in_helper(obj0
);
9827 if (arg1
== NULL
) SWIG_fail
;
9831 arg2
= (long)SWIG_As_long(obj1
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_From_int((int)result
);
9856 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxImage
*arg1
= (wxImage
*) 0 ;
9859 wxString
*arg2
= 0 ;
9860 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9861 int arg4
= (int) -1 ;
9863 bool temp2
= false ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9866 PyObject
* obj2
= 0 ;
9867 PyObject
* obj3
= 0 ;
9869 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 arg2
= wxString_in_helper(obj1
);
9877 if (arg2
== NULL
) SWIG_fail
;
9881 arg3
= (long)SWIG_As_long(obj2
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 arg4
= (int)SWIG_As_int(obj3
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxImage
*arg1
= (wxImage
*) 0 ;
9915 wxString
*arg2
= 0 ;
9916 wxString
*arg3
= 0 ;
9917 int arg4
= (int) -1 ;
9919 bool temp2
= false ;
9920 bool temp3
= false ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 PyObject
* obj2
= 0 ;
9924 PyObject
* obj3
= 0 ;
9926 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 arg2
= wxString_in_helper(obj1
);
9934 if (arg2
== NULL
) SWIG_fail
;
9938 arg3
= wxString_in_helper(obj2
);
9939 if (arg3
== NULL
) SWIG_fail
;
9943 arg4
= (int)SWIG_As_int(obj3
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxImage
*arg1
= (wxImage
*) 0 ;
9981 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9987 PyObject
* obj2
= 0 ;
9989 (char *) "self",(char *) "name",(char *) "type", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 arg2
= wxString_in_helper(obj1
);
9997 if (arg2
== NULL
) SWIG_fail
;
10000 arg3
= (int)SWIG_As_int(obj2
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxImage
*arg1
= (wxImage
*) 0 ;
10029 wxString
*arg2
= 0 ;
10030 wxString
*arg3
= 0 ;
10032 bool temp2
= false ;
10033 bool temp3
= false ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 arg2
= wxString_in_helper(obj1
);
10046 if (arg2
== NULL
) SWIG_fail
;
10050 arg3
= wxString_in_helper(obj2
);
10051 if (arg3
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10086 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxInputStream
*arg1
= 0 ;
10090 wxPyInputStream
*temp1
;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "stream", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10099 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10100 arg1
= temp1
->m_wxis
;
10103 PyErr_Clear(); // clear the failure of the wxPyConvert above
10104 arg1
= wxPyCBInputStream_create(obj0
, false);
10105 if (arg1
== NULL
) {
10106 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (bool)wxImage::CanRead(*arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10136 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxImage
*arg1
= (wxImage
*) 0 ;
10139 wxInputStream
*arg2
= 0 ;
10140 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10141 int arg4
= (int) -1 ;
10143 wxPyInputStream
*temp2
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 PyObject
* obj3
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10158 arg2
= temp2
->m_wxis
;
10161 PyErr_Clear(); // clear the failure of the wxPyConvert above
10162 arg2
= wxPyCBInputStream_create(obj1
, false);
10163 if (arg2
== NULL
) {
10164 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10171 arg3
= (long)SWIG_As_long(obj2
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 arg4
= (int)SWIG_As_int(obj3
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10202 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxImage
*arg1
= (wxImage
*) 0 ;
10205 wxInputStream
*arg2
= 0 ;
10206 wxString
*arg3
= 0 ;
10207 int arg4
= (int) -1 ;
10209 wxPyInputStream
*temp2
;
10211 bool temp3
= false ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10225 arg2
= temp2
->m_wxis
;
10228 PyErr_Clear(); // clear the failure of the wxPyConvert above
10229 arg2
= wxPyCBInputStream_create(obj1
, false);
10230 if (arg2
== NULL
) {
10231 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10238 arg3
= wxString_in_helper(obj2
);
10239 if (arg3
== NULL
) SWIG_fail
;
10243 arg4
= (int)SWIG_As_int(obj3
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxImage
*arg1
= (wxImage
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)(arg1
)->Ok();
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)(arg1
)->GetWidth();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_From_int((int)result
);
10332 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxImage
*arg1
= (wxImage
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)(arg1
)->GetHeight();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_int((int)result
);
10358 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxImage
*arg1
= (wxImage
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= wxImage_GetSize(arg1
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 wxSize
* resultptr
;
10379 resultptr
= new wxSize((wxSize
&) result
);
10380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10388 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10392 SwigValueWrapper
< wxImage
> result
;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "rect", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 wxImage
* resultptr
;
10416 resultptr
= new wxImage((wxImage
&) result
);
10417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10425 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 SwigValueWrapper
< wxImage
> result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (arg1
)->Copy();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10445 wxImage
* resultptr
;
10446 resultptr
= new wxImage((wxImage
&) result
);
10447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10455 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxImage
*arg1
= (wxImage
*) 0 ;
10458 wxImage
*arg2
= 0 ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 PyObject
* obj3
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10475 if (arg2
== NULL
) {
10476 PyErr_SetString(PyExc_TypeError
,"null reference");
10479 arg3
= (int)SWIG_As_int(obj2
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10481 arg4
= (int)SWIG_As_int(obj3
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxImage
*arg1
= (wxImage
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (PyObject
*)wxImage_GetData(arg1
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= result
;
10523 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxImage
*arg1
= (wxImage
*) 0 ;
10526 PyObject
*arg2
= (PyObject
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "data", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxImage_SetData(arg1
,arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxImage
*arg1
= (wxImage
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
;
10577 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxImage
*arg1
= (wxImage
*) 0 ;
10580 PyObject
*arg2
= (PyObject
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "data", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxImage_SetDataBuffer(arg1
,arg2
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxImage
*arg1
= (wxImage
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
;
10631 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxImage
*arg1
= (wxImage
*) 0 ;
10634 PyObject
*arg2
= (PyObject
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "data", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 wxImage_SetAlphaData(arg1
,arg2
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 Py_INCREF(Py_None
); resultobj
= Py_None
;
10659 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxImage
*arg1
= (wxImage
*) 0 ;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= result
;
10685 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImage
*arg1
= (wxImage
*) 0 ;
10688 PyObject
*arg2
= (PyObject
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "data", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 wxImage_SetAlphaBuffer(arg1
,arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxImage
*arg1
= (wxImage
*) 0 ;
10716 unsigned char arg2
;
10717 unsigned char arg3
;
10718 unsigned char arg4
;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10734 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxImage
*arg1
= (wxImage
*) 0 ;
10753 unsigned char result
;
10754 PyObject
* obj0
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (unsigned char)(arg1
)->GetMaskRed();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10776 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxImage
*arg1
= (wxImage
*) 0 ;
10779 unsigned char result
;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (unsigned char)(arg1
)->GetMaskGreen();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10802 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxImage
*arg1
= (wxImage
*) 0 ;
10805 unsigned char result
;
10806 PyObject
* obj0
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (unsigned char)(arg1
)->GetMaskBlue();
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10828 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxImage
*arg1
= (wxImage
*) 0 ;
10831 bool arg2
= (bool) true ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "mask", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 arg2
= (bool)SWIG_As_bool(obj1
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetMask(arg2
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxImage
*arg1
= (wxImage
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)(arg1
)->HasMask();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxImage
*arg1
= (wxImage
*) 0 ;
10891 wxPoint
*arg3
= 0 ;
10892 bool arg4
= (bool) true ;
10893 wxPoint
*arg5
= (wxPoint
*) NULL
;
10894 SwigValueWrapper
< wxImage
> result
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 PyObject
* obj3
= 0 ;
10900 PyObject
* obj4
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (double)SWIG_As_double(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10915 arg4
= (bool)SWIG_As_bool(obj3
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 wxImage
* resultptr
;
10931 resultptr
= new wxImage((wxImage
&) result
);
10932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10940 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxImage
*arg1
= (wxImage
*) 0 ;
10943 bool arg2
= (bool) true ;
10944 SwigValueWrapper
< wxImage
> result
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "clockwise", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 arg2
= (bool)SWIG_As_bool(obj1
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (arg1
)->Rotate90(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 wxImage
* resultptr
;
10967 resultptr
= new wxImage((wxImage
&) result
);
10968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10976 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxImage
*arg1
= (wxImage
*) 0 ;
10979 bool arg2
= (bool) true ;
10980 SwigValueWrapper
< wxImage
> result
;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "horizontally", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg2
= (bool)SWIG_As_bool(obj1
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (arg1
)->Mirror(arg2
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 wxImage
* resultptr
;
11003 resultptr
= new wxImage((wxImage
&) result
);
11004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11012 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11015 unsigned char arg2
;
11016 unsigned char arg3
;
11017 unsigned char arg4
;
11018 unsigned char arg5
;
11019 unsigned char arg6
;
11020 unsigned char arg7
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 PyObject
* obj5
= 0 ;
11027 PyObject
* obj6
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11037 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11039 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11043 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11045 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxImage
*arg1
= (wxImage
*) 0 ;
11064 unsigned char arg2
;
11065 unsigned char arg3
;
11066 unsigned char arg4
;
11067 SwigValueWrapper
< wxImage
> result
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 PyObject
* obj3
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11081 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 wxImage
* resultptr
;
11094 resultptr
= new wxImage((wxImage
&) result
);
11095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11103 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxString
*arg2
= 0 ;
11107 wxString
*arg3
= 0 ;
11108 bool temp2
= false ;
11109 bool temp3
= false ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "name",(char *) "value", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 arg2
= wxString_in_helper(obj1
);
11122 if (arg2
== NULL
) SWIG_fail
;
11126 arg3
= wxString_in_helper(obj2
);
11127 if (arg3
== NULL
) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxImage
*arg1
= (wxImage
*) 0 ;
11163 wxString
*arg2
= 0 ;
11165 bool temp2
= false ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 PyObject
* obj2
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self",(char *) "name",(char *) "value", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= wxString_in_helper(obj1
);
11178 if (arg2
== NULL
) SWIG_fail
;
11181 arg3
= (int)SWIG_As_int(obj2
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxImage
*arg1
= (wxImage
*) 0 ;
11208 wxString
*arg2
= 0 ;
11210 bool temp2
= false ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "name", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 arg2
= wxString_in_helper(obj1
);
11222 if (arg2
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11253 static PyObject
*_wrap_Image_GetOptionInt(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_GetOptionInt",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
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int((int)result
);
11295 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxImage
*arg1
= (wxImage
*) 0 ;
11298 wxString
*arg2
= 0 ;
11300 bool temp2
= false ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "name", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 arg2
= wxString_in_helper(obj1
);
11312 if (arg2
== NULL
) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxImage
*arg1
= (wxImage
*) 0 ;
11342 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11343 unsigned long result
;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "stopafter", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11354 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11371 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxImage
*arg1
= (wxImage
*) 0 ;
11374 wxImageHistogram
*arg2
= 0 ;
11375 unsigned long result
;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self",(char *) "h", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11388 if (arg2
== NULL
) {
11389 PyErr_SetString(PyExc_TypeError
,"null reference");
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11406 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11409 PyObject
* obj0
= 0 ;
11410 char *kwnames
[] = {
11411 (char *) "handler", NULL
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 wxImage::AddHandler(arg1
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 Py_INCREF(Py_None
); resultobj
= Py_None
;
11431 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "handler", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 wxImage::InsertHandler(arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxString
*arg1
= 0 ;
11460 bool temp1
= false ;
11461 PyObject
* obj0
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "name", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11468 arg1
= wxString_in_helper(obj0
);
11469 if (arg1
== NULL
) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11499 char *kwnames
[] = {
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= wxImage::GetImageExtWildcard();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11524 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxImage
*arg1
= (wxImage
*) 0 ;
11527 int arg2
= (int) -1 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self",(char *) "depth", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 arg2
= (int)SWIG_As_int(obj1
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 if (!wxPyCheckForApp()) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 wxBitmap
* resultptr
;
11552 resultptr
= new wxBitmap((wxBitmap
&) result
);
11553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11561 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxImage
*arg1
= (wxImage
*) 0 ;
11564 unsigned char arg2
;
11565 unsigned char arg3
;
11566 unsigned char arg4
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 PyObject
* obj3
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11583 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 if (!wxPyCheckForApp()) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 wxBitmap
* resultptr
;
11595 resultptr
= new wxBitmap((wxBitmap
&) result
);
11596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11604 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11607 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11609 return Py_BuildValue((char *)"");
11611 static int _wrap_NullImage_set(PyObject
*) {
11612 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11617 static PyObject
*_wrap_NullImage_get() {
11620 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11625 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11626 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11631 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11636 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11638 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11645 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11646 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11651 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11656 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11658 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11665 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11666 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11671 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11676 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11678 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11685 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11686 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11691 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11696 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11698 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11705 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11706 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11711 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11716 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11718 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11725 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxBMPHandler
*result
;
11728 char *kwnames
[] = {
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxBMPHandler
*)new wxBMPHandler();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11747 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11750 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11752 return Py_BuildValue((char *)"");
11754 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxICOHandler
*result
;
11757 char *kwnames
[] = {
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (wxICOHandler
*)new wxICOHandler();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11776 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxCURHandler
*result
;
11786 char *kwnames
[] = {
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxCURHandler
*)new wxCURHandler();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11805 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11810 return Py_BuildValue((char *)"");
11812 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxANIHandler
*result
;
11815 char *kwnames
[] = {
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxANIHandler
*)new wxANIHandler();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11834 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11837 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11839 return Py_BuildValue((char *)"");
11841 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxPNGHandler
*result
;
11844 char *kwnames
[] = {
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (wxPNGHandler
*)new wxPNGHandler();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11863 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11866 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11868 return Py_BuildValue((char *)"");
11870 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxGIFHandler
*result
;
11873 char *kwnames
[] = {
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxGIFHandler
*)new wxGIFHandler();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11892 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11895 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11897 return Py_BuildValue((char *)"");
11899 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxPCXHandler
*result
;
11902 char *kwnames
[] = {
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (wxPCXHandler
*)new wxPCXHandler();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11921 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11926 return Py_BuildValue((char *)"");
11928 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxJPEGHandler
*result
;
11931 char *kwnames
[] = {
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11950 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11953 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11955 return Py_BuildValue((char *)"");
11957 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxPNMHandler
*result
;
11960 char *kwnames
[] = {
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (wxPNMHandler
*)new wxPNMHandler();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11979 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11982 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11984 return Py_BuildValue((char *)"");
11986 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxXPMHandler
*result
;
11989 char *kwnames
[] = {
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (wxXPMHandler
*)new wxXPMHandler();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12008 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12011 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12013 return Py_BuildValue((char *)"");
12015 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxTIFFHandler
*result
;
12018 char *kwnames
[] = {
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12037 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12040 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12042 return Py_BuildValue((char *)"");
12044 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxImage
*arg1
= 0 ;
12047 wxImage
*arg2
= 0 ;
12048 int arg3
= (int) 236 ;
12049 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 PyObject
* obj2
= 0 ;
12054 PyObject
* obj3
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12063 if (arg1
== NULL
) {
12064 PyErr_SetString(PyExc_TypeError
,"null reference");
12067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12070 if (arg2
== NULL
) {
12071 PyErr_SetString(PyExc_TypeError
,"null reference");
12075 arg3
= (int)SWIG_As_int(obj2
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12079 arg4
= (int)SWIG_As_int(obj3
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12098 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12101 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12103 return Py_BuildValue((char *)"");
12105 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxEvtHandler
*result
;
12108 char *kwnames
[] = {
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxEvtHandler
*)new wxEvtHandler();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12127 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12130 wxEvtHandler
*result
;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= wxPyMake_wxObject(result
, 0);
12155 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12158 wxEvtHandler
*result
;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= wxPyMake_wxObject(result
, 0);
12183 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12186 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "handler", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->SetNextHandler(arg2
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12215 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self",(char *) "handler", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetPreviousHandler(arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "enabled", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 arg2
= (bool)SWIG_As_bool(obj1
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetEvtHandlerEnabled(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 Py_INCREF(Py_None
); resultobj
= Py_None
;
12298 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12301 wxEvent
*arg2
= 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "event", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12315 if (arg2
== NULL
) {
12316 PyErr_SetString(PyExc_TypeError
,"null reference");
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12335 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12338 wxEvent
*arg2
= 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self",(char *) "event", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12351 if (arg2
== NULL
) {
12352 PyErr_SetString(PyExc_TypeError
,"null reference");
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->AddPendingEvent(*arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12369 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->ProcessPendingEvents();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12400 PyObject
*arg5
= (PyObject
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 PyObject
* obj1
= 0 ;
12403 PyObject
* obj2
= 0 ;
12404 PyObject
* obj3
= 0 ;
12405 PyObject
* obj4
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= (int)SWIG_As_int(obj1
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12415 arg3
= (int)SWIG_As_int(obj2
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12417 arg4
= (int)SWIG_As_int(obj3
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 Py_INCREF(Py_None
); resultobj
= Py_None
;
12434 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12438 int arg3
= (int) -1 ;
12439 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 arg2
= (int)SWIG_As_int(obj1
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 arg3
= (int)SWIG_As_int(obj2
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12459 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12478 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12481 PyObject
*arg2
= (PyObject
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self",(char *) "_self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 wxEvtHandler__setOORInfo(arg1
,arg2
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12506 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12509 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12511 return Py_BuildValue((char *)"");
12513 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxEventType result
;
12516 char *kwnames
[] = {
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (wxEventType
)wxNewEventType();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_From_int((int)result
);
12535 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxEvent
*arg1
= (wxEvent
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxEvent
*arg1
= (wxEvent
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "typ", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 (arg1
)->SetEventType(arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 Py_INCREF(Py_None
); resultobj
= Py_None
;
12589 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxEvent
*arg1
= (wxEvent
*) 0 ;
12592 wxEventType result
;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int((int)result
);
12615 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxEvent
*arg1
= (wxEvent
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= wxPyMake_wxObject(result
, 0);
12643 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxEvent
*arg1
= (wxEvent
*) 0 ;
12646 wxObject
*arg2
= (wxObject
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "obj", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->SetEventObject(arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxEvent
*arg1
= (wxEvent
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_From_long((long)result
);
12698 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxEvent
*arg1
= (wxEvent
*) 0 ;
12701 long arg2
= (long) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self",(char *) "ts", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 arg2
= (long)SWIG_As_long(obj1
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetTimestamp(arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxEvent
*arg1
= (wxEvent
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (int)((wxEvent
const *)arg1
)->GetId();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_From_int((int)result
);
12755 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxEvent
*arg1
= (wxEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "Id", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 arg2
= (int)SWIG_As_int(obj1
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetId(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxEvent
*arg1
= (wxEvent
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxEvent
*arg1
= (wxEvent
*) 0 ;
12815 bool arg2
= (bool) true ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self",(char *) "skip", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 arg2
= (bool)SWIG_As_bool(obj1
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->Skip(arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxEvent
*arg1
= (wxEvent
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12871 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxEvent
*arg1
= (wxEvent
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12899 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxEvent
*arg1
= (wxEvent
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (int)(arg1
)->StopPropagation();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_From_int((int)result
);
12925 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxEvent
*arg1
= (wxEvent
*) 0 ;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "propagationLevel", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12938 arg2
= (int)SWIG_As_int(obj1
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->ResumePropagation(arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxEvent
*arg1
= (wxEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (wxEvent
*)(arg1
)->Clone();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12980 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12983 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12985 return Py_BuildValue((char *)"");
12987 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxEvent
*arg1
= 0 ;
12990 wxPropagationDisabler
*result
;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "event", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13000 if (arg1
== NULL
) {
13001 PyErr_SetString(PyExc_TypeError
,"null reference");
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13018 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13046 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13048 return Py_BuildValue((char *)"");
13050 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxEvent
*arg1
= 0 ;
13053 wxPropagateOnce
*result
;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "event", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13063 if (arg1
== NULL
) {
13064 PyErr_SetString(PyExc_TypeError
,"null reference");
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13081 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13116 int arg2
= (int) 0 ;
13117 wxCommandEvent
*result
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "commandType",(char *) "winid", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 arg2
= (int)SWIG_As_int(obj1
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13147 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_int((int)result
);
13173 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13176 wxString
*arg2
= 0 ;
13177 bool temp2
= false ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "s", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= wxString_in_helper(obj1
);
13189 if (arg2
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->SetString((wxString
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13246 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13274 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "extraLong", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (long)SWIG_As_long(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 (arg1
)->SetExtraLong(arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_From_long((long)result
);
13357 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "i", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= (int)SWIG_As_int(obj1
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->SetInt(arg2
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_From_long((long)result
);
13412 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13438 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13441 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13443 return Py_BuildValue((char *)"");
13445 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13448 int arg2
= (int) 0 ;
13449 wxNotifyEvent
*result
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "commandType",(char *) "winid", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13458 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13462 arg2
= (int)SWIG_As_int(obj1
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13479 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 Py_INCREF(Py_None
); resultobj
= Py_None
;
13529 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (bool)(arg1
)->IsAllowed();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13562 return Py_BuildValue((char *)"");
13564 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13567 int arg2
= (int) 0 ;
13568 int arg3
= (int) 0 ;
13569 int arg4
= (int) 0 ;
13570 wxScrollEvent
*result
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 PyObject
* obj2
= 0 ;
13574 PyObject
* obj3
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13581 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 arg2
= (int)SWIG_As_int(obj1
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13589 arg3
= (int)SWIG_As_int(obj2
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 arg4
= (int)SWIG_As_int(obj3
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13610 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_From_int((int)result
);
13636 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_From_int((int)result
);
13662 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "orient", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 arg2
= (int)SWIG_As_int(obj1
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetOrientation(arg2
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 Py_INCREF(Py_None
); resultobj
= Py_None
;
13691 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "self",(char *) "pos", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 arg2
= (int)SWIG_As_int(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->SetPosition(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 Py_INCREF(Py_None
); resultobj
= Py_None
;
13720 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13725 return Py_BuildValue((char *)"");
13727 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13730 int arg2
= (int) 0 ;
13731 int arg3
= (int) 0 ;
13732 wxScrollWinEvent
*result
;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 PyObject
* obj2
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13742 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 arg2
= (int)SWIG_As_int(obj1
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 arg3
= (int)SWIG_As_int(obj2
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13767 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_int((int)result
);
13793 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_From_int((int)result
);
13819 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "orient", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 arg2
= (int)SWIG_As_int(obj1
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SetOrientation(arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "pos", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (int)SWIG_As_int(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->SetPosition(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13880 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13882 return Py_BuildValue((char *)"");
13884 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13887 wxMouseEvent
*result
;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "mouseType", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13895 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= wxPyMake_wxObject(result
, 1);
13914 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13945 int arg2
= (int) wxMOUSE_BTN_ANY
;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "but", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 arg2
= (int)SWIG_As_int(obj1
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13979 int arg2
= (int) wxMOUSE_BTN_ANY
;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "but", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 arg2
= (int)SWIG_As_int(obj1
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14010 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14013 int arg2
= (int) wxMOUSE_BTN_ANY
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self",(char *) "but", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int)SWIG_As_int(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14044 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
;
14046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "but", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 arg2
= (int)SWIG_As_int(obj1
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14076 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self",(char *) "but", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 arg2
= (int)SWIG_As_int(obj1
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_From_int((int)result
);
14134 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14274 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14358 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14442 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14470 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->LeftIsDown();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)(arg1
)->MiddleIsDown();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->RightIsDown();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14638 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14722 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (arg1
)->GetPosition();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 wxPoint
* resultptr
;
14743 resultptr
= new wxPoint((wxPoint
&) result
);
14744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14752 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14755 long *arg2
= (long *) 0 ;
14756 long *arg3
= (long *) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14767 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->GetPosition(arg2
,arg3
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14780 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14782 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14789 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "dc", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14806 if (arg2
== NULL
) {
14807 PyErr_SetString(PyExc_TypeError
,"null reference");
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 wxPoint
* resultptr
;
14819 resultptr
= new wxPoint((wxPoint
&) result
);
14820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14828 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_From_int((int)result
);
14854 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_int((int)result
);
14880 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_From_int((int)result
);
14906 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_From_int((int)result
);
14932 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_From_int((int)result
);
14958 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14986 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "m_x", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 arg2
= (int)SWIG_As_int(obj1
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15001 if (arg1
) (arg1
)->m_x
= arg2
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 result
= (int) ((arg1
)->m_x
);
15024 resultobj
= SWIG_From_int((int)result
);
15031 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "m_y", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= (int)SWIG_As_int(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15046 if (arg1
) (arg1
)->m_y
= arg2
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 result
= (int) ((arg1
)->m_y
);
15069 resultobj
= SWIG_From_int((int)result
);
15076 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self",(char *) "m_leftDown", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 arg2
= (bool)SWIG_As_bool(obj1
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15091 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15093 Py_INCREF(Py_None
); resultobj
= Py_None
;
15100 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 result
= (bool) ((arg1
)->m_leftDown
);
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self",(char *) "m_middleDown", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 arg2
= (bool)SWIG_As_bool(obj1
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15138 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 result
= (bool) ((arg1
)->m_middleDown
);
15162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self",(char *) "m_rightDown", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 arg2
= (bool)SWIG_As_bool(obj1
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15185 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15187 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 result
= (bool) ((arg1
)->m_rightDown
);
15209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15217 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "m_controlDown", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 arg2
= (bool)SWIG_As_bool(obj1
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15232 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 result
= (bool) ((arg1
)->m_controlDown
);
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15264 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "m_shiftDown", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= (bool)SWIG_As_bool(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15279 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 result
= (bool) ((arg1
)->m_shiftDown
);
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "m_altDown", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 arg2
= (bool)SWIG_As_bool(obj1
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15326 if (arg1
) (arg1
)->m_altDown
= arg2
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 result
= (bool) ((arg1
)->m_altDown
);
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15358 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self",(char *) "m_metaDown", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15371 arg2
= (bool)SWIG_As_bool(obj1
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15373 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 result
= (bool) ((arg1
)->m_metaDown
);
15397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15405 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "m_wheelRotation", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= (int)SWIG_As_int(obj1
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15420 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 result
= (int) ((arg1
)->m_wheelRotation
);
15443 resultobj
= SWIG_From_int((int)result
);
15450 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "m_wheelDelta", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 arg2
= (int)SWIG_As_int(obj1
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15465 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 result
= (int) ((arg1
)->m_wheelDelta
);
15488 resultobj
= SWIG_From_int((int)result
);
15495 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self",(char *) "m_linesPerAction", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= (int)SWIG_As_int(obj1
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15510 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15512 Py_INCREF(Py_None
); resultobj
= Py_None
;
15519 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 result
= (int) ((arg1
)->m_linesPerAction
);
15533 resultobj
= SWIG_From_int((int)result
);
15540 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15543 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15545 return Py_BuildValue((char *)"");
15547 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 int arg1
= (int) 0 ;
15550 int arg2
= (int) 0 ;
15551 wxSetCursorEvent
*result
;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "x",(char *) "y", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 arg1
= (int)SWIG_As_int(obj0
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 arg2
= (int)SWIG_As_int(obj1
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15581 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_From_int((int)result
);
15607 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_From_int((int)result
);
15633 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15636 wxCursor
*arg2
= 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "cursor", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15649 if (arg2
== NULL
) {
15650 PyErr_SetString(PyExc_TypeError
,"null reference");
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15683 result
= (wxCursor
*) &_result_ref
;
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 wxCursor
* resultptr
= new wxCursor(*result
);
15691 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15699 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15727 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15730 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15732 return Py_BuildValue((char *)"");
15734 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15737 wxKeyEvent
*result
;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "keyType", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15745 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15762 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_From_int((int)result
);
15956 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_From_int((int)result
);
15982 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15985 unsigned int result
;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16008 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16011 unsigned int result
;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16034 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (arg1
)->GetPosition();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 wxPoint
* resultptr
;
16055 resultptr
= new wxPoint((wxPoint
&) result
);
16056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16064 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16067 long *arg2
= (long *) 0 ;
16068 long *arg3
= (long *) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16079 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 (arg1
)->GetPosition(arg2
,arg3
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16092 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16093 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16094 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16101 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_From_int((int)result
);
16127 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_From_int((int)result
);
16153 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "m_x", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 arg2
= (int)SWIG_As_int(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16168 if (arg1
) (arg1
)->m_x
= arg2
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 result
= (int) ((arg1
)->m_x
);
16191 resultobj
= SWIG_From_int((int)result
);
16198 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "m_y", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 arg2
= (int)SWIG_As_int(obj1
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 if (arg1
) (arg1
)->m_y
= arg2
;
16215 Py_INCREF(Py_None
); resultobj
= Py_None
;
16222 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 result
= (int) ((arg1
)->m_y
);
16236 resultobj
= SWIG_From_int((int)result
);
16243 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "m_keyCode", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (long)SWIG_As_long(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16260 Py_INCREF(Py_None
); resultobj
= Py_None
;
16267 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 result
= (long) ((arg1
)->m_keyCode
);
16281 resultobj
= SWIG_From_long((long)result
);
16288 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "m_controlDown", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 arg2
= (bool)SWIG_As_bool(obj1
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16303 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 result
= (bool) ((arg1
)->m_controlDown
);
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "m_shiftDown", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 arg2
= (bool)SWIG_As_bool(obj1
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16350 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 result
= (bool) ((arg1
)->m_shiftDown
);
16374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "m_altDown", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 arg2
= (bool)SWIG_As_bool(obj1
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16397 if (arg1
) (arg1
)->m_altDown
= arg2
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 result
= (bool) ((arg1
)->m_altDown
);
16421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16429 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "m_metaDown", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 arg2
= (bool)SWIG_As_bool(obj1
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16444 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 result
= (bool) ((arg1
)->m_metaDown
);
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "m_scanCode", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 arg2
= (bool)SWIG_As_bool(obj1
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16491 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 result
= (bool) ((arg1
)->m_scanCode
);
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16523 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16526 unsigned int arg2
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "m_rawCode", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16550 unsigned int result
;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 result
= (unsigned int) ((arg1
)->m_rawCode
);
16561 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16568 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16571 unsigned int arg2
;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "m_rawFlags", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16583 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16595 unsigned int result
;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16606 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16613 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16618 return Py_BuildValue((char *)"");
16620 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16623 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16624 int arg2
= (int) 0 ;
16625 wxSizeEvent
*result
;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "sz",(char *) "winid", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16641 arg2
= (int)SWIG_As_int(obj1
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16658 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 wxSize
* resultptr
;
16679 resultptr
= new wxSize((wxSize
&) result
);
16680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16688 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 wxRect
* resultptr
;
16709 resultptr
= new wxRect((wxRect
&) result
);
16710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16718 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "rect", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16733 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 (arg1
)->SetRect(arg2
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "size", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16764 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 wxSizeEvent_SetSize(arg1
,arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16783 wxSize
*arg2
= (wxSize
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "m_size", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if (arg1
) (arg1
)->m_size
= *arg2
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 result
= (wxSize
*)& ((arg1
)->m_size
);
16818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16825 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16828 wxRect
*arg2
= (wxRect
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "m_rect", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 if (arg1
) (arg1
)->m_rect
= *arg2
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 result
= (wxRect
*)& ((arg1
)->m_rect
);
16863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16870 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16880 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16881 int arg2
= (int) 0 ;
16882 wxMoveEvent
*result
;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "pos",(char *) "winid", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16898 arg2
= (int)SWIG_As_int(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16915 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 wxPoint
* resultptr
;
16936 resultptr
= new wxPoint((wxPoint
&) result
);
16937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16945 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 wxRect
* resultptr
;
16966 resultptr
= new wxRect((wxRect
&) result
);
16967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16975 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "rect", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16990 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->SetRect(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "pos", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17021 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 wxMoveEvent_SetPosition(arg1
,arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17040 wxPoint
*arg2
= (wxPoint
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "m_pos", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if (arg1
) (arg1
)->m_pos
= *arg2
;
17054 Py_INCREF(Py_None
); resultobj
= Py_None
;
17061 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17065 PyObject
* obj0
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17082 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17085 wxRect
*arg2
= (wxRect
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "m_rect", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 if (arg1
) (arg1
)->m_rect
= *arg2
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17118 result
= (wxRect
*)& ((arg1
)->m_rect
);
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17127 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17130 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17132 return Py_BuildValue((char *)"");
17134 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 int arg1
= (int) 0 ;
17137 wxPaintEvent
*result
;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "Id", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17145 arg1
= (int)SWIG_As_int(obj0
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17162 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17165 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17167 return Py_BuildValue((char *)"");
17169 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 int arg1
= (int) 0 ;
17172 wxNcPaintEvent
*result
;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "winid", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17180 arg1
= (int)SWIG_As_int(obj0
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17197 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17200 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17202 return Py_BuildValue((char *)"");
17204 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 int arg1
= (int) 0 ;
17207 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17208 wxEraseEvent
*result
;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "Id",(char *) "dc", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17217 arg1
= (int)SWIG_As_int(obj0
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17238 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= wxPyMake_wxObject(result
, 0);
17266 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17269 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17271 return Py_BuildValue((char *)"");
17273 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17276 int arg2
= (int) 0 ;
17277 wxFocusEvent
*result
;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "type",(char *) "winid", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 arg2
= (int)SWIG_As_int(obj1
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17307 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
, 0);
17335 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17338 wxWindow
*arg2
= (wxWindow
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "win", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->SetWindow(arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 Py_INCREF(Py_None
); resultobj
= Py_None
;
17364 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17367 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17369 return Py_BuildValue((char *)"");
17371 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxWindow
*arg1
= (wxWindow
*) NULL
;
17374 wxChildFocusEvent
*result
;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "win", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17399 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= wxPyMake_wxObject(result
, 0);
17427 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17430 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17432 return Py_BuildValue((char *)"");
17434 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17437 bool arg2
= (bool) true ;
17438 int arg3
= (int) 0 ;
17439 wxActivateEvent
*result
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "type",(char *) "active",(char *) "Id", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17449 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 arg2
= (bool)SWIG_As_bool(obj1
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 arg3
= (int)SWIG_As_int(obj2
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17474 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17507 return Py_BuildValue((char *)"");
17509 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 int arg1
= (int) 0 ;
17512 wxInitDialogEvent
*result
;
17513 PyObject
* obj0
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "Id", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17520 arg1
= (int)SWIG_As_int(obj0
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17537 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17540 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17542 return Py_BuildValue((char *)"");
17544 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17547 int arg2
= (int) 0 ;
17548 wxMenu
*arg3
= (wxMenu
*) NULL
;
17549 wxMenuEvent
*result
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "type",(char *) "winid",(char *) "menu", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17559 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 arg2
= (int)SWIG_As_int(obj1
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17584 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_From_int((int)result
);
17610 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17638 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= wxPyMake_wxObject(result
, 0);
17666 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17669 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17671 return Py_BuildValue((char *)"");
17673 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17676 int arg2
= (int) 0 ;
17677 wxCloseEvent
*result
;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "type",(char *) "winid", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 arg2
= (int)SWIG_As_int(obj1
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17707 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "logOff", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 arg2
= (bool)SWIG_As_bool(obj1
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->SetLoggingOff(arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17767 bool arg2
= (bool) true ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "veto", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 arg2
= (bool)SWIG_As_bool(obj1
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 (arg1
)->Veto(arg2
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 Py_INCREF(Py_None
); resultobj
= Py_None
;
17795 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "canVeto", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 arg2
= (bool)SWIG_As_bool(obj1
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->SetCanVeto(arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17852 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17880 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17883 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17885 return Py_BuildValue((char *)"");
17887 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 int arg1
= (int) 0 ;
17890 bool arg2
= (bool) false ;
17891 wxShowEvent
*result
;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "winid",(char *) "show", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 arg1
= (int)SWIG_As_int(obj0
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 arg2
= (bool)SWIG_As_bool(obj1
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17921 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "show", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 arg2
= (bool)SWIG_As_bool(obj1
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->SetShow(arg2
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17978 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17981 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17983 return Py_BuildValue((char *)"");
17985 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 int arg1
= (int) 0 ;
17988 bool arg2
= (bool) true ;
17989 wxIconizeEvent
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "id",(char *) "iconized", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17998 arg1
= (int)SWIG_As_int(obj0
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18002 arg2
= (bool)SWIG_As_bool(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18019 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)(arg1
)->Iconized();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18052 return Py_BuildValue((char *)"");
18054 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 int arg1
= (int) 0 ;
18057 wxMaximizeEvent
*result
;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "id", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18065 arg1
= (int)SWIG_As_int(obj0
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18082 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18085 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18087 return Py_BuildValue((char *)"");
18089 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (arg1
)->GetPosition();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 wxPoint
* resultptr
;
18110 resultptr
= new wxPoint((wxPoint
&) result
);
18111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18119 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)(arg1
)->GetNumberOfFiles();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_From_int((int)result
);
18145 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= result
;
18171 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18174 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18176 return Py_BuildValue((char *)"");
18178 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 int arg1
= (int) 0 ;
18181 wxUpdateUIEvent
*result
;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "commandId", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18189 arg1
= (int)SWIG_As_int(obj0
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18206 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18234 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18294 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18322 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18350 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "check", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 arg2
= (bool)SWIG_As_bool(obj1
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->Check(arg2
);
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 Py_INCREF(Py_None
); resultobj
= Py_None
;
18407 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "enable", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 arg2
= (bool)SWIG_As_bool(obj1
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->Enable(arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18439 wxString
*arg2
= 0 ;
18440 bool temp2
= false ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "text", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 arg2
= wxString_in_helper(obj1
);
18452 if (arg2
== NULL
) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetText((wxString
const &)*arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18477 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "updateInterval", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18486 arg1
= (long)SWIG_As_long(obj0
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18505 char *kwnames
[] = {
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_From_long((long)result
);
18524 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxWindow
*arg1
= (wxWindow
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "win", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18552 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 char *kwnames
[] = {
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 wxUpdateUIEvent::ResetUpdateTime();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "mode", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18582 arg1
= (int)SWIG_As_int(obj0
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 Py_INCREF(Py_None
); resultobj
= Py_None
;
18598 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18601 char *kwnames
[] = {
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)wxUpdateUIEvent::GetMode();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_From_int((int)result
);
18620 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18623 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18625 return Py_BuildValue((char *)"");
18627 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxSysColourChangedEvent
*result
;
18630 char *kwnames
[] = {
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18649 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18652 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18654 return Py_BuildValue((char *)"");
18656 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 int arg1
= (int) 0 ;
18659 wxWindow
*arg2
= (wxWindow
*) NULL
;
18660 wxMouseCaptureChangedEvent
*result
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "winid",(char *) "gainedCapture", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 arg1
= (int)SWIG_As_int(obj0
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18690 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= wxPyMake_wxObject(result
, 0);
18718 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18721 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18723 return Py_BuildValue((char *)"");
18725 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxDisplayChangedEvent
*result
;
18728 char *kwnames
[] = {
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18747 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18752 return Py_BuildValue((char *)"");
18754 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 int arg1
= (int) 0 ;
18757 wxPaletteChangedEvent
*result
;
18758 PyObject
* obj0
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "id", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18765 arg1
= (int)SWIG_As_int(obj0
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18782 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18785 wxWindow
*arg2
= (wxWindow
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "win", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 (arg1
)->SetChangedWindow(arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= wxPyMake_wxObject(result
, 0);
18839 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18842 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18844 return Py_BuildValue((char *)"");
18846 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 int arg1
= (int) 0 ;
18849 wxQueryNewPaletteEvent
*result
;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "winid", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18857 arg1
= (int)SWIG_As_int(obj0
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18874 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "realized", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 arg2
= (bool)SWIG_As_bool(obj1
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->SetPaletteRealized(arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18903 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18931 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18934 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18936 return Py_BuildValue((char *)"");
18938 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxNavigationKeyEvent
*result
;
18941 char *kwnames
[] = {
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18960 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18988 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "forward", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= (bool)SWIG_As_bool(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->SetDirection(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "ischange", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 arg2
= (bool)SWIG_As_bool(obj1
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetWindowChange(arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self",(char *) "flags", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 arg2
= (long)SWIG_As_long(obj1
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->SetFlags(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 Py_INCREF(Py_None
); resultobj
= Py_None
;
19103 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= wxPyMake_wxObject(result
, 0);
19131 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19134 wxWindow
*arg2
= (wxWindow
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "win", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->SetCurrentFocus(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19163 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19165 return Py_BuildValue((char *)"");
19167 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxWindow
*arg1
= (wxWindow
*) NULL
;
19170 wxWindowCreateEvent
*result
;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "win", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19195 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= wxPyMake_wxObject(result
, 0);
19223 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19226 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19228 return Py_BuildValue((char *)"");
19230 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxWindow
*arg1
= (wxWindow
*) NULL
;
19233 wxWindowDestroyEvent
*result
;
19234 PyObject
* obj0
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "win", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19258 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= wxPyMake_wxObject(result
, 0);
19286 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19289 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19291 return Py_BuildValue((char *)"");
19293 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19296 int arg2
= (int) 0 ;
19297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19299 wxContextMenuEvent
*result
;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 PyObject
* obj2
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "type",(char *) "winid",(char *) "pt", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19310 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 arg2
= (int)SWIG_As_int(obj1
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19337 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19353 result
= (wxPoint
*) &_result_ref
;
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19366 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19369 wxPoint
*arg2
= 0 ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self",(char *) "pos", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 Py_INCREF(Py_None
); resultobj
= Py_None
;
19398 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19401 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19403 return Py_BuildValue((char *)"");
19405 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxIdleEvent
*result
;
19408 char *kwnames
[] = {
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (wxIdleEvent
*)new wxIdleEvent();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19427 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19430 bool arg2
= (bool) true ;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "needMore", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= (bool)SWIG_As_bool(obj1
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 (arg1
)->RequestMore(arg2
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 Py_INCREF(Py_None
); resultobj
= Py_None
;
19458 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19486 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19489 PyObject
* obj0
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "mode", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19495 arg1
= (int)SWIG_As_int(obj0
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19514 char *kwnames
[] = {
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (int)wxIdleEvent::GetMode();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_From_int((int)result
);
19533 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxWindow
*arg1
= (wxWindow
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "win", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (bool)wxIdleEvent::CanSend(arg1
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19561 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19564 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19566 return Py_BuildValue((char *)"");
19568 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 int arg1
= (int) 0 ;
19571 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "winid",(char *) "commandType", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19581 arg1
= (int)SWIG_As_int(obj0
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19602 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19630 PyObject
*arg2
= (PyObject
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetSelf(arg2
);
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 Py_INCREF(Py_None
); resultobj
= Py_None
;
19655 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (PyObject
*)(arg1
)->GetSelf();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= result
;
19681 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19684 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19686 return Py_BuildValue((char *)"");
19688 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19691 int arg2
= (int) 0 ;
19692 wxPyCommandEvent
*result
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "commandType",(char *) "id", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19701 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 arg2
= (int)SWIG_As_int(obj1
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19722 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 Py_INCREF(Py_None
); resultobj
= Py_None
;
19747 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19750 PyObject
*arg2
= (PyObject
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self",(char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->SetSelf(arg2
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (PyObject
*)(arg1
)->GetSelf();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
;
19801 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19804 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19806 return Py_BuildValue((char *)"");
19808 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19811 char *kwnames
[] = {
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (wxPyApp
*)new_wxPyApp();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19830 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19858 PyObject
*arg2
= (PyObject
*) 0 ;
19859 PyObject
*arg3
= (PyObject
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 PyObject
* obj2
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self",(char *) "self",(char *) "_class", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19918 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19921 wxString
*arg2
= 0 ;
19922 bool temp2
= false ;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self",(char *) "name", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= wxString_in_helper(obj1
);
19934 if (arg2
== NULL
) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 (arg1
)->SetAppName((wxString
const &)*arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19991 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19994 wxString
*arg2
= 0 ;
19995 bool temp2
= false ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self",(char *) "name", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 arg2
= wxString_in_helper(obj1
);
20007 if (arg2
== NULL
) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 (arg1
)->SetClassName((wxString
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20048 result
= (wxString
*) &_result_ref
;
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20058 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20067 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20070 wxString
*arg2
= 0 ;
20071 bool temp2
= false ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "name", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 arg2
= wxString_in_helper(obj1
);
20083 if (arg2
== NULL
) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20111 wxAppTraits
*result
;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20134 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 (arg1
)->ProcessPendingEvents();
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 Py_INCREF(Py_None
); resultobj
= Py_None
;
20159 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20162 bool arg2
= (bool) false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self",(char *) "onlyIfNeeded", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (bool)SWIG_As_bool(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->Yield(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20193 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->WakeUpIdle();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20221 char *kwnames
[] = {
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (bool)wxPyApp::IsMainLoopRunning();
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20242 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (int)(arg1
)->MainLoop();
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_From_int((int)result
);
20268 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->ExitMainLoop();
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (bool)(arg1
)->Pending();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20346 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)(arg1
)->Dispatch();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20374 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (bool)(arg1
)->ProcessIdle();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20402 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20405 wxWindow
*arg2
= (wxWindow
*) 0 ;
20406 wxIdleEvent
*arg3
= 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 PyObject
* obj2
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "win",(char *) "event", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20423 if (arg3
== NULL
) {
20424 PyErr_SetString(PyExc_TypeError
,"null reference");
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20471 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20474 wxWindow
*arg2
= (wxWindow
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "win", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 (arg1
)->SetTopWindow(arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 Py_INCREF(Py_None
); resultobj
= Py_None
;
20500 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= wxPyMake_wxObject(result
, 0);
20528 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self",(char *) "flag", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 arg2
= (bool)SWIG_As_bool(obj1
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 (arg1
)->SetExitOnFrameDelete(arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 Py_INCREF(Py_None
); resultobj
= Py_None
;
20557 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20585 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "flag", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 arg2
= (bool)SWIG_As_bool(obj1
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetUseBestVisual(arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20642 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self",(char *) "mode", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 arg2
= (int)SWIG_As_int(obj1
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->SetPrintMode(arg2
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_From_int((int)result
);
20697 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "mode", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 arg2
= (int)SWIG_As_int(obj1
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 (arg1
)->SetAssertMode(arg2
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 Py_INCREF(Py_None
); resultobj
= Py_None
;
20726 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (int)(arg1
)->GetAssertMode();
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= SWIG_From_int((int)result
);
20752 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20755 char *kwnames
[] = {
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20776 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20779 char *kwnames
[] = {
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_From_long((long)result
);
20798 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20801 char *kwnames
[] = {
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_From_long((long)result
);
20820 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20823 char *kwnames
[] = {
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (long)wxPyApp::GetMacExitMenuItemId();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= SWIG_From_long((long)result
);
20842 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20845 char *kwnames
[] = {
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= wxPyApp::GetMacHelpMenuTitleName();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20870 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "val", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20879 arg1
= (bool)SWIG_As_bool(obj0
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 Py_INCREF(Py_None
); resultobj
= Py_None
;
20895 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "val", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20904 arg1
= (long)SWIG_As_long(obj0
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 wxPyApp::SetMacAboutMenuItemId(arg1
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 Py_INCREF(Py_None
); resultobj
= Py_None
;
20920 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "val", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20929 arg1
= (long)SWIG_As_long(obj0
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 Py_INCREF(Py_None
); resultobj
= Py_None
;
20945 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "val", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20954 arg1
= (long)SWIG_As_long(obj0
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 wxPyApp::SetMacExitMenuItemId(arg1
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 Py_INCREF(Py_None
); resultobj
= Py_None
;
20970 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxString
*arg1
= 0 ;
20973 bool temp1
= false ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "val", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20981 arg1
= wxString_in_helper(obj0
);
20982 if (arg1
== NULL
) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21007 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21010 PyObject
* obj0
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->_BootstrapApp();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 Py_INCREF(Py_None
); resultobj
= Py_None
;
21032 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21035 char *kwnames
[] = {
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (int)PyApp_GetComCtl32Version();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_From_int((int)result
);
21054 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21057 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21059 return Py_BuildValue((char *)"");
21061 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 char *kwnames
[] = {
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21085 char *kwnames
[] = {
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (bool)wxYield();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21106 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21109 char *kwnames
[] = {
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)wxYieldIfNeeded();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxWindow
*arg1
= (wxWindow
*) NULL
;
21133 bool arg2
= (bool) false ;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "win",(char *) "onlyIfNeeded", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 arg2
= (bool)SWIG_As_bool(obj1
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (bool)wxSafeYield(arg1
,arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 char *kwnames
[] = {
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 Py_INCREF(Py_None
); resultobj
= Py_None
;
21187 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21190 wxEvent
*arg2
= 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "dest",(char *) "event", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21203 if (arg2
== NULL
) {
21204 PyErr_SetString(PyExc_TypeError
,"null reference");
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 wxPostEvent(arg1
,*arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 Py_INCREF(Py_None
); resultobj
= Py_None
;
21221 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 char *kwnames
[] = {
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 Py_INCREF(Py_None
); resultobj
= Py_None
;
21242 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21245 char *kwnames
[] = {
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxPyApp
*)wxPyGetApp();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= wxPyMake_wxObject(result
, 0);
21266 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxEventLoop
*result
;
21269 char *kwnames
[] = {
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxEventLoop
*)new wxEventLoop();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21288 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (int)(arg1
)->Run();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_From_int((int)result
);
21339 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21342 int arg2
= (int) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "rc", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 arg2
= (int)SWIG_As_int(obj1
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 (arg1
)->Exit(arg2
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 Py_INCREF(Py_None
); resultobj
= Py_None
;
21370 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21398 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (bool)(arg1
)->Dispatch();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21426 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21454 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxEventLoop
*result
;
21457 char *kwnames
[] = {
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21476 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "loop", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 wxEventLoop::SetActive(arg1
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21504 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21506 return Py_BuildValue((char *)"");
21508 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 int arg1
= (int) 0 ;
21511 int arg2
= (int) 0 ;
21512 int arg3
= (int) 0 ;
21513 wxAcceleratorEntry
*result
;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 PyObject
* obj2
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21523 arg1
= (int)SWIG_As_int(obj0
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 arg2
= (int)SWIG_As_int(obj1
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 arg3
= (int)SWIG_As_int(obj2
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21548 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 PyObject
* obj1
= 0 ;
21581 PyObject
* obj2
= 0 ;
21582 PyObject
* obj3
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21590 arg2
= (int)SWIG_As_int(obj1
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21592 arg3
= (int)SWIG_As_int(obj2
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21594 arg4
= (int)SWIG_As_int(obj3
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->Set(arg2
,arg3
,arg4
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)(arg1
)->GetFlags();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_From_int((int)result
);
21636 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (int)(arg1
)->GetKeyCode();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_int((int)result
);
21662 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (int)(arg1
)->GetCommand();
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_From_int((int)result
);
21688 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21691 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21693 return Py_BuildValue((char *)"");
21695 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21698 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21699 wxAcceleratorTable
*result
;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21707 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21708 if (arg2
) arg1
= PyList_Size(obj0
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21731 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21787 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21789 return Py_BuildValue((char *)"");
21791 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21792 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21797 static PyObject
*_wrap_NullAcceleratorTable_get() {
21800 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21805 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxString
*arg1
= 0 ;
21808 wxAcceleratorEntry
*result
;
21809 bool temp1
= false ;
21810 PyObject
* obj0
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "label", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21817 arg1
= wxString_in_helper(obj0
);
21818 if (arg1
== NULL
) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21843 static int _wrap_PanelNameStr_set(PyObject
*) {
21844 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21849 static PyObject
*_wrap_PanelNameStr_get() {
21854 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21856 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21863 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxVisualAttributes
*result
;
21866 char *kwnames
[] = {
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21885 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 delete_wxVisualAttributes(arg1
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21913 wxFont
*arg2
= (wxFont
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "font", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 if (arg1
) (arg1
)->font
= *arg2
;
21927 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 result
= (wxFont
*)& ((arg1
)->font
);
21948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21955 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21958 wxColour
*arg2
= (wxColour
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "colFg", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21970 if (arg1
) (arg1
)->colFg
= *arg2
;
21972 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 result
= (wxColour
*)& ((arg1
)->colFg
);
21993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22000 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22003 wxColour
*arg2
= (wxColour
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "colBg", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22015 if (arg1
) (arg1
)->colBg
= *arg2
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 result
= (wxColour
*)& ((arg1
)->colBg
);
22038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22045 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22048 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22050 return Py_BuildValue((char *)"");
22052 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxWindow
*arg1
= (wxWindow
*) 0 ;
22055 int arg2
= (int) (int)-1 ;
22056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22060 long arg5
= (long) 0 ;
22061 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22062 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22066 bool temp6
= false ;
22067 PyObject
* obj0
= 0 ;
22068 PyObject
* obj1
= 0 ;
22069 PyObject
* obj2
= 0 ;
22070 PyObject
* obj3
= 0 ;
22071 PyObject
* obj4
= 0 ;
22072 PyObject
* obj5
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 arg2
= (int)SWIG_As_int(obj1
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22097 arg5
= (long)SWIG_As_long(obj4
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22102 arg6
= wxString_in_helper(obj5
);
22103 if (arg6
== NULL
) SWIG_fail
;
22108 if (!wxPyCheckForApp()) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22130 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22133 char *kwnames
[] = {
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22139 if (!wxPyCheckForApp()) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (wxWindow
*)new wxWindow();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22153 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxWindow
*arg1
= (wxWindow
*) 0 ;
22156 wxWindow
*arg2
= (wxWindow
*) 0 ;
22157 int arg3
= (int) (int)-1 ;
22158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22162 long arg6
= (long) 0 ;
22163 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22168 bool temp7
= false ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 PyObject
* obj2
= 0 ;
22172 PyObject
* obj3
= 0 ;
22173 PyObject
* obj4
= 0 ;
22174 PyObject
* obj5
= 0 ;
22175 PyObject
* obj6
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 arg3
= (int)SWIG_As_int(obj2
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22202 arg6
= (long)SWIG_As_long(obj5
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22207 arg7
= wxString_in_helper(obj6
);
22208 if (arg7
== NULL
) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22236 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxWindow
*arg1
= (wxWindow
*) 0 ;
22239 bool arg2
= (bool) false ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "force", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 arg2
= (bool)SWIG_As_bool(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)(arg1
)->Close(arg2
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxWindow
*arg1
= (wxWindow
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (bool)(arg1
)->Destroy();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22298 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxWindow
*arg1
= (wxWindow
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (bool)(arg1
)->DestroyChildren();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22326 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxWindow
*arg1
= (wxWindow
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22354 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 wxString
*arg2
= 0 ;
22358 bool temp2
= false ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "title", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= wxString_in_helper(obj1
);
22370 if (arg2
== NULL
) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->SetTitle((wxString
const &)*arg2
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22395 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxWindow
*arg1
= (wxWindow
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= ((wxWindow
const *)arg1
)->GetTitle();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22427 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxWindow
*arg1
= (wxWindow
*) 0 ;
22430 wxString
*arg2
= 0 ;
22431 bool temp2
= false ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "label", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 arg2
= wxString_in_helper(obj1
);
22443 if (arg2
== NULL
) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 (arg1
)->SetLabel((wxString
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 Py_INCREF(Py_None
); resultobj
= Py_None
;
22468 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxWindow
*arg1
= (wxWindow
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= ((wxWindow
const *)arg1
)->GetLabel();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22500 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxWindow
*arg1
= (wxWindow
*) 0 ;
22503 wxString
*arg2
= 0 ;
22504 bool temp2
= false ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "name", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 arg2
= wxString_in_helper(obj1
);
22516 if (arg2
== NULL
) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->SetName((wxString
const &)*arg2
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 Py_INCREF(Py_None
); resultobj
= Py_None
;
22541 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxWindow
*arg1
= (wxWindow
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= ((wxWindow
const *)arg1
)->GetName();
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22573 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxWindow
*arg1
= (wxWindow
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "variant", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= (int)SWIG_As_int(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22602 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_From_int((int)result
);
22628 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxWindow
*arg1
= (wxWindow
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "winid", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22641 arg2
= (int)SWIG_As_int(obj1
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 (arg1
)->SetId(arg2
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 Py_INCREF(Py_None
); resultobj
= Py_None
;
22657 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22659 wxWindow
*arg1
= (wxWindow
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (int)((wxWindow
const *)arg1
)->GetId();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= SWIG_From_int((int)result
);
22683 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22686 char *kwnames
[] = {
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 result
= (int)wxWindow::NewControlId();
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_From_int((int)result
);
22705 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "winid", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22715 arg1
= (int)SWIG_As_int(obj0
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (int)wxWindow::NextControlId(arg1
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_From_int((int)result
);
22731 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "winid", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22741 arg1
= (int)SWIG_As_int(obj0
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (int)wxWindow::PrevControlId(arg1
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_From_int((int)result
);
22757 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxWindow
*arg1
= (wxWindow
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self",(char *) "size", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->SetSize((wxSize
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22789 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxWindow
*arg1
= (wxWindow
*) 0 ;
22796 int arg6
= (int) wxSIZE_AUTO
;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 PyObject
* obj2
= 0 ;
22800 PyObject
* obj3
= 0 ;
22801 PyObject
* obj4
= 0 ;
22802 PyObject
* obj5
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 arg2
= (int)SWIG_As_int(obj1
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22812 arg3
= (int)SWIG_As_int(obj2
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22814 arg4
= (int)SWIG_As_int(obj3
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22816 arg5
= (int)SWIG_As_int(obj4
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 arg6
= (int)SWIG_As_int(obj5
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 Py_INCREF(Py_None
); resultobj
= Py_None
;
22836 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 int arg3
= (int) wxSIZE_AUTO
;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 PyObject
* obj2
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22857 arg3
= (int)SWIG_As_int(obj2
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxWindow
*arg1
= (wxWindow
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 PyObject
* obj2
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "width",(char *) "height", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 arg2
= (int)SWIG_As_int(obj1
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22891 arg3
= (int)SWIG_As_int(obj2
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 (arg1
)->SetSize(arg2
,arg3
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 Py_INCREF(Py_None
); resultobj
= Py_None
;
22907 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxWindow
*arg1
= (wxWindow
*) 0 ;
22910 wxPoint
*arg2
= 0 ;
22911 int arg3
= (int) wxSIZE_USE_EXISTING
;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 PyObject
* obj2
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "pt",(char *) "flags", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22928 arg3
= (int)SWIG_As_int(obj2
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22950 int arg4
= (int) wxSIZE_USE_EXISTING
;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 PyObject
* obj2
= 0 ;
22954 PyObject
* obj3
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 arg2
= (int)SWIG_As_int(obj1
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22964 arg3
= (int)SWIG_As_int(obj2
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 arg4
= (int)SWIG_As_int(obj3
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 (arg1
)->Move(arg2
,arg3
,arg4
);
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 Py_INCREF(Py_None
); resultobj
= Py_None
;
22984 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxWindow
*arg1
= (wxWindow
*) 0 ;
22987 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22988 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self",(char *) "size", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 Py_INCREF(Py_None
); resultobj
= Py_None
;
23019 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxWindow
*arg1
= (wxWindow
*) 0 ;
23022 PyObject
* obj0
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 Py_INCREF(Py_None
); resultobj
= Py_None
;
23044 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
;
23046 wxWindow
*arg1
= (wxWindow
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 Py_INCREF(Py_None
); resultobj
= Py_None
;
23069 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxWindow
*arg1
= (wxWindow
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "size", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 Py_INCREF(Py_None
); resultobj
= Py_None
;
23101 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxWindow
*arg1
= (wxWindow
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "width",(char *) "height", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 arg2
= (int)SWIG_As_int(obj1
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23118 arg3
= (int)SWIG_As_int(obj2
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->SetClientSize(arg2
,arg3
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxWindow
*arg1
= (wxWindow
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "rect", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 Py_INCREF(Py_None
); resultobj
= Py_None
;
23166 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxWindow
*arg1
= (wxWindow
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (arg1
)->GetPosition();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 wxPoint
* resultptr
;
23187 resultptr
= new wxPoint((wxPoint
&) result
);
23188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23196 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxWindow
*arg1
= (wxWindow
*) 0 ;
23199 int *arg2
= (int *) 0 ;
23200 int *arg3
= (int *) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23211 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->GetPosition(arg2
,arg3
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23223 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23224 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23225 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23226 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23233 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxWindow
*arg1
= (wxWindow
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= ((wxWindow
const *)arg1
)->GetSize();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 wxSize
* resultptr
;
23254 resultptr
= new wxSize((wxSize
&) result
);
23255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23263 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxWindow
*arg1
= (wxWindow
*) 0 ;
23266 int *arg2
= (int *) 0 ;
23267 int *arg3
= (int *) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23293 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23300 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxWindow
*arg1
= (wxWindow
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= ((wxWindow
const *)arg1
)->GetRect();
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 wxRect
* resultptr
;
23321 resultptr
= new wxRect((wxRect
&) result
);
23322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23330 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxWindow
*arg1
= (wxWindow
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 wxSize
* resultptr
;
23351 resultptr
= new wxSize((wxSize
&) result
);
23352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23360 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 int *arg2
= (int *) 0 ;
23364 int *arg3
= (int *) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self", NULL
23374 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23375 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23388 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23389 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23390 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23397 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxWindow
*arg1
= (wxWindow
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 wxPoint
* resultptr
;
23418 resultptr
= new wxPoint((wxPoint
&) result
);
23419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23427 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxWindow
*arg1
= (wxWindow
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23447 wxRect
* resultptr
;
23448 resultptr
= new wxRect((wxRect
&) result
);
23449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23457 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxWindow
*arg1
= (wxWindow
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 wxSize
* resultptr
;
23478 resultptr
= new wxSize((wxSize
&) result
);
23479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23487 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxWindow
*arg1
= (wxWindow
*) 0 ;
23490 int *arg2
= (int *) 0 ;
23491 int *arg3
= (int *) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self", NULL
23501 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23502 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23514 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23515 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23516 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23517 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23524 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxWindow
*arg1
= (wxWindow
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->InvalidateBestSize();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 Py_INCREF(Py_None
); resultobj
= Py_None
;
23549 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxWindow
*arg1
= (wxWindow
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 wxSize
* resultptr
;
23570 resultptr
= new wxSize((wxSize
&) result
);
23571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23579 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxWindow
*arg1
= (wxWindow
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxSize
* resultptr
;
23600 resultptr
= new wxSize((wxSize
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23609 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxWindow
*arg1
= (wxWindow
*) 0 ;
23612 int arg2
= (int) wxBOTH
;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "direction", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 arg2
= (int)SWIG_As_int(obj1
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 (arg1
)->Center(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 Py_INCREF(Py_None
); resultobj
= Py_None
;
23640 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 int arg2
= (int) wxBOTH
;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "dir", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23654 arg2
= (int)SWIG_As_int(obj1
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->CenterOnScreen(arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23671 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxWindow
*arg1
= (wxWindow
*) 0 ;
23674 int arg2
= (int) wxBOTH
;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self",(char *) "dir", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 arg2
= (int)SWIG_As_int(obj1
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->CenterOnParent(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 Py_INCREF(Py_None
); resultobj
= Py_None
;
23727 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxWindow
*arg1
= (wxWindow
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 (arg1
)->FitInside();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 Py_INCREF(Py_None
); resultobj
= Py_None
;
23752 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 int arg4
= (int) -1 ;
23758 int arg5
= (int) -1 ;
23759 int arg6
= (int) -1 ;
23760 int arg7
= (int) -1 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 PyObject
* obj2
= 0 ;
23764 PyObject
* obj3
= 0 ;
23765 PyObject
* obj4
= 0 ;
23766 PyObject
* obj5
= 0 ;
23767 PyObject
* obj6
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 arg2
= (int)SWIG_As_int(obj1
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23777 arg3
= (int)SWIG_As_int(obj2
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 arg4
= (int)SWIG_As_int(obj3
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 arg5
= (int)SWIG_As_int(obj4
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 arg6
= (int)SWIG_As_int(obj5
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 arg7
= (int)SWIG_As_int(obj6
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 Py_INCREF(Py_None
); resultobj
= Py_None
;
23809 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
;
23811 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23814 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23815 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23816 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 PyObject
* obj2
= 0 ;
23823 PyObject
* obj3
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23838 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 Py_INCREF(Py_None
); resultobj
= Py_None
;
23861 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxWindow
*arg1
= (wxWindow
*) 0 ;
23866 int arg4
= (int) -1 ;
23867 int arg5
= (int) -1 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 PyObject
* obj3
= 0 ;
23872 PyObject
* obj4
= 0 ;
23873 char *kwnames
[] = {
23874 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 arg2
= (int)SWIG_As_int(obj1
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23882 arg3
= (int)SWIG_As_int(obj2
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 arg4
= (int)SWIG_As_int(obj3
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 arg5
= (int)SWIG_As_int(obj4
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxWindow
*arg1
= (wxWindow
*) 0 ;
23910 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23911 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23931 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 Py_INCREF(Py_None
); resultobj
= Py_None
;
23948 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxWindow
*arg1
= (wxWindow
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 wxSize
* resultptr
;
23969 resultptr
= new wxSize((wxSize
&) result
);
23970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23978 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxWindow
*arg1
= (wxWindow
*) 0 ;
23982 PyObject
* obj0
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 wxSize
* resultptr
;
23999 resultptr
= new wxSize((wxSize
&) result
);
24000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24008 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "minSize", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxWindow
*arg1
= (wxWindow
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "maxSize", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 Py_INCREF(Py_None
); resultobj
= Py_None
;
24072 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_From_int((int)result
);
24098 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_From_int((int)result
);
24124 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxWindow
*arg1
= (wxWindow
*) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_From_int((int)result
);
24150 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxWindow
*arg1
= (wxWindow
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_From_int((int)result
);
24176 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxWindow
*arg1
= (wxWindow
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "size", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 PyObject
* obj2
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self",(char *) "w",(char *) "h", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 arg2
= (int)SWIG_As_int(obj1
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24225 arg3
= (int)SWIG_As_int(obj2
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->SetVirtualSize(arg2
,arg3
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxWindow
*arg1
= (wxWindow
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24261 wxSize
* resultptr
;
24262 resultptr
= new wxSize((wxSize
&) result
);
24263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24271 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxWindow
*arg1
= (wxWindow
*) 0 ;
24274 int *arg2
= (int *) 0 ;
24275 int *arg3
= (int *) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24286 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24298 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24299 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24300 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24301 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24308 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxWindow
*arg1
= (wxWindow
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 wxSize
* resultptr
;
24329 resultptr
= new wxSize((wxSize
&) result
);
24330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24338 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxWindow
*arg1
= (wxWindow
*) 0 ;
24341 bool arg2
= (bool) true ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self",(char *) "show", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 arg2
= (bool)SWIG_As_bool(obj1
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (bool)(arg1
)->Show(arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24372 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxWindow
*arg1
= (wxWindow
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (bool)(arg1
)->Hide();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24400 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxWindow
*arg1
= (wxWindow
*) 0 ;
24403 bool arg2
= (bool) true ;
24405 PyObject
* obj0
= 0 ;
24406 PyObject
* obj1
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self",(char *) "enable", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24415 arg2
= (bool)SWIG_As_bool(obj1
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (bool)(arg1
)->Enable(arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24434 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 wxWindow
*arg1
= (wxWindow
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (bool)(arg1
)->Disable();
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24462 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxWindow
*arg1
= (wxWindow
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24490 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxWindow
*arg1
= (wxWindow
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24518 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxWindow
*arg1
= (wxWindow
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "style", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 arg2
= (long)SWIG_As_long(obj1
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 (arg1
)->SetWindowStyleFlag(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxWindow
*arg1
= (wxWindow
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_From_long((long)result
);
24573 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "flag", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 arg2
= (int)SWIG_As_int(obj1
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24605 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxWindow
*arg1
= (wxWindow
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24633 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "exStyle", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 arg2
= (long)SWIG_As_long(obj1
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->SetExtraStyle(arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 Py_INCREF(Py_None
); resultobj
= Py_None
;
24662 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxWindow
*arg1
= (wxWindow
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_From_long((long)result
);
24688 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxWindow
*arg1
= (wxWindow
*) 0 ;
24691 bool arg2
= (bool) true ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "modal", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 arg2
= (bool)SWIG_As_bool(obj1
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->MakeModal(arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 Py_INCREF(Py_None
); resultobj
= Py_None
;
24719 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxWindow
*arg1
= (wxWindow
*) 0 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self",(char *) "enableTheme", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24732 arg2
= (bool)SWIG_As_bool(obj1
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 (arg1
)->SetThemeEnabled(arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 Py_INCREF(Py_None
); resultobj
= Py_None
;
24748 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxWindow
*arg1
= (wxWindow
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24776 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxWindow
*arg1
= (wxWindow
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 (arg1
)->SetFocus();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxWindow
*arg1
= (wxWindow
*) 0 ;
24804 PyObject
* obj0
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 (arg1
)->SetFocusFromKbd();
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24826 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24829 char *kwnames
[] = {
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24835 if (!wxPyCheckForApp()) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (wxWindow
*)wxWindow::FindFocus();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= wxPyMake_wxObject(result
, 0);
24851 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxWindow
*arg1
= (wxWindow
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxWindow
*arg1
= (wxWindow
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24907 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxWindow
*arg1
= (wxWindow
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= wxPyMake_wxObject(result
, 0);
24935 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxWindow
*arg1
= (wxWindow
*) 0 ;
24938 wxWindow
*arg2
= (wxWindow
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "child", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= wxPyMake_wxObject(result
, 0);
24967 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxWindow
*arg1
= (wxWindow
*) 0 ;
24970 wxWindow
*arg2
= (wxWindow
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self",(char *) "win", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 (arg1
)->SetTmpDefaultItem(arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 Py_INCREF(Py_None
); resultobj
= Py_None
;
24996 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "flags", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 arg2
= (int)SWIG_As_int(obj1
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (bool)(arg1
)->Navigate(arg2
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25030 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxWindow
*arg1
= (wxWindow
*) 0 ;
25033 wxWindow
*arg2
= (wxWindow
*) 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "win", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->MoveAfterInTabOrder(arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxWindow
*arg1
= (wxWindow
*) 0 ;
25062 wxWindow
*arg2
= (wxWindow
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self",(char *) "win", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 (arg1
)->MoveBeforeInTabOrder(arg2
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 Py_INCREF(Py_None
); resultobj
= Py_None
;
25088 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= result
;
25114 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxWindow
*arg1
= (wxWindow
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= wxPyMake_wxObject(result
, 0);
25142 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxWindow
*arg1
= (wxWindow
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= wxPyMake_wxObject(result
, 0);
25170 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25198 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxWindow
*arg1
= (wxWindow
*) 0 ;
25201 wxWindow
*arg2
= (wxWindow
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self",(char *) "newParent", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (bool)(arg1
)->Reparent(arg2
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25230 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxWindow
*arg1
= (wxWindow
*) 0 ;
25233 wxWindow
*arg2
= (wxWindow
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "child", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->AddChild(arg2
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 Py_INCREF(Py_None
); resultobj
= Py_None
;
25259 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxWindow
*arg1
= (wxWindow
*) 0 ;
25262 wxWindow
*arg2
= (wxWindow
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self",(char *) "child", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->RemoveChild(arg2
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 Py_INCREF(Py_None
); resultobj
= Py_None
;
25288 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25290 wxWindow
*arg1
= (wxWindow
*) 0 ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self",(char *) "winid", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 arg2
= (long)SWIG_As_long(obj1
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= wxPyMake_wxObject(result
, 0);
25320 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxWindow
*arg1
= (wxWindow
*) 0 ;
25323 wxString
*arg2
= 0 ;
25325 bool temp2
= false ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "name", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25336 arg2
= wxString_in_helper(obj1
);
25337 if (arg2
== NULL
) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= wxPyMake_wxObject(result
, 0);
25364 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 wxEvtHandler
*result
;
25368 PyObject
* obj0
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= wxPyMake_wxObject(result
, 0);
25392 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxWindow
*arg1
= (wxWindow
*) 0 ;
25395 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "handler", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 (arg1
)->SetEventHandler(arg2
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 Py_INCREF(Py_None
); resultobj
= Py_None
;
25421 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxWindow
*arg1
= (wxWindow
*) 0 ;
25424 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "handler", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->PushEventHandler(arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25450 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxWindow
*arg1
= (wxWindow
*) 0 ;
25453 bool arg2
= (bool) false ;
25454 wxEvtHandler
*result
;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "deleteHandler", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25465 arg2
= (bool)SWIG_As_bool(obj1
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= wxPyMake_wxObject(result
, 0);
25484 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxWindow
*arg1
= (wxWindow
*) 0 ;
25487 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "handler", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25516 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 wxValidator
*arg2
= 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "validator", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25532 if (arg2
== NULL
) {
25533 PyErr_SetString(PyExc_TypeError
,"null reference");
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 Py_INCREF(Py_None
); resultobj
= Py_None
;
25550 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxWindow
*arg1
= (wxWindow
*) 0 ;
25553 wxValidator
*result
;
25554 PyObject
* obj0
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (wxValidator
*)(arg1
)->GetValidator();
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= wxPyMake_wxObject(result
, 0);
25578 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
;
25580 wxWindow
*arg1
= (wxWindow
*) 0 ;
25582 PyObject
* obj0
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (bool)(arg1
)->Validate();
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25606 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)(arg1
)->TransferDataToWindow();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25634 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxWindow
*arg1
= (wxWindow
*) 0 ;
25638 PyObject
* obj0
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (bool)(arg1
)->TransferDataFromWindow();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25662 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->InitDialog();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25690 wxAcceleratorTable
*arg2
= 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "accel", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg2
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25724 wxAcceleratorTable
*result
;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25747 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 PyObject
* obj2
= 0 ;
25757 PyObject
* obj3
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 arg2
= (int)SWIG_As_int(obj1
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25767 arg3
= (int)SWIG_As_int(obj2
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25769 arg4
= (int)SWIG_As_int(obj3
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25787 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxWindow
*arg1
= (wxWindow
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "hotkeyId", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25801 arg2
= (int)SWIG_As_int(obj1
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25819 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxWindow
*arg1
= (wxWindow
*) 0 ;
25822 wxPoint
*arg2
= 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "pt", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 wxPoint
* resultptr
;
25847 resultptr
= new wxPoint((wxPoint
&) result
);
25848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25856 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxWindow
*arg1
= (wxWindow
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "sz", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 wxSize
* resultptr
;
25884 resultptr
= new wxSize((wxSize
&) result
);
25885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25893 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxWindow
*arg1
= (wxWindow
*) 0 ;
25896 wxPoint
*arg2
= 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "pt", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 wxPoint
* resultptr
;
25921 resultptr
= new wxPoint((wxPoint
&) result
);
25922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25930 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxWindow
*arg1
= (wxWindow
*) 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "sz", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 wxSize
* resultptr
;
25958 resultptr
= new wxSize((wxSize
&) result
);
25959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25967 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxWindow
*arg1
= (wxWindow
*) 0 ;
25970 wxPoint
*arg2
= 0 ;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "pt", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 wxPoint
* resultptr
;
25995 resultptr
= new wxPoint((wxPoint
&) result
);
25996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26004 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxWindow
*arg1
= (wxWindow
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char *kwnames
[] = {
26013 (char *) "self",(char *) "sz", NULL
26016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26031 wxSize
* resultptr
;
26032 resultptr
= new wxSize((wxSize
&) result
);
26033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26041 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "x",(char *) "y", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26056 arg2
= (int)SWIG_As_int(obj1
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26058 arg3
= (int)SWIG_As_int(obj2
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 (arg1
)->WarpPointer(arg2
,arg3
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 Py_INCREF(Py_None
); resultobj
= Py_None
;
26074 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxWindow
*arg1
= (wxWindow
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 char *kwnames
[] = {
26079 (char *) "self", NULL
26082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->CaptureMouse();
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxWindow
*arg1
= (wxWindow
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->ReleaseMouse();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 Py_INCREF(Py_None
); resultobj
= Py_None
;
26124 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26127 char *kwnames
[] = {
26131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26133 if (!wxPyCheckForApp()) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (wxWindow
*)wxWindow::GetCapture();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= wxPyMake_wxObject(result
, 0);
26149 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26177 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxWindow
*arg1
= (wxWindow
*) 0 ;
26180 bool arg2
= (bool) true ;
26181 wxRect
*arg3
= (wxRect
*) NULL
;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 PyObject
* obj2
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 arg2
= (bool)SWIG_As_bool(obj1
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26214 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "rect", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxWindow
*arg1
= (wxWindow
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 Py_INCREF(Py_None
); resultobj
= Py_None
;
26271 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxWindow
*arg1
= (wxWindow
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->ClearBackground();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26296 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxWindow
*arg1
= (wxWindow
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 Py_INCREF(Py_None
); resultobj
= Py_None
;
26321 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxWindow
*arg1
= (wxWindow
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 Py_INCREF(Py_None
); resultobj
= Py_None
;
26346 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxWindow
*arg1
= (wxWindow
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "dc", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference");
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->PrepareDC(*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 Py_INCREF(Py_None
); resultobj
= Py_None
;
26380 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxWindow
*arg1
= (wxWindow
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26396 result
= (wxRegion
*) &_result_ref
;
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26409 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxWindow
*arg1
= (wxWindow
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 char *kwnames
[] = {
26415 (char *) "self", NULL
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26429 wxRect
* resultptr
;
26430 resultptr
= new wxRect((wxRect
&) result
);
26431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26439 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxWindow
*arg1
= (wxWindow
*) 0 ;
26444 int arg4
= (int) 1 ;
26445 int arg5
= (int) 1 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 PyObject
* obj2
= 0 ;
26450 PyObject
* obj3
= 0 ;
26451 PyObject
* obj4
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 arg2
= (int)SWIG_As_int(obj1
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26461 arg3
= (int)SWIG_As_int(obj2
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 arg4
= (int)SWIG_As_int(obj3
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26468 arg5
= (int)SWIG_As_int(obj4
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26487 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxWindow
*arg1
= (wxWindow
*) 0 ;
26490 wxPoint
*arg2
= 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self",(char *) "pt", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26522 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self",(char *) "rect", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26557 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 wxVisualAttributes result
;
26561 PyObject
* obj0
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26571 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26577 wxVisualAttributes
* resultptr
;
26578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26587 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26590 wxVisualAttributes result
;
26591 PyObject
* obj0
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "variant", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26598 arg1
= (int)SWIG_As_int(obj0
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 if (!wxPyCheckForApp()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26610 wxVisualAttributes
* resultptr
;
26611 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26620 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxWindow
*arg1
= (wxWindow
*) 0 ;
26623 wxColour
*arg2
= 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "colour", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26637 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26655 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxWindow
*arg1
= (wxWindow
*) 0 ;
26658 wxColour
*arg2
= 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "colour", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 Py_INCREF(Py_None
); resultobj
= Py_None
;
26687 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxWindow
*arg1
= (wxWindow
*) 0 ;
26690 wxColour
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "colour", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26722 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxWindow
*arg1
= (wxWindow
*) 0 ;
26725 wxColour
*arg2
= 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self",(char *) "colour", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 Py_INCREF(Py_None
); resultobj
= Py_None
;
26754 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
;
26756 wxWindow
*arg1
= (wxWindow
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 wxColour
* resultptr
;
26775 resultptr
= new wxColour((wxColour
&) result
);
26776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26784 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26804 wxColour
* resultptr
;
26805 resultptr
= new wxColour((wxColour
&) result
);
26806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26814 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
;
26816 wxWindow
*arg1
= (wxWindow
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self",(char *) "style", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26828 arg2
= (int)SWIG_As_int(obj1
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26846 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxWindow
*arg1
= (wxWindow
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= SWIG_From_int((int)result
);
26872 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 wxWindow
*arg1
= (wxWindow
*) 0 ;
26875 wxCursor
*arg2
= 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 char *kwnames
[] = {
26880 (char *) "self",(char *) "cursor", NULL
26883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26889 if (arg2
== NULL
) {
26890 PyErr_SetString(PyExc_TypeError
,"null reference");
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26909 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxWindow
*arg1
= (wxWindow
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (arg1
)->GetCursor();
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 wxCursor
* resultptr
;
26930 resultptr
= new wxCursor((wxCursor
&) result
);
26931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26939 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
;
26941 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "font", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26956 if (arg2
== NULL
) {
26957 PyErr_SetString(PyExc_TypeError
,"null reference");
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxWindow
*arg1
= (wxWindow
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "font", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26992 if (arg2
== NULL
) {
26993 PyErr_SetString(PyExc_TypeError
,"null reference");
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 Py_INCREF(Py_None
); resultobj
= Py_None
;
27010 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxWindow
*arg1
= (wxWindow
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (arg1
)->GetFont();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 wxFont
* resultptr
;
27031 resultptr
= new wxFont((wxFont
&) result
);
27032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27040 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27043 wxCaret
*arg2
= (wxCaret
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "caret", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->SetCaret(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxWindow
*arg1
= (wxWindow
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27095 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxWindow
*arg1
= (wxWindow
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_From_int((int)result
);
27121 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxWindow
*arg1
= (wxWindow
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= SWIG_From_int((int)result
);
27147 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxWindow
*arg1
= (wxWindow
*) 0 ;
27150 wxString
*arg2
= 0 ;
27151 int *arg3
= (int *) 0 ;
27152 int *arg4
= (int *) 0 ;
27153 bool temp2
= false ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "string", NULL
27164 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27165 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 arg2
= wxString_in_helper(obj1
);
27171 if (arg2
== NULL
) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27183 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27184 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27185 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27200 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxWindow
*arg1
= (wxWindow
*) 0 ;
27203 wxString
*arg2
= 0 ;
27204 int *arg3
= (int *) 0 ;
27205 int *arg4
= (int *) 0 ;
27206 int *arg5
= (int *) 0 ;
27207 int *arg6
= (int *) 0 ;
27208 wxFont
*arg7
= (wxFont
*) NULL
;
27209 bool temp2
= false ;
27218 PyObject
* obj0
= 0 ;
27219 PyObject
* obj1
= 0 ;
27220 PyObject
* obj2
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self",(char *) "string",(char *) "font", NULL
27225 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27226 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27227 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27228 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 arg2
= wxString_in_helper(obj1
);
27234 if (arg2
== NULL
) SWIG_fail
;
27238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27249 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27250 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27251 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27252 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27253 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27254 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27255 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27256 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27271 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27272 PyObject
*resultobj
;
27273 wxWindow
*arg1
= (wxWindow
*) 0 ;
27274 int *arg2
= (int *) 0 ;
27275 int *arg3
= (int *) 0 ;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self",(char *) "x",(char *) "y", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27291 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27292 temp2
= SWIG_As_int(obj1
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 res2
= SWIG_NEWOBJ
;
27299 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27300 temp3
= SWIG_As_int(obj2
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 res3
= SWIG_NEWOBJ
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 Py_INCREF(Py_None
); resultobj
= Py_None
;
27314 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27315 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27316 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27317 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27324 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxWindow
*arg1
= (wxWindow
*) 0 ;
27327 int *arg2
= (int *) 0 ;
27328 int *arg3
= (int *) 0 ;
27333 PyObject
* obj0
= 0 ;
27334 PyObject
* obj1
= 0 ;
27335 PyObject
* obj2
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "x",(char *) "y", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27344 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27345 temp2
= SWIG_As_int(obj1
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 res2
= SWIG_NEWOBJ
;
27352 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27353 temp3
= SWIG_As_int(obj2
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 res3
= SWIG_NEWOBJ
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 Py_INCREF(Py_None
); resultobj
= Py_None
;
27367 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27368 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27369 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27370 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27377 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
;
27379 wxWindow
*arg1
= (wxWindow
*) 0 ;
27380 wxPoint
*arg2
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "pt", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27404 wxPoint
* resultptr
;
27405 resultptr
= new wxPoint((wxPoint
&) result
);
27406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27414 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxWindow
*arg1
= (wxWindow
*) 0 ;
27417 wxPoint
*arg2
= 0 ;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self",(char *) "pt", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27431 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27441 wxPoint
* resultptr
;
27442 resultptr
= new wxPoint((wxPoint
&) result
);
27443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27451 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxWindow
*arg1
= (wxWindow
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 PyObject
* obj2
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self",(char *) "x",(char *) "y", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27467 arg2
= (int)SWIG_As_int(obj1
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27469 arg3
= (int)SWIG_As_int(obj2
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_From_int((int)result
);
27485 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxWindow
*arg1
= (wxWindow
*) 0 ;
27488 wxPoint
*arg2
= 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "pt", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_From_int((int)result
);
27518 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27519 PyObject
*resultobj
;
27520 wxWindow
*arg1
= (wxWindow
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27526 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27529 arg2
= (long)SWIG_As_long(obj1
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_From_int((int)result
);
27545 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27546 PyObject
*resultobj
;
27547 wxWindow
*arg1
= (wxWindow
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27551 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_From_int((int)result
);
27568 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27573 argc
= PyObject_Length(args
);
27574 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27575 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27589 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27596 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27604 _v
= SWIG_Check_long(argv
[1]);
27606 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27611 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27616 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
;
27618 wxWindow
*arg1
= (wxWindow
*) 0 ;
27619 long arg2
= (long) wxUPDATE_UI_NONE
;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self",(char *) "flags", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27630 arg2
= (long)SWIG_As_long(obj1
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 (arg1
)->UpdateWindowUI(arg2
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 Py_INCREF(Py_None
); resultobj
= Py_None
;
27647 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxWindow
*arg1
= (wxWindow
*) 0 ;
27650 wxMenu
*arg2
= (wxMenu
*) 0 ;
27651 int arg3
= (int) -1 ;
27652 int arg4
= (int) -1 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 PyObject
* obj2
= 0 ;
27657 PyObject
* obj3
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 arg3
= (int)SWIG_As_int(obj2
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27672 arg4
= (int)SWIG_As_int(obj3
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27691 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxWindow
*arg1
= (wxWindow
*) 0 ;
27694 wxMenu
*arg2
= (wxMenu
*) 0 ;
27695 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27696 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 PyObject
* obj2
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self",(char *) "menu",(char *) "pos", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27714 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27733 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (long)wxWindow_GetHandle(arg1
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_From_long((long)result
);
27759 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxWindow
*arg1
= (wxWindow
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "handle", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 arg2
= (long)SWIG_As_long(obj1
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 wxWindow_AssociateHandle(arg1
,arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27788 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxWindow
*arg1
= (wxWindow
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->DissociateHandle();
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 PyObject
* obj1
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self",(char *) "orient", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 arg2
= (int)SWIG_As_int(obj1
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27845 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27852 bool arg6
= (bool) true ;
27853 PyObject
* obj0
= 0 ;
27854 PyObject
* obj1
= 0 ;
27855 PyObject
* obj2
= 0 ;
27856 PyObject
* obj3
= 0 ;
27857 PyObject
* obj4
= 0 ;
27858 PyObject
* obj5
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 arg2
= (int)SWIG_As_int(obj1
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27868 arg3
= (int)SWIG_As_int(obj2
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27870 arg4
= (int)SWIG_As_int(obj3
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27872 arg5
= (int)SWIG_As_int(obj4
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 arg6
= (bool)SWIG_As_bool(obj5
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 Py_INCREF(Py_None
); resultobj
= Py_None
;
27892 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 bool arg4
= (bool) true ;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 PyObject
* obj2
= 0 ;
27901 PyObject
* obj3
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 arg2
= (int)SWIG_As_int(obj1
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27911 arg3
= (int)SWIG_As_int(obj2
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 arg4
= (bool)SWIG_As_bool(obj3
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 Py_INCREF(Py_None
); resultobj
= Py_None
;
27931 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxWindow
*arg1
= (wxWindow
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 PyObject
* obj1
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self",(char *) "orientation", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27945 arg2
= (int)SWIG_As_int(obj1
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_From_int((int)result
);
27961 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self",(char *) "orientation", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27975 arg2
= (int)SWIG_As_int(obj1
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_From_int((int)result
);
27991 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
;
27993 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self",(char *) "orientation", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 arg2
= (int)SWIG_As_int(obj1
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_From_int((int)result
);
28021 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28026 wxRect
*arg4
= (wxRect
*) NULL
;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 PyObject
* obj2
= 0 ;
28030 PyObject
* obj3
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 arg2
= (int)SWIG_As_int(obj1
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28040 arg3
= (int)SWIG_As_int(obj2
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 Py_INCREF(Py_None
); resultobj
= Py_None
;
28060 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxWindow
*arg1
= (wxWindow
*) 0 ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self",(char *) "lines", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 arg2
= (int)SWIG_As_int(obj1
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (bool)(arg1
)->ScrollLines(arg2
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28092 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxWindow
*arg1
= (wxWindow
*) 0 ;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self",(char *) "pages", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28106 arg2
= (int)SWIG_As_int(obj1
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (bool)(arg1
)->ScrollPages(arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28124 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (bool)(arg1
)->LineUp();
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28152 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxWindow
*arg1
= (wxWindow
*) 0 ;
28156 PyObject
* obj0
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (bool)(arg1
)->LineDown();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28180 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxWindow
*arg1
= (wxWindow
*) 0 ;
28184 PyObject
* obj0
= 0 ;
28185 char *kwnames
[] = {
28186 (char *) "self", NULL
28189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (bool)(arg1
)->PageUp();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28208 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxWindow
*arg1
= (wxWindow
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 result
= (bool)(arg1
)->PageDown();
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28236 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxWindow
*arg1
= (wxWindow
*) 0 ;
28239 wxString
*arg2
= 0 ;
28240 bool temp2
= false ;
28241 PyObject
* obj0
= 0 ;
28242 PyObject
* obj1
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self",(char *) "text", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 arg2
= wxString_in_helper(obj1
);
28252 if (arg2
== NULL
) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 Py_INCREF(Py_None
); resultobj
= Py_None
;
28277 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxWindow
*arg1
= (wxWindow
*) 0 ;
28280 wxString
*arg2
= 0 ;
28281 bool temp2
= false ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self",(char *) "text", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 arg2
= wxString_in_helper(obj1
);
28293 if (arg2
== NULL
) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28318 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxWindow
*arg1
= (wxWindow
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28350 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxWindow
*arg1
= (wxWindow
*) 0 ;
28353 wxString
*arg2
= 0 ;
28354 bool temp2
= false ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self",(char *) "tip", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28365 arg2
= wxString_in_helper(obj1
);
28366 if (arg2
== NULL
) SWIG_fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 Py_INCREF(Py_None
); resultobj
= Py_None
;
28391 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
;
28393 wxWindow
*arg1
= (wxWindow
*) 0 ;
28394 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self",(char *) "tip", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 (arg1
)->SetToolTip(arg2
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 Py_INCREF(Py_None
); resultobj
= Py_None
;
28420 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
;
28422 wxWindow
*arg1
= (wxWindow
*) 0 ;
28424 PyObject
* obj0
= 0 ;
28425 char *kwnames
[] = {
28426 (char *) "self", NULL
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= wxPyMake_wxObject(result
, 0);
28448 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxWindow
*arg1
= (wxWindow
*) 0 ;
28451 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "self",(char *) "dropTarget", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28462 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 (arg1
)->SetDropTarget(arg2
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 Py_INCREF(Py_None
); resultobj
= Py_None
;
28477 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
;
28479 wxWindow
*arg1
= (wxWindow
*) 0 ;
28480 wxPyDropTarget
*result
;
28481 PyObject
* obj0
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28503 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxWindow
*arg1
= (wxWindow
*) 0 ;
28506 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self",(char *) "constraints", NULL
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->SetConstraints(arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 Py_INCREF(Py_None
); resultobj
= Py_None
;
28532 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxWindow
*arg1
= (wxWindow
*) 0 ;
28535 wxLayoutConstraints
*result
;
28536 PyObject
* obj0
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28558 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxWindow
*arg1
= (wxWindow
*) 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self",(char *) "autoLayout", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28571 arg2
= (bool)SWIG_As_bool(obj1
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->SetAutoLayout(arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxWindow
*arg1
= (wxWindow
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28615 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 PyObject
* obj0
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (bool)(arg1
)->Layout();
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28643 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxWindow
*arg1
= (wxWindow
*) 0 ;
28646 wxSizer
*arg2
= (wxSizer
*) 0 ;
28647 bool arg3
= (bool) true ;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 PyObject
* obj2
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 arg3
= (bool)SWIG_As_bool(obj2
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->SetSizer(arg2
,arg3
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 Py_INCREF(Py_None
); resultobj
= Py_None
;
28678 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxWindow
*arg1
= (wxWindow
*) 0 ;
28681 wxSizer
*arg2
= (wxSizer
*) 0 ;
28682 bool arg3
= (bool) true ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 PyObject
* obj2
= 0 ;
28686 char *kwnames
[] = {
28687 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28696 arg3
= (bool)SWIG_As_bool(obj2
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 Py_INCREF(Py_None
); resultobj
= Py_None
;
28713 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
;
28715 wxWindow
*arg1
= (wxWindow
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= wxPyMake_wxSizer(result
, 0);
28741 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxWindow
*arg1
= (wxWindow
*) 0 ;
28744 wxSizer
*arg2
= (wxSizer
*) 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "sizer", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->SetContainingSizer(arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxWindow
*arg1
= (wxWindow
*) 0 ;
28774 PyObject
* obj0
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= wxPyMake_wxSizer(result
, 0);
28798 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxWindow
*arg1
= (wxWindow
*) 0 ;
28801 PyObject
* obj0
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 (arg1
)->InheritAttributes();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 Py_INCREF(Py_None
); resultobj
= Py_None
;
28823 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxWindow
*arg1
= (wxWindow
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28851 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28854 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28856 return Py_BuildValue((char *)"");
28858 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28861 wxWindow
*arg2
= (wxWindow
*) NULL
;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "id",(char *) "parent", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28870 arg1
= (long)SWIG_As_long(obj0
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28877 if (!wxPyCheckForApp()) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= wxPyMake_wxObject(result
, 0);
28893 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxString
*arg1
= 0 ;
28896 wxWindow
*arg2
= (wxWindow
*) NULL
;
28898 bool temp1
= false ;
28899 PyObject
* obj0
= 0 ;
28900 PyObject
* obj1
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "name",(char *) "parent", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28907 arg1
= wxString_in_helper(obj0
);
28908 if (arg1
== NULL
) SWIG_fail
;
28912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28916 if (!wxPyCheckForApp()) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= wxPyMake_wxObject(result
, 0);
28940 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxString
*arg1
= 0 ;
28943 wxWindow
*arg2
= (wxWindow
*) NULL
;
28945 bool temp1
= false ;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "label",(char *) "parent", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28954 arg1
= wxString_in_helper(obj0
);
28955 if (arg1
== NULL
) SWIG_fail
;
28959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 if (!wxPyCheckForApp()) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= wxPyMake_wxObject(result
, 0);
28987 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxWindow
*arg1
= (wxWindow
*) 0 ;
28990 unsigned long arg2
;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "parent",(char *) "_hWnd", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= wxPyMake_wxObject(result
, 0);
29019 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxValidator
*result
;
29022 char *kwnames
[] = {
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (wxValidator
*)new wxValidator();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29041 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxValidator
*arg1
= (wxValidator
*) 0 ;
29044 wxValidator
*result
;
29045 PyObject
* obj0
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (wxValidator
*)(arg1
)->Clone();
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= wxPyMake_wxObject(result
, 0);
29069 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxValidator
*arg1
= (wxValidator
*) 0 ;
29072 wxWindow
*arg2
= (wxWindow
*) 0 ;
29074 PyObject
* obj0
= 0 ;
29075 PyObject
* obj1
= 0 ;
29076 char *kwnames
[] = {
29077 (char *) "self",(char *) "parent", NULL
29080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 result
= (bool)(arg1
)->Validate(arg2
);
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29101 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxValidator
*arg1
= (wxValidator
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 result
= (bool)(arg1
)->TransferToWindow();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29129 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxValidator
*arg1
= (wxValidator
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= (bool)(arg1
)->TransferFromWindow();
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29157 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxValidator
*arg1
= (wxValidator
*) 0 ;
29161 PyObject
* obj0
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (wxWindow
*)(arg1
)->GetWindow();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= wxPyMake_wxObject(result
, 0);
29185 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
;
29187 wxValidator
*arg1
= (wxValidator
*) 0 ;
29188 wxWindow
*arg2
= (wxWindow
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "window", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 (arg1
)->SetWindow(arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 Py_INCREF(Py_None
); resultobj
= Py_None
;
29214 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29217 char *kwnames
[] = {
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (bool)wxValidator::IsSilent();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29238 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 int arg1
= (int) true ;
29241 PyObject
* obj0
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "doIt", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29248 arg1
= (int)SWIG_As_int(obj0
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 wxValidator::SetBellOnError(arg1
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 Py_INCREF(Py_None
); resultobj
= Py_None
;
29265 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29268 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29270 return Py_BuildValue((char *)"");
29272 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxPyValidator
*result
;
29275 char *kwnames
[] = {
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 result
= (wxPyValidator
*)new wxPyValidator();
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29294 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29297 PyObject
*arg2
= (PyObject
*) 0 ;
29298 PyObject
*arg3
= (PyObject
*) 0 ;
29299 int arg4
= (int) true ;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 PyObject
* obj2
= 0 ;
29303 PyObject
* obj3
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29314 arg4
= (int)SWIG_As_int(obj3
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 Py_INCREF(Py_None
); resultobj
= Py_None
;
29331 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29334 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29336 return Py_BuildValue((char *)"");
29338 static int _wrap_DefaultValidator_set(PyObject
*) {
29339 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29344 static PyObject
*_wrap_DefaultValidator_get() {
29347 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29352 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29355 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29356 long arg2
= (long) 0 ;
29358 bool temp1
= false ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "title",(char *) "style", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29368 arg1
= wxString_in_helper(obj0
);
29369 if (arg1
== NULL
) SWIG_fail
;
29374 arg2
= (long)SWIG_As_long(obj1
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 if (!wxPyCheckForApp()) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29400 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxMenu
*arg1
= (wxMenu
*) 0 ;
29404 wxString
*arg3
= 0 ;
29405 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29407 int arg5
= (int) wxITEM_NORMAL
;
29408 wxMenuItem
*result
;
29409 bool temp3
= false ;
29410 bool temp4
= false ;
29411 PyObject
* obj0
= 0 ;
29412 PyObject
* obj1
= 0 ;
29413 PyObject
* obj2
= 0 ;
29414 PyObject
* obj3
= 0 ;
29415 PyObject
* obj4
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29423 arg2
= (int)SWIG_As_int(obj1
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 arg3
= wxString_in_helper(obj2
);
29427 if (arg3
== NULL
) SWIG_fail
;
29432 arg4
= wxString_in_helper(obj3
);
29433 if (arg4
== NULL
) SWIG_fail
;
29438 arg5
= (int)SWIG_As_int(obj4
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= wxPyMake_wxObject(result
, 0);
29473 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
;
29475 wxMenu
*arg1
= (wxMenu
*) 0 ;
29476 wxMenuItem
*result
;
29477 PyObject
* obj0
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= wxPyMake_wxObject(result
, 0);
29501 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxMenu
*arg1
= (wxMenu
*) 0 ;
29505 wxString
*arg3
= 0 ;
29506 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29507 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29508 wxMenuItem
*result
;
29509 bool temp3
= false ;
29510 bool temp4
= false ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 PyObject
* obj2
= 0 ;
29514 PyObject
* obj3
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29522 arg2
= (int)SWIG_As_int(obj1
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 arg3
= wxString_in_helper(obj2
);
29526 if (arg3
== NULL
) SWIG_fail
;
29531 arg4
= wxString_in_helper(obj3
);
29532 if (arg4
== NULL
) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= wxPyMake_wxObject(result
, 0);
29568 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxMenu
*arg1
= (wxMenu
*) 0 ;
29572 wxString
*arg3
= 0 ;
29573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29575 wxMenuItem
*result
;
29576 bool temp3
= false ;
29577 bool temp4
= false ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 PyObject
* obj2
= 0 ;
29581 PyObject
* obj3
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29589 arg2
= (int)SWIG_As_int(obj1
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 arg3
= wxString_in_helper(obj2
);
29593 if (arg3
== NULL
) SWIG_fail
;
29598 arg4
= wxString_in_helper(obj3
);
29599 if (arg4
== NULL
) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= wxPyMake_wxObject(result
, 0);
29635 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxMenu
*arg1
= (wxMenu
*) 0 ;
29639 wxString
*arg3
= 0 ;
29640 wxMenu
*arg4
= (wxMenu
*) 0 ;
29641 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29642 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29643 wxMenuItem
*result
;
29644 bool temp3
= false ;
29645 bool temp5
= false ;
29646 PyObject
* obj0
= 0 ;
29647 PyObject
* obj1
= 0 ;
29648 PyObject
* obj2
= 0 ;
29649 PyObject
* obj3
= 0 ;
29650 PyObject
* obj4
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29658 arg2
= (int)SWIG_As_int(obj1
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 arg3
= wxString_in_helper(obj2
);
29662 if (arg3
== NULL
) SWIG_fail
;
29665 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29669 arg5
= wxString_in_helper(obj4
);
29670 if (arg5
== NULL
) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= wxPyMake_wxObject(result
, 0);
29706 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29707 PyObject
*resultobj
;
29708 wxMenu
*arg1
= (wxMenu
*) 0 ;
29709 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29710 wxMenuItem
*result
;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "item", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= wxPyMake_wxObject(result
, 0);
29738 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
;
29740 wxMenu
*arg1
= (wxMenu
*) 0 ;
29741 PyObject
* obj0
= 0 ;
29742 char *kwnames
[] = {
29743 (char *) "self", NULL
29746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 Py_INCREF(Py_None
); resultobj
= Py_None
;
29763 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxMenu
*arg1
= (wxMenu
*) 0 ;
29767 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29768 wxMenuItem
*result
;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 PyObject
* obj2
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "pos",(char *) "item", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29779 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= wxPyMake_wxObject(result
, 0);
29799 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxMenu
*arg1
= (wxMenu
*) 0 ;
29804 wxString
*arg4
= 0 ;
29805 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29806 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29807 int arg6
= (int) wxITEM_NORMAL
;
29808 wxMenuItem
*result
;
29809 bool temp4
= false ;
29810 bool temp5
= false ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 PyObject
* obj2
= 0 ;
29814 PyObject
* obj3
= 0 ;
29815 PyObject
* obj4
= 0 ;
29816 PyObject
* obj5
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29824 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29826 arg3
= (int)SWIG_As_int(obj2
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 arg4
= wxString_in_helper(obj3
);
29830 if (arg4
== NULL
) SWIG_fail
;
29835 arg5
= wxString_in_helper(obj4
);
29836 if (arg5
== NULL
) SWIG_fail
;
29841 arg6
= (int)SWIG_As_int(obj5
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= wxPyMake_wxObject(result
, 0);
29876 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
;
29878 wxMenu
*arg1
= (wxMenu
*) 0 ;
29880 wxMenuItem
*result
;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self",(char *) "pos", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29890 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= wxPyMake_wxObject(result
, 0);
29908 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxMenu
*arg1
= (wxMenu
*) 0 ;
29913 wxString
*arg4
= 0 ;
29914 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29915 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29916 wxMenuItem
*result
;
29917 bool temp4
= false ;
29918 bool temp5
= false ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 PyObject
* obj2
= 0 ;
29922 PyObject
* obj3
= 0 ;
29923 PyObject
* obj4
= 0 ;
29924 char *kwnames
[] = {
29925 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29931 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29933 arg3
= (int)SWIG_As_int(obj2
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 arg4
= wxString_in_helper(obj3
);
29937 if (arg4
== NULL
) SWIG_fail
;
29942 arg5
= wxString_in_helper(obj4
);
29943 if (arg5
== NULL
) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= wxPyMake_wxObject(result
, 0);
29979 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxMenu
*arg1
= (wxMenu
*) 0 ;
29984 wxString
*arg4
= 0 ;
29985 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29986 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29987 wxMenuItem
*result
;
29988 bool temp4
= false ;
29989 bool temp5
= false ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 PyObject
* obj2
= 0 ;
29993 PyObject
* obj3
= 0 ;
29994 PyObject
* obj4
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30002 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30004 arg3
= (int)SWIG_As_int(obj2
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30007 arg4
= wxString_in_helper(obj3
);
30008 if (arg4
== NULL
) SWIG_fail
;
30013 arg5
= wxString_in_helper(obj4
);
30014 if (arg5
== NULL
) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= wxPyMake_wxObject(result
, 0);
30050 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxMenu
*arg1
= (wxMenu
*) 0 ;
30055 wxString
*arg4
= 0 ;
30056 wxMenu
*arg5
= (wxMenu
*) 0 ;
30057 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30059 wxMenuItem
*result
;
30060 bool temp4
= false ;
30061 bool temp6
= false ;
30062 PyObject
* obj0
= 0 ;
30063 PyObject
* obj1
= 0 ;
30064 PyObject
* obj2
= 0 ;
30065 PyObject
* obj3
= 0 ;
30066 PyObject
* obj4
= 0 ;
30067 PyObject
* obj5
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30077 arg3
= (int)SWIG_As_int(obj2
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 arg4
= wxString_in_helper(obj3
);
30081 if (arg4
== NULL
) SWIG_fail
;
30084 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30088 arg6
= wxString_in_helper(obj5
);
30089 if (arg6
== NULL
) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= wxPyMake_wxObject(result
, 0);
30125 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxMenu
*arg1
= (wxMenu
*) 0 ;
30128 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30129 wxMenuItem
*result
;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 char *kwnames
[] = {
30133 (char *) "self",(char *) "item", NULL
30136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= wxPyMake_wxObject(result
, 0);
30157 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30158 PyObject
*resultobj
;
30159 wxMenu
*arg1
= (wxMenu
*) 0 ;
30161 wxString
*arg3
= 0 ;
30162 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30163 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30164 int arg5
= (int) wxITEM_NORMAL
;
30165 wxMenuItem
*result
;
30166 bool temp3
= false ;
30167 bool temp4
= false ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 PyObject
* obj3
= 0 ;
30172 PyObject
* obj4
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30180 arg2
= (int)SWIG_As_int(obj1
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 arg3
= wxString_in_helper(obj2
);
30184 if (arg3
== NULL
) SWIG_fail
;
30189 arg4
= wxString_in_helper(obj3
);
30190 if (arg4
== NULL
) SWIG_fail
;
30195 arg5
= (int)SWIG_As_int(obj4
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= wxPyMake_wxObject(result
, 0);
30230 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30232 wxMenu
*arg1
= (wxMenu
*) 0 ;
30233 wxMenuItem
*result
;
30234 PyObject
* obj0
= 0 ;
30235 char *kwnames
[] = {
30236 (char *) "self", NULL
30239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= wxPyMake_wxObject(result
, 0);
30258 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
;
30260 wxMenu
*arg1
= (wxMenu
*) 0 ;
30262 wxString
*arg3
= 0 ;
30263 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30265 wxMenuItem
*result
;
30266 bool temp3
= false ;
30267 bool temp4
= false ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 PyObject
* obj2
= 0 ;
30271 PyObject
* obj3
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 arg2
= (int)SWIG_As_int(obj1
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 arg3
= wxString_in_helper(obj2
);
30283 if (arg3
== NULL
) SWIG_fail
;
30288 arg4
= wxString_in_helper(obj3
);
30289 if (arg4
== NULL
) SWIG_fail
;
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= wxPyMake_wxObject(result
, 0);
30325 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
;
30327 wxMenu
*arg1
= (wxMenu
*) 0 ;
30329 wxString
*arg3
= 0 ;
30330 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30331 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30332 wxMenuItem
*result
;
30333 bool temp3
= false ;
30334 bool temp4
= false ;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj1
= 0 ;
30337 PyObject
* obj2
= 0 ;
30338 PyObject
* obj3
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30346 arg2
= (int)SWIG_As_int(obj1
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 arg3
= wxString_in_helper(obj2
);
30350 if (arg3
== NULL
) SWIG_fail
;
30355 arg4
= wxString_in_helper(obj3
);
30356 if (arg4
== NULL
) SWIG_fail
;
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= wxPyMake_wxObject(result
, 0);
30392 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxMenu
*arg1
= (wxMenu
*) 0 ;
30396 wxString
*arg3
= 0 ;
30397 wxMenu
*arg4
= (wxMenu
*) 0 ;
30398 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30399 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30400 wxMenuItem
*result
;
30401 bool temp3
= false ;
30402 bool temp5
= false ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 PyObject
* obj2
= 0 ;
30406 PyObject
* obj3
= 0 ;
30407 PyObject
* obj4
= 0 ;
30408 char *kwnames
[] = {
30409 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30415 arg2
= (int)SWIG_As_int(obj1
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 arg3
= wxString_in_helper(obj2
);
30419 if (arg3
== NULL
) SWIG_fail
;
30422 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 arg5
= wxString_in_helper(obj4
);
30427 if (arg5
== NULL
) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= wxPyMake_wxObject(result
, 0);
30463 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxMenu
*arg1
= (wxMenu
*) 0 ;
30467 wxMenuItem
*result
;
30468 PyObject
* obj0
= 0 ;
30469 PyObject
* obj1
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self",(char *) "id", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30477 arg2
= (int)SWIG_As_int(obj1
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= wxPyMake_wxObject(result
, 0);
30495 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxMenu
*arg1
= (wxMenu
*) 0 ;
30498 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30499 wxMenuItem
*result
;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "item", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= wxPyMake_wxObject(result
, 0);
30527 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxMenu
*arg1
= (wxMenu
*) 0 ;
30532 PyObject
* obj0
= 0 ;
30533 PyObject
* obj1
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self",(char *) "id", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30541 arg2
= (int)SWIG_As_int(obj1
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= (bool)(arg1
)->Delete(arg2
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30559 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
;
30561 wxMenu
*arg1
= (wxMenu
*) 0 ;
30562 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self",(char *) "item", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (bool)(arg1
)->Delete(arg2
);
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30591 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
;
30593 wxMenu
*arg1
= (wxMenu
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 wxMenu_Destroy(arg1
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 Py_INCREF(Py_None
); resultobj
= Py_None
;
30616 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30618 wxMenu
*arg1
= (wxMenu
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self",(char *) "id", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30630 arg2
= (int)SWIG_As_int(obj1
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= (bool)(arg1
)->Destroy(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30648 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30649 PyObject
*resultobj
;
30650 wxMenu
*arg1
= (wxMenu
*) 0 ;
30651 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30653 PyObject
* obj0
= 0 ;
30654 PyObject
* obj1
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "self",(char *) "item", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 result
= (bool)(arg1
)->Destroy(arg2
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30680 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
;
30682 wxMenu
*arg1
= (wxMenu
*) 0 ;
30684 PyObject
* obj0
= 0 ;
30685 char *kwnames
[] = {
30686 (char *) "self", NULL
30689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30706 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
;
30708 wxMenu
*arg1
= (wxMenu
*) 0 ;
30710 PyObject
* obj0
= 0 ;
30711 char *kwnames
[] = {
30712 (char *) "self", NULL
30715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= result
;
30732 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxMenu
*arg1
= (wxMenu
*) 0 ;
30735 wxString
*arg2
= 0 ;
30737 bool temp2
= false ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "item", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30748 arg2
= wxString_in_helper(obj1
);
30749 if (arg2
== NULL
) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_From_int((int)result
);
30774 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxMenu
*arg1
= (wxMenu
*) 0 ;
30778 wxMenuItem
*result
;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self",(char *) "id", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30788 arg2
= (int)SWIG_As_int(obj1
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= wxPyMake_wxObject(result
, 0);
30806 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxMenu
*arg1
= (wxMenu
*) 0 ;
30810 wxMenuItem
*result
;
30811 PyObject
* obj0
= 0 ;
30812 PyObject
* obj1
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self",(char *) "position", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30820 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= wxPyMake_wxObject(result
, 0);
30838 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxMenu
*arg1
= (wxMenu
*) 0 ;
30843 PyObject
* obj0
= 0 ;
30844 PyObject
* obj1
= 0 ;
30845 PyObject
* obj2
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self",(char *) "id",(char *) "enable", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30853 arg2
= (int)SWIG_As_int(obj1
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30855 arg3
= (bool)SWIG_As_bool(obj2
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 (arg1
)->Enable(arg2
,arg3
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 Py_INCREF(Py_None
); resultobj
= Py_None
;
30871 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxMenu
*arg1
= (wxMenu
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 PyObject
* obj1
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "id", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30885 arg2
= (int)SWIG_As_int(obj1
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30903 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxMenu
*arg1
= (wxMenu
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 PyObject
* obj2
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self",(char *) "id",(char *) "check", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 arg2
= (int)SWIG_As_int(obj1
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30920 arg3
= (bool)SWIG_As_bool(obj2
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 (arg1
)->Check(arg2
,arg3
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 Py_INCREF(Py_None
); resultobj
= Py_None
;
30936 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxMenu
*arg1
= (wxMenu
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "self",(char *) "id", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30950 arg2
= (int)SWIG_As_int(obj1
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30968 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxMenu
*arg1
= (wxMenu
*) 0 ;
30972 wxString
*arg3
= 0 ;
30973 bool temp3
= false ;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 PyObject
* obj2
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self",(char *) "id",(char *) "label", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30984 arg2
= (int)SWIG_As_int(obj1
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 arg3
= wxString_in_helper(obj2
);
30988 if (arg3
== NULL
) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 Py_INCREF(Py_None
); resultobj
= Py_None
;
31013 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
;
31015 wxMenu
*arg1
= (wxMenu
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "id", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31027 arg2
= (int)SWIG_As_int(obj1
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31049 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
;
31051 wxMenu
*arg1
= (wxMenu
*) 0 ;
31053 wxString
*arg3
= 0 ;
31054 bool temp3
= false ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 PyObject
* obj2
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self",(char *) "id",(char *) "helpString", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31065 arg2
= (int)SWIG_As_int(obj1
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 arg3
= wxString_in_helper(obj2
);
31069 if (arg3
== NULL
) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 Py_INCREF(Py_None
); resultobj
= Py_None
;
31094 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31095 PyObject
*resultobj
;
31096 wxMenu
*arg1
= (wxMenu
*) 0 ;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 char *kwnames
[] = {
31102 (char *) "self",(char *) "id", NULL
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31108 arg2
= (int)SWIG_As_int(obj1
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31130 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxMenu
*arg1
= (wxMenu
*) 0 ;
31133 wxString
*arg2
= 0 ;
31134 bool temp2
= false ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 char *kwnames
[] = {
31138 (char *) "self",(char *) "title", NULL
31141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 arg2
= wxString_in_helper(obj1
);
31146 if (arg2
== NULL
) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 (arg1
)->SetTitle((wxString
const &)*arg2
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 Py_INCREF(Py_None
); resultobj
= Py_None
;
31171 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxMenu
*arg1
= (wxMenu
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 char *kwnames
[] = {
31177 (char *) "self", NULL
31180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= ((wxMenu
const *)arg1
)->GetTitle();
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31203 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxMenu
*arg1
= (wxMenu
*) 0 ;
31206 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self",(char *) "handler", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 (arg1
)->SetEventHandler(arg2
);
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 Py_INCREF(Py_None
); resultobj
= Py_None
;
31232 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxMenu
*arg1
= (wxMenu
*) 0 ;
31235 wxEvtHandler
*result
;
31236 PyObject
* obj0
= 0 ;
31237 char *kwnames
[] = {
31238 (char *) "self", NULL
31241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= wxPyMake_wxObject(result
, 0);
31260 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxMenu
*arg1
= (wxMenu
*) 0 ;
31263 wxWindow
*arg2
= (wxWindow
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 PyObject
* obj1
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self",(char *) "win", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31277 (arg1
)->SetInvokingWindow(arg2
);
31279 wxPyEndAllowThreads(__tstate
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 Py_INCREF(Py_None
); resultobj
= Py_None
;
31289 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
;
31291 wxMenu
*arg1
= (wxMenu
*) 0 ;
31293 PyObject
* obj0
= 0 ;
31294 char *kwnames
[] = {
31295 (char *) "self", NULL
31298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= wxPyMake_wxObject(result
, 0);
31317 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxMenu
*arg1
= (wxMenu
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_From_long((long)result
);
31343 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
;
31345 wxMenu
*arg1
= (wxMenu
*) 0 ;
31346 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "source", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 (arg1
)->UpdateUI(arg2
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 Py_INCREF(Py_None
); resultobj
= Py_None
;
31374 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxMenu
*arg1
= (wxMenu
*) 0 ;
31378 PyObject
* obj0
= 0 ;
31379 char *kwnames
[] = {
31380 (char *) "self", NULL
31383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= wxPyMake_wxObject(result
, 0);
31402 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
;
31404 wxMenu
*arg1
= (wxMenu
*) 0 ;
31405 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31406 PyObject
* obj0
= 0 ;
31407 PyObject
* obj1
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self",(char *) "menubar", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 (arg1
)->Attach(arg2
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 Py_INCREF(Py_None
); resultobj
= Py_None
;
31431 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxMenu
*arg1
= (wxMenu
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 char *kwnames
[] = {
31436 (char *) "self", NULL
31439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 Py_INCREF(Py_None
); resultobj
= Py_None
;
31456 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxMenu
*arg1
= (wxMenu
*) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31484 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxMenu
*arg1
= (wxMenu
*) 0 ;
31487 wxMenu
*arg2
= (wxMenu
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self",(char *) "parent", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 (arg1
)->SetParent(arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 Py_INCREF(Py_None
); resultobj
= Py_None
;
31513 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxMenu
*arg1
= (wxMenu
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= wxPyMake_wxObject(result
, 0);
31541 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31544 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31546 return Py_BuildValue((char *)"");
31548 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 long arg1
= (long) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 char *kwnames
[] = {
31554 (char *) "style", NULL
31557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31559 arg1
= (long)SWIG_As_long(obj0
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 if (!wxPyCheckForApp()) SWIG_fail
;
31564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31577 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31580 wxMenu
*arg2
= (wxMenu
*) 0 ;
31581 wxString
*arg3
= 0 ;
31583 bool temp3
= false ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 PyObject
* obj2
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self",(char *) "menu",(char *) "title", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31597 arg3
= wxString_in_helper(obj2
);
31598 if (arg3
== NULL
) SWIG_fail
;
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31625 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31629 wxMenu
*arg3
= (wxMenu
*) 0 ;
31630 wxString
*arg4
= 0 ;
31632 bool temp4
= false ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 PyObject
* obj2
= 0 ;
31636 PyObject
* obj3
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31646 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31649 arg4
= wxString_in_helper(obj3
);
31650 if (arg4
== NULL
) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31677 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31681 PyObject
* obj0
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "self", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31703 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31704 PyObject
*resultobj
;
31705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31708 PyObject
* obj0
= 0 ;
31709 PyObject
* obj1
= 0 ;
31710 char *kwnames
[] = {
31711 (char *) "self",(char *) "pos", NULL
31714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31717 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= wxPyMake_wxObject(result
, 0);
31735 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
;
31737 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31739 wxMenu
*arg3
= (wxMenu
*) 0 ;
31740 wxString
*arg4
= 0 ;
31742 bool temp4
= false ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 PyObject
* obj2
= 0 ;
31746 PyObject
* obj3
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31754 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31756 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31759 arg4
= wxString_in_helper(obj3
);
31760 if (arg4
== NULL
) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= wxPyMake_wxObject(result
, 0);
31787 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "pos", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31801 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31811 resultobj
= wxPyMake_wxObject(result
, 0);
31819 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31824 PyObject
* obj0
= 0 ;
31825 PyObject
* obj1
= 0 ;
31826 PyObject
* obj2
= 0 ;
31827 char *kwnames
[] = {
31828 (char *) "self",(char *) "pos",(char *) "enable", NULL
31831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31834 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31836 arg3
= (bool)SWIG_As_bool(obj2
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 (arg1
)->EnableTop(arg2
,arg3
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 Py_INCREF(Py_None
); resultobj
= Py_None
;
31852 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
;
31854 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 PyObject
* obj1
= 0 ;
31859 char *kwnames
[] = {
31860 (char *) "self",(char *) "pos", NULL
31863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31866 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31872 wxPyEndAllowThreads(__tstate
);
31873 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31884 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31885 PyObject
*resultobj
;
31886 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31888 wxString
*arg3
= 0 ;
31889 bool temp3
= false ;
31890 PyObject
* obj0
= 0 ;
31891 PyObject
* obj1
= 0 ;
31892 PyObject
* obj2
= 0 ;
31893 char *kwnames
[] = {
31894 (char *) "self",(char *) "pos",(char *) "label", NULL
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31900 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31903 arg3
= wxString_in_helper(obj2
);
31904 if (arg3
== NULL
) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 Py_INCREF(Py_None
); resultobj
= Py_None
;
31929 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
;
31931 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31934 PyObject
* obj0
= 0 ;
31935 PyObject
* obj1
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "self",(char *) "pos", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31943 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31965 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31968 wxString
*arg2
= 0 ;
31969 wxString
*arg3
= 0 ;
31971 bool temp2
= false ;
31972 bool temp3
= false ;
31973 PyObject
* obj0
= 0 ;
31974 PyObject
* obj1
= 0 ;
31975 PyObject
* obj2
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self",(char *) "menu",(char *) "item", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 arg2
= wxString_in_helper(obj1
);
31985 if (arg2
== NULL
) SWIG_fail
;
31989 arg3
= wxString_in_helper(obj2
);
31990 if (arg3
== NULL
) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_From_int((int)result
);
32023 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
;
32025 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32027 wxMenuItem
*result
;
32028 PyObject
* obj0
= 0 ;
32029 PyObject
* obj1
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self",(char *) "id", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32037 arg2
= (int)SWIG_As_int(obj1
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32043 wxPyEndAllowThreads(__tstate
);
32044 if (PyErr_Occurred()) SWIG_fail
;
32047 resultobj
= wxPyMake_wxObject(result
, 0);
32055 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32056 PyObject
*resultobj
;
32057 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32058 wxString
*arg2
= 0 ;
32060 bool temp2
= false ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self",(char *) "title", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32071 arg2
= wxString_in_helper(obj1
);
32072 if (arg2
== NULL
) SWIG_fail
;
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= SWIG_From_int((int)result
);
32097 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 PyObject
* obj2
= 0 ;
32105 char *kwnames
[] = {
32106 (char *) "self",(char *) "id",(char *) "enable", NULL
32109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32112 arg2
= (int)SWIG_As_int(obj1
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32114 arg3
= (bool)SWIG_As_bool(obj2
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 (arg1
)->Enable(arg2
,arg3
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 Py_INCREF(Py_None
); resultobj
= Py_None
;
32130 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32135 PyObject
* obj0
= 0 ;
32136 PyObject
* obj1
= 0 ;
32137 PyObject
* obj2
= 0 ;
32138 char *kwnames
[] = {
32139 (char *) "self",(char *) "id",(char *) "check", NULL
32142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32145 arg2
= (int)SWIG_As_int(obj1
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32147 arg3
= (bool)SWIG_As_bool(obj2
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 (arg1
)->Check(arg2
,arg3
);
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 Py_INCREF(Py_None
); resultobj
= Py_None
;
32163 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
;
32165 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32168 PyObject
* obj0
= 0 ;
32169 PyObject
* obj1
= 0 ;
32170 char *kwnames
[] = {
32171 (char *) "self",(char *) "id", NULL
32174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32177 arg2
= (int)SWIG_As_int(obj1
);
32178 if (PyErr_Occurred()) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32195 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
;
32197 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32200 PyObject
* obj0
= 0 ;
32201 PyObject
* obj1
= 0 ;
32202 char *kwnames
[] = {
32203 (char *) "self",(char *) "id", NULL
32206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32209 arg2
= (int)SWIG_As_int(obj1
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32215 wxPyEndAllowThreads(__tstate
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32227 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32228 PyObject
*resultobj
;
32229 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32231 wxString
*arg3
= 0 ;
32232 bool temp3
= false ;
32233 PyObject
* obj0
= 0 ;
32234 PyObject
* obj1
= 0 ;
32235 PyObject
* obj2
= 0 ;
32236 char *kwnames
[] = {
32237 (char *) "self",(char *) "id",(char *) "label", NULL
32240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32243 arg2
= (int)SWIG_As_int(obj1
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32246 arg3
= wxString_in_helper(obj2
);
32247 if (arg3
== NULL
) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 Py_INCREF(Py_None
); resultobj
= Py_None
;
32272 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
;
32274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "self",(char *) "id", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32286 arg2
= (int)SWIG_As_int(obj1
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32308 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32312 wxString
*arg3
= 0 ;
32313 bool temp3
= false ;
32314 PyObject
* obj0
= 0 ;
32315 PyObject
* obj1
= 0 ;
32316 PyObject
* obj2
= 0 ;
32317 char *kwnames
[] = {
32318 (char *) "self",(char *) "id",(char *) "helpString", NULL
32321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32324 arg2
= (int)SWIG_As_int(obj1
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 arg3
= wxString_in_helper(obj2
);
32328 if (arg3
== NULL
) SWIG_fail
;
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 Py_INCREF(Py_None
); resultobj
= Py_None
;
32353 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
;
32355 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 PyObject
* obj1
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self",(char *) "id", NULL
32364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32367 arg2
= (int)SWIG_As_int(obj1
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32389 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
;
32391 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32393 PyObject
* obj0
= 0 ;
32394 char *kwnames
[] = {
32395 (char *) "self", NULL
32398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= wxPyMake_wxObject(result
, 0);
32417 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32445 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
;
32447 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32448 wxFrame
*arg2
= (wxFrame
*) 0 ;
32449 PyObject
* obj0
= 0 ;
32450 PyObject
* obj1
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self",(char *) "frame", NULL
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 (arg1
)->Attach(arg2
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
;
32476 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self", NULL
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 Py_INCREF(Py_None
); resultobj
= Py_None
;
32499 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32502 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32504 return Py_BuildValue((char *)"");
32506 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxMenu
*arg1
= (wxMenu
*) NULL
;
32509 int arg2
= (int) wxID_ANY
;
32510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32514 int arg5
= (int) wxITEM_NORMAL
;
32515 wxMenu
*arg6
= (wxMenu
*) NULL
;
32516 wxMenuItem
*result
;
32517 bool temp3
= false ;
32518 bool temp4
= false ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 PyObject
* obj2
= 0 ;
32522 PyObject
* obj3
= 0 ;
32523 PyObject
* obj4
= 0 ;
32524 PyObject
* obj5
= 0 ;
32525 char *kwnames
[] = {
32526 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32535 arg2
= (int)SWIG_As_int(obj1
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32540 arg3
= wxString_in_helper(obj2
);
32541 if (arg3
== NULL
) SWIG_fail
;
32547 arg4
= wxString_in_helper(obj3
);
32548 if (arg4
== NULL
) SWIG_fail
;
32553 arg5
= (int)SWIG_As_int(obj4
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32557 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= wxPyMake_wxObject(result
, 1);
32592 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32596 PyObject
* obj0
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= wxPyMake_wxObject(result
, 0);
32620 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
;
32622 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32623 wxMenu
*arg2
= (wxMenu
*) 0 ;
32624 PyObject
* obj0
= 0 ;
32625 PyObject
* obj1
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self",(char *) "menu", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 (arg1
)->SetMenu(arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 Py_INCREF(Py_None
); resultobj
= Py_None
;
32649 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
;
32651 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32653 PyObject
* obj0
= 0 ;
32654 PyObject
* obj1
= 0 ;
32655 char *kwnames
[] = {
32656 (char *) "self",(char *) "id", NULL
32659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32662 arg2
= (int)SWIG_As_int(obj1
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32666 (arg1
)->SetId(arg2
);
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 Py_INCREF(Py_None
); resultobj
= Py_None
;
32678 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32682 PyObject
* obj0
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self", NULL
32687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_From_int((int)result
);
32704 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
;
32706 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32732 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32733 PyObject
*resultobj
;
32734 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32735 wxString
*arg2
= 0 ;
32736 bool temp2
= false ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "str", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32747 arg2
= wxString_in_helper(obj1
);
32748 if (arg2
== NULL
) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 (arg1
)->SetText((wxString
const &)*arg2
);
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 Py_INCREF(Py_None
); resultobj
= Py_None
;
32773 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
;
32775 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32777 PyObject
* obj0
= 0 ;
32778 char *kwnames
[] = {
32779 (char *) "self", NULL
32782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32805 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32806 PyObject
*resultobj
;
32807 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32809 PyObject
* obj0
= 0 ;
32810 char *kwnames
[] = {
32811 (char *) "self", NULL
32814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32821 result
= (wxString
*) &_result_ref
;
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32829 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32831 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32840 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
;
32842 wxString
*arg1
= 0 ;
32844 bool temp1
= false ;
32845 PyObject
* obj0
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "text", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32852 arg1
= wxString_in_helper(obj0
);
32853 if (arg1
== NULL
) SWIG_fail
;
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32884 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
;
32886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32888 PyObject
* obj0
= 0 ;
32889 char *kwnames
[] = {
32890 (char *) "self", NULL
32893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_From_int((int)result
);
32910 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32914 PyObject
* obj0
= 0 ;
32915 PyObject
* obj1
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self",(char *) "kind", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32923 arg2
= (int)SWIG_As_int(obj1
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 (arg1
)->SetKind((wxItemKind
)arg2
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 Py_INCREF(Py_None
); resultobj
= Py_None
;
32939 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
;
32941 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self",(char *) "checkable", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32952 arg2
= (bool)SWIG_As_bool(obj1
);
32953 if (PyErr_Occurred()) SWIG_fail
;
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 (arg1
)->SetCheckable(arg2
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32961 Py_INCREF(Py_None
); resultobj
= Py_None
;
32968 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
;
32970 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32972 PyObject
* obj0
= 0 ;
32973 char *kwnames
[] = {
32974 (char *) "self", NULL
32977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32996 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
;
32998 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33000 PyObject
* obj0
= 0 ;
33001 char *kwnames
[] = {
33002 (char *) "self", NULL
33005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33024 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33027 wxMenu
*arg2
= (wxMenu
*) 0 ;
33028 PyObject
* obj0
= 0 ;
33029 PyObject
* obj1
= 0 ;
33030 char *kwnames
[] = {
33031 (char *) "self",(char *) "menu", NULL
33034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 (arg1
)->SetSubMenu(arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 Py_INCREF(Py_None
); resultobj
= Py_None
;
33053 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
;
33055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33057 PyObject
* obj0
= 0 ;
33058 char *kwnames
[] = {
33059 (char *) "self", NULL
33062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= wxPyMake_wxObject(result
, 0);
33081 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
;
33083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33084 bool arg2
= (bool) true ;
33085 PyObject
* obj0
= 0 ;
33086 PyObject
* obj1
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "self",(char *) "enable", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33095 arg2
= (bool)SWIG_As_bool(obj1
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->Enable(arg2
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 Py_INCREF(Py_None
); resultobj
= Py_None
;
33112 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33113 PyObject
*resultobj
;
33114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33116 PyObject
* obj0
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33140 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33142 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33143 bool arg2
= (bool) true ;
33144 PyObject
* obj0
= 0 ;
33145 PyObject
* obj1
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self",(char *) "check", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33154 arg2
= (bool)SWIG_As_bool(obj1
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 (arg1
)->Check(arg2
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 Py_INCREF(Py_None
); resultobj
= Py_None
;
33171 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
;
33173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33175 PyObject
* obj0
= 0 ;
33176 char *kwnames
[] = {
33177 (char *) "self", NULL
33180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33199 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33202 PyObject
* obj0
= 0 ;
33203 char *kwnames
[] = {
33204 (char *) "self", NULL
33207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 wxPyEndAllowThreads(__tstate
);
33215 if (PyErr_Occurred()) SWIG_fail
;
33217 Py_INCREF(Py_None
); resultobj
= Py_None
;
33224 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33225 PyObject
*resultobj
;
33226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33227 wxString
*arg2
= 0 ;
33228 bool temp2
= false ;
33229 PyObject
* obj0
= 0 ;
33230 PyObject
* obj1
= 0 ;
33231 char *kwnames
[] = {
33232 (char *) "self",(char *) "str", NULL
33235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33239 arg2
= wxString_in_helper(obj1
);
33240 if (arg2
== NULL
) SWIG_fail
;
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 (arg1
)->SetHelp((wxString
const &)*arg2
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 Py_INCREF(Py_None
); resultobj
= Py_None
;
33265 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
;
33267 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33269 PyObject
* obj0
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33280 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33281 result
= (wxString
*) &_result_ref
;
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33289 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33291 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33300 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33303 wxAcceleratorEntry
*result
;
33304 PyObject
* obj0
= 0 ;
33305 char *kwnames
[] = {
33306 (char *) "self", NULL
33309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33326 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
;
33328 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33329 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 char *kwnames
[] = {
33333 (char *) "self",(char *) "accel", NULL
33336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 (arg1
)->SetAccel(arg2
);
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33348 Py_INCREF(Py_None
); resultobj
= Py_None
;
33355 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
;
33358 char *kwnames
[] = {
33362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 result
= (int)MenuItem_GetDefaultMarginWidth();
33367 wxPyEndAllowThreads(__tstate
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= SWIG_From_int((int)result
);
33377 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33378 PyObject
*resultobj
;
33379 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33380 wxBitmap
*arg2
= 0 ;
33381 PyObject
* obj0
= 0 ;
33382 PyObject
* obj1
= 0 ;
33383 char *kwnames
[] = {
33384 (char *) "self",(char *) "bitmap", NULL
33387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33393 if (arg2
== NULL
) {
33394 PyErr_SetString(PyExc_TypeError
,"null reference");
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 Py_INCREF(Py_None
); resultobj
= Py_None
;
33411 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33412 PyObject
*resultobj
;
33413 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33415 PyObject
* obj0
= 0 ;
33416 char *kwnames
[] = {
33417 (char *) "self", NULL
33420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33427 result
= (wxBitmap
*) &_result_ref
;
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33434 wxBitmap
* resultptr
= new wxBitmap(*result
);
33435 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33443 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33446 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33448 return Py_BuildValue((char *)"");
33450 static int _wrap_ControlNameStr_set(PyObject
*) {
33451 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33456 static PyObject
*_wrap_ControlNameStr_get() {
33461 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33463 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33470 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
;
33472 wxWindow
*arg1
= (wxWindow
*) 0 ;
33473 int arg2
= (int) -1 ;
33474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33478 long arg5
= (long) 0 ;
33479 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33480 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33481 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33486 bool temp7
= false ;
33487 PyObject
* obj0
= 0 ;
33488 PyObject
* obj1
= 0 ;
33489 PyObject
* obj2
= 0 ;
33490 PyObject
* obj3
= 0 ;
33491 PyObject
* obj4
= 0 ;
33492 PyObject
* obj5
= 0 ;
33493 PyObject
* obj6
= 0 ;
33494 char *kwnames
[] = {
33495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33502 arg2
= (int)SWIG_As_int(obj1
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33508 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33514 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33518 arg5
= (long)SWIG_As_long(obj4
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33522 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33525 if (arg6
== NULL
) {
33526 PyErr_SetString(PyExc_TypeError
,"null reference");
33532 arg7
= wxString_in_helper(obj6
);
33533 if (arg7
== NULL
) SWIG_fail
;
33538 if (!wxPyCheckForApp()) SWIG_fail
;
33539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33540 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33560 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
;
33563 char *kwnames
[] = {
33567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33569 if (!wxPyCheckForApp()) SWIG_fail
;
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 result
= (wxControl
*)new wxControl();
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33583 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxControl
*arg1
= (wxControl
*) 0 ;
33586 wxWindow
*arg2
= (wxWindow
*) 0 ;
33587 int arg3
= (int) -1 ;
33588 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33589 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33590 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33591 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33592 long arg6
= (long) 0 ;
33593 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33594 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33595 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33596 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33600 bool temp8
= false ;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 PyObject
* obj2
= 0 ;
33604 PyObject
* obj3
= 0 ;
33605 PyObject
* obj4
= 0 ;
33606 PyObject
* obj5
= 0 ;
33607 PyObject
* obj6
= 0 ;
33608 PyObject
* obj7
= 0 ;
33609 char *kwnames
[] = {
33610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33619 arg3
= (int)SWIG_As_int(obj2
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33635 arg6
= (long)SWIG_As_long(obj5
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33639 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33642 if (arg7
== NULL
) {
33643 PyErr_SetString(PyExc_TypeError
,"null reference");
33649 arg8
= wxString_in_helper(obj7
);
33650 if (arg8
== NULL
) SWIG_fail
;
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33678 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33679 PyObject
*resultobj
;
33680 wxControl
*arg1
= (wxControl
*) 0 ;
33681 wxCommandEvent
*arg2
= 0 ;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "self",(char *) "event", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33694 if (arg2
== NULL
) {
33695 PyErr_SetString(PyExc_TypeError
,"null reference");
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 (arg1
)->Command(*arg2
);
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33705 Py_INCREF(Py_None
); resultobj
= Py_None
;
33712 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33713 PyObject
*resultobj
;
33714 wxControl
*arg1
= (wxControl
*) 0 ;
33716 PyObject
* obj0
= 0 ;
33717 char *kwnames
[] = {
33718 (char *) "self", NULL
33721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (arg1
)->GetLabel();
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33744 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
;
33746 wxControl
*arg1
= (wxControl
*) 0 ;
33747 wxString
*arg2
= 0 ;
33748 bool temp2
= false ;
33749 PyObject
* obj0
= 0 ;
33750 PyObject
* obj1
= 0 ;
33751 char *kwnames
[] = {
33752 (char *) "self",(char *) "label", NULL
33755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33759 arg2
= wxString_in_helper(obj1
);
33760 if (arg2
== NULL
) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 (arg1
)->SetLabel((wxString
const &)*arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33788 wxVisualAttributes result
;
33789 PyObject
* obj0
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "variant", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33796 arg1
= (int)SWIG_As_int(obj0
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33800 if (!wxPyCheckForApp()) SWIG_fail
;
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33808 wxVisualAttributes
* resultptr
;
33809 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33818 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33821 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33823 return Py_BuildValue((char *)"");
33825 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33828 wxString
*arg2
= 0 ;
33829 PyObject
*arg3
= (PyObject
*) NULL
;
33831 bool temp2
= false ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 PyObject
* obj2
= 0 ;
33835 char *kwnames
[] = {
33836 (char *) "self",(char *) "item",(char *) "clientData", NULL
33839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33843 arg2
= wxString_in_helper(obj1
);
33844 if (arg2
== NULL
) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_From_int((int)result
);
33872 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33875 wxArrayString
*arg2
= 0 ;
33876 bool temp2
= false ;
33877 PyObject
* obj0
= 0 ;
33878 PyObject
* obj1
= 0 ;
33879 char *kwnames
[] = {
33880 (char *) "self",(char *) "strings", NULL
33883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33887 if (! PySequence_Check(obj1
)) {
33888 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33891 arg2
= new wxArrayString
;
33893 int i
, len
=PySequence_Length(obj1
);
33894 for (i
=0; i
<len
; i
++) {
33895 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33897 PyObject
* str
= PyObject_Unicode(item
);
33899 PyObject
* str
= PyObject_Str(item
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33902 arg2
->Add(Py2wxString(str
));
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 (arg1
)->Append((wxArrayString
const &)*arg2
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 Py_INCREF(Py_None
); resultobj
= Py_None
;
33916 if (temp2
) delete arg2
;
33921 if (temp2
) delete arg2
;
33927 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33928 PyObject
*resultobj
;
33929 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33930 wxString
*arg2
= 0 ;
33932 PyObject
*arg4
= (PyObject
*) NULL
;
33934 bool temp2
= false ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 PyObject
* obj3
= 0 ;
33939 char *kwnames
[] = {
33940 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33947 arg2
= wxString_in_helper(obj1
);
33948 if (arg2
== NULL
) SWIG_fail
;
33951 arg3
= (int)SWIG_As_int(obj2
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33960 wxPyEndAllowThreads(__tstate
);
33961 if (PyErr_Occurred()) SWIG_fail
;
33963 resultobj
= SWIG_From_int((int)result
);
33978 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 char *kwnames
[] = {
33983 (char *) "self", NULL
33986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 Py_INCREF(Py_None
); resultobj
= Py_None
;
34003 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34004 PyObject
*resultobj
;
34005 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34007 PyObject
* obj0
= 0 ;
34008 PyObject
* obj1
= 0 ;
34009 char *kwnames
[] = {
34010 (char *) "self",(char *) "n", NULL
34013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34016 arg2
= (int)SWIG_As_int(obj1
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 (arg1
)->Delete(arg2
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 Py_INCREF(Py_None
); resultobj
= Py_None
;
34032 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
;
34034 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 char *kwnames
[] = {
34038 (char *) "self", NULL
34041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= SWIG_From_int((int)result
);
34058 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
;
34060 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 char *kwnames
[] = {
34064 (char *) "self", NULL
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34086 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
;
34088 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 char *kwnames
[] = {
34094 (char *) "self",(char *) "n", NULL
34097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34100 arg2
= (int)SWIG_As_int(obj1
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34122 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34123 PyObject
*resultobj
;
34124 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34125 wxArrayString result
;
34126 PyObject
* obj0
= 0 ;
34127 char *kwnames
[] = {
34128 (char *) "self", NULL
34131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= wxArrayString2PyList_helper(result
);
34150 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34151 PyObject
*resultobj
;
34152 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34154 wxString
*arg3
= 0 ;
34155 bool temp3
= false ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 PyObject
* obj2
= 0 ;
34159 char *kwnames
[] = {
34160 (char *) "self",(char *) "n",(char *) "s", NULL
34163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34166 arg2
= (int)SWIG_As_int(obj1
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34169 arg3
= wxString_in_helper(obj2
);
34170 if (arg3
== NULL
) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 Py_INCREF(Py_None
); resultobj
= Py_None
;
34195 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
;
34197 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34198 wxString
*arg2
= 0 ;
34200 bool temp2
= false ;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 char *kwnames
[] = {
34204 (char *) "self",(char *) "s", NULL
34207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34211 arg2
= wxString_in_helper(obj1
);
34212 if (arg2
== NULL
) SWIG_fail
;
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34222 resultobj
= SWIG_From_int((int)result
);
34237 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34238 PyObject
*resultobj
;
34239 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "n", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34250 arg2
= (int)SWIG_As_int(obj1
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 (arg1
)->Select(arg2
);
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34259 Py_INCREF(Py_None
); resultobj
= Py_None
;
34266 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
;
34268 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34270 PyObject
* obj0
= 0 ;
34271 char *kwnames
[] = {
34272 (char *) "self", NULL
34275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= SWIG_From_int((int)result
);
34292 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34324 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34325 PyObject
*resultobj
;
34326 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self",(char *) "n", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34338 arg2
= (int)SWIG_As_int(obj1
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= result
;
34354 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34358 PyObject
*arg3
= (PyObject
*) 0 ;
34359 PyObject
* obj0
= 0 ;
34360 PyObject
* obj1
= 0 ;
34361 PyObject
* obj2
= 0 ;
34362 char *kwnames
[] = {
34363 (char *) "self",(char *) "n",(char *) "clientData", NULL
34366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34369 arg2
= (int)SWIG_As_int(obj1
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 Py_INCREF(Py_None
); resultobj
= Py_None
;
34386 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34389 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34391 return Py_BuildValue((char *)"");
34393 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34396 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34398 return Py_BuildValue((char *)"");
34400 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34401 PyObject
*resultobj
;
34402 wxSizerItem
*result
;
34403 char *kwnames
[] = {
34407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 result
= (wxSizerItem
*)new wxSizerItem();
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34422 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxWindow
*arg1
= (wxWindow
*) 0 ;
34428 PyObject
*arg5
= (PyObject
*) NULL
;
34429 wxSizerItem
*result
;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 PyObject
* obj2
= 0 ;
34433 PyObject
* obj3
= 0 ;
34434 PyObject
* obj4
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34442 arg2
= (int)SWIG_As_int(obj1
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34444 arg3
= (int)SWIG_As_int(obj2
);
34445 if (PyErr_Occurred()) SWIG_fail
;
34446 arg4
= (int)SWIG_As_int(obj3
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34465 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
;
34472 PyObject
*arg6
= (PyObject
*) NULL
;
34473 wxSizerItem
*result
;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 PyObject
* obj2
= 0 ;
34477 PyObject
* obj3
= 0 ;
34478 PyObject
* obj4
= 0 ;
34479 PyObject
* obj5
= 0 ;
34480 char *kwnames
[] = {
34481 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34485 arg1
= (int)SWIG_As_int(obj0
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34487 arg2
= (int)SWIG_As_int(obj1
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34489 arg3
= (int)SWIG_As_int(obj2
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34491 arg4
= (int)SWIG_As_int(obj3
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34493 arg5
= (int)SWIG_As_int(obj4
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34512 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxSizer
*arg1
= (wxSizer
*) 0 ;
34518 PyObject
*arg5
= (PyObject
*) NULL
;
34519 wxSizerItem
*result
;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 PyObject
* obj2
= 0 ;
34523 PyObject
* obj3
= 0 ;
34524 PyObject
* obj4
= 0 ;
34525 char *kwnames
[] = {
34526 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34532 arg2
= (int)SWIG_As_int(obj1
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34534 arg3
= (int)SWIG_As_int(obj2
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34536 arg4
= (int)SWIG_As_int(obj3
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34555 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34558 PyObject
* obj0
= 0 ;
34559 char *kwnames
[] = {
34560 (char *) "self", NULL
34563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 (arg1
)->DeleteWindows();
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 Py_INCREF(Py_None
); resultobj
= Py_None
;
34580 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
;
34582 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 (arg1
)->DetachSizer();
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 Py_INCREF(Py_None
); resultobj
= Py_None
;
34605 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= (arg1
)->GetSize();
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 wxSize
* resultptr
;
34626 resultptr
= new wxSize((wxSize
&) result
);
34627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34635 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
;
34637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 result
= (arg1
)->CalcMin();
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34655 wxSize
* resultptr
;
34656 resultptr
= new wxSize((wxSize
&) result
);
34657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34665 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
;
34667 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34672 PyObject
* obj0
= 0 ;
34673 PyObject
* obj1
= 0 ;
34674 PyObject
* obj2
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self",(char *) "pos",(char *) "size", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34682 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34683 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34685 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34686 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 (arg1
)->SetDimension(arg2
,arg3
);
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34695 Py_INCREF(Py_None
); resultobj
= Py_None
;
34702 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34703 PyObject
*resultobj
;
34704 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34706 PyObject
* obj0
= 0 ;
34707 char *kwnames
[] = {
34708 (char *) "self", NULL
34711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 result
= (arg1
)->GetMinSize();
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34722 wxSize
* resultptr
;
34723 resultptr
= new wxSize((wxSize
&) result
);
34724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34732 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34733 PyObject
*resultobj
;
34734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34736 PyObject
* obj0
= 0 ;
34737 char *kwnames
[] = {
34738 (char *) "self", NULL
34741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34752 wxSize
* resultptr
;
34753 resultptr
= new wxSize((wxSize
&) result
);
34754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34762 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34763 PyObject
*resultobj
;
34764 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34767 PyObject
* obj0
= 0 ;
34768 PyObject
* obj1
= 0 ;
34769 PyObject
* obj2
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self",(char *) "x",(char *) "y", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34777 arg2
= (int)SWIG_As_int(obj1
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34779 arg3
= (int)SWIG_As_int(obj2
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 (arg1
)->SetInitSize(arg2
,arg3
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 PyObject
* obj2
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self",(char *) "width",(char *) "height", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34810 arg2
= (int)SWIG_As_int(obj1
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34812 arg3
= (int)SWIG_As_int(obj2
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->SetRatio(arg2
,arg3
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "size", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34842 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34843 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34847 (arg1
)->SetRatio(arg2
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 Py_INCREF(Py_None
); resultobj
= Py_None
;
34859 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
;
34861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 char *kwnames
[] = {
34866 (char *) "self",(char *) "ratio", NULL
34869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34872 arg2
= (float)SWIG_As_float(obj1
);
34873 if (PyErr_Occurred()) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 (arg1
)->SetRatio(arg2
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 Py_INCREF(Py_None
); resultobj
= Py_None
;
34888 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
;
34890 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34892 PyObject
* obj0
= 0 ;
34893 char *kwnames
[] = {
34894 (char *) "self", NULL
34897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34902 result
= (float)(arg1
)->GetRatio();
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 resultobj
= SWIG_From_float((float)result
);
34914 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
;
34916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34918 PyObject
* obj0
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 result
= (bool)(arg1
)->IsWindow();
34930 wxPyEndAllowThreads(__tstate
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34942 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34943 PyObject
*resultobj
;
34944 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34946 PyObject
* obj0
= 0 ;
34947 char *kwnames
[] = {
34948 (char *) "self", NULL
34951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34956 result
= (bool)(arg1
)->IsSizer();
34958 wxPyEndAllowThreads(__tstate
);
34959 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34970 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34971 PyObject
*resultobj
;
34972 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 char *kwnames
[] = {
34976 (char *) "self", NULL
34979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 result
= (bool)(arg1
)->IsSpacer();
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34998 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 char *kwnames
[] = {
35005 (char *) "self",(char *) "proportion", NULL
35008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35011 arg2
= (int)SWIG_As_int(obj1
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 (arg1
)->SetProportion(arg2
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 Py_INCREF(Py_None
); resultobj
= Py_None
;
35027 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 char *kwnames
[] = {
35033 (char *) "self", NULL
35036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 result
= (int)(arg1
)->GetProportion();
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_From_int((int)result
);
35053 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35057 PyObject
* obj0
= 0 ;
35058 PyObject
* obj1
= 0 ;
35059 char *kwnames
[] = {
35060 (char *) "self",(char *) "flag", NULL
35063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35066 arg2
= (int)SWIG_As_int(obj1
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 (arg1
)->SetFlag(arg2
);
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35075 Py_INCREF(Py_None
); resultobj
= Py_None
;
35082 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
;
35084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= (int)(arg1
)->GetFlag();
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= SWIG_From_int((int)result
);
35108 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
;
35110 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "self",(char *) "border", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35121 arg2
= (int)SWIG_As_int(obj1
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetBorder(arg2
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 Py_INCREF(Py_None
); resultobj
= Py_None
;
35137 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35138 PyObject
*resultobj
;
35139 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35141 PyObject
* obj0
= 0 ;
35142 char *kwnames
[] = {
35143 (char *) "self", NULL
35146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 result
= (int)(arg1
)->GetBorder();
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 resultobj
= SWIG_From_int((int)result
);
35163 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
;
35165 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35167 PyObject
* obj0
= 0 ;
35168 char *kwnames
[] = {
35169 (char *) "self", NULL
35172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 result
= (wxWindow
*)(arg1
)->GetWindow();
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= wxPyMake_wxObject(result
, 0);
35191 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35192 PyObject
*resultobj
;
35193 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35194 wxWindow
*arg2
= (wxWindow
*) 0 ;
35195 PyObject
* obj0
= 0 ;
35196 PyObject
* obj1
= 0 ;
35197 char *kwnames
[] = {
35198 (char *) "self",(char *) "window", NULL
35201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 (arg1
)->SetWindow(arg2
);
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35213 Py_INCREF(Py_None
); resultobj
= Py_None
;
35220 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
;
35222 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35224 PyObject
* obj0
= 0 ;
35225 char *kwnames
[] = {
35226 (char *) "self", NULL
35229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 result
= (wxSizer
*)(arg1
)->GetSizer();
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= wxPyMake_wxSizer(result
, 0);
35248 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
;
35250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35251 wxSizer
*arg2
= (wxSizer
*) 0 ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 char *kwnames
[] = {
35255 (char *) "self",(char *) "sizer", NULL
35258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 (arg1
)->SetSizer(arg2
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 Py_INCREF(Py_None
); resultobj
= Py_None
;
35277 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
;
35279 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35281 PyObject
* obj0
= 0 ;
35282 char *kwnames
[] = {
35283 (char *) "self", NULL
35286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35293 result
= (wxSize
*) &_result_ref
;
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35306 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35311 PyObject
* obj0
= 0 ;
35312 PyObject
* obj1
= 0 ;
35313 char *kwnames
[] = {
35314 (char *) "self",(char *) "size", NULL
35317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35322 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 Py_INCREF(Py_None
); resultobj
= Py_None
;
35338 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35342 PyObject
* obj0
= 0 ;
35343 PyObject
* obj1
= 0 ;
35344 char *kwnames
[] = {
35345 (char *) "self",(char *) "show", NULL
35348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35351 arg2
= (bool)SWIG_As_bool(obj1
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 (arg1
)->Show(arg2
);
35357 wxPyEndAllowThreads(__tstate
);
35358 if (PyErr_Occurred()) SWIG_fail
;
35360 Py_INCREF(Py_None
); resultobj
= Py_None
;
35367 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
;
35369 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35371 PyObject
* obj0
= 0 ;
35372 char *kwnames
[] = {
35373 (char *) "self", NULL
35376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 result
= (bool)(arg1
)->IsShown();
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35395 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 result
= (arg1
)->GetPosition();
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35415 wxPoint
* resultptr
;
35416 resultptr
= new wxPoint((wxPoint
&) result
);
35417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35425 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35426 PyObject
*resultobj
;
35427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35429 PyObject
* obj0
= 0 ;
35430 char *kwnames
[] = {
35431 (char *) "self", NULL
35434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= result
;
35451 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35454 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35456 return Py_BuildValue((char *)"");
35458 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35459 PyObject
*resultobj
;
35460 wxSizer
*arg1
= (wxSizer
*) 0 ;
35461 PyObject
*arg2
= (PyObject
*) 0 ;
35462 PyObject
* obj0
= 0 ;
35463 PyObject
* obj1
= 0 ;
35464 char *kwnames
[] = {
35465 (char *) "self",(char *) "_self", NULL
35468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35474 wxSizer__setOORInfo(arg1
,arg2
);
35476 wxPyEndAllowThreads(__tstate
);
35477 if (PyErr_Occurred()) SWIG_fail
;
35479 Py_INCREF(Py_None
); resultobj
= Py_None
;
35486 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
;
35488 wxSizer
*arg1
= (wxSizer
*) 0 ;
35489 PyObject
*arg2
= (PyObject
*) 0 ;
35490 int arg3
= (int) 0 ;
35491 int arg4
= (int) 0 ;
35492 int arg5
= (int) 0 ;
35493 PyObject
*arg6
= (PyObject
*) NULL
;
35494 PyObject
* obj0
= 0 ;
35495 PyObject
* obj1
= 0 ;
35496 PyObject
* obj2
= 0 ;
35497 PyObject
* obj3
= 0 ;
35498 PyObject
* obj4
= 0 ;
35499 PyObject
* obj5
= 0 ;
35500 char *kwnames
[] = {
35501 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35509 arg3
= (int)SWIG_As_int(obj2
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 arg4
= (int)SWIG_As_int(obj3
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35517 arg5
= (int)SWIG_As_int(obj4
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35527 wxPyEndAllowThreads(__tstate
);
35528 if (PyErr_Occurred()) SWIG_fail
;
35530 Py_INCREF(Py_None
); resultobj
= Py_None
;
35537 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35538 PyObject
*resultobj
;
35539 wxSizer
*arg1
= (wxSizer
*) 0 ;
35541 PyObject
*arg3
= (PyObject
*) 0 ;
35542 int arg4
= (int) 0 ;
35543 int arg5
= (int) 0 ;
35544 int arg6
= (int) 0 ;
35545 PyObject
*arg7
= (PyObject
*) NULL
;
35546 PyObject
* obj0
= 0 ;
35547 PyObject
* obj1
= 0 ;
35548 PyObject
* obj2
= 0 ;
35549 PyObject
* obj3
= 0 ;
35550 PyObject
* obj4
= 0 ;
35551 PyObject
* obj5
= 0 ;
35552 PyObject
* obj6
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35560 arg2
= (int)SWIG_As_int(obj1
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35564 arg4
= (int)SWIG_As_int(obj3
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35568 arg5
= (int)SWIG_As_int(obj4
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35572 arg6
= (int)SWIG_As_int(obj5
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35580 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35582 wxPyEndAllowThreads(__tstate
);
35583 if (PyErr_Occurred()) SWIG_fail
;
35585 Py_INCREF(Py_None
); resultobj
= Py_None
;
35592 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35593 PyObject
*resultobj
;
35594 wxSizer
*arg1
= (wxSizer
*) 0 ;
35595 PyObject
*arg2
= (PyObject
*) 0 ;
35596 int arg3
= (int) 0 ;
35597 int arg4
= (int) 0 ;
35598 int arg5
= (int) 0 ;
35599 PyObject
*arg6
= (PyObject
*) NULL
;
35600 PyObject
* obj0
= 0 ;
35601 PyObject
* obj1
= 0 ;
35602 PyObject
* obj2
= 0 ;
35603 PyObject
* obj3
= 0 ;
35604 PyObject
* obj4
= 0 ;
35605 PyObject
* obj5
= 0 ;
35606 char *kwnames
[] = {
35607 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35615 arg3
= (int)SWIG_As_int(obj2
);
35616 if (PyErr_Occurred()) SWIG_fail
;
35619 arg4
= (int)SWIG_As_int(obj3
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35623 arg5
= (int)SWIG_As_int(obj4
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35633 wxPyEndAllowThreads(__tstate
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35636 Py_INCREF(Py_None
); resultobj
= Py_None
;
35643 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35644 PyObject
*resultobj
;
35645 wxSizer
*arg1
= (wxSizer
*) 0 ;
35646 PyObject
*arg2
= (PyObject
*) 0 ;
35648 PyObject
* obj0
= 0 ;
35649 PyObject
* obj1
= 0 ;
35650 char *kwnames
[] = {
35651 (char *) "self",(char *) "item", NULL
35654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35674 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35675 PyObject
*resultobj
;
35676 wxSizer
*arg1
= (wxSizer
*) 0 ;
35677 PyObject
*arg2
= (PyObject
*) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 char *kwnames
[] = {
35682 (char *) "self",(char *) "item", NULL
35685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35705 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35706 PyObject
*resultobj
;
35707 wxSizer
*arg1
= (wxSizer
*) 0 ;
35708 PyObject
*arg2
= (PyObject
*) 0 ;
35711 PyObject
* obj0
= 0 ;
35712 PyObject
* obj1
= 0 ;
35713 PyObject
* obj2
= 0 ;
35714 char *kwnames
[] = {
35715 (char *) "self",(char *) "item",(char *) "size", NULL
35718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35724 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35728 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35730 wxPyEndAllowThreads(__tstate
);
35731 if (PyErr_Occurred()) SWIG_fail
;
35733 Py_INCREF(Py_None
); resultobj
= Py_None
;
35740 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35741 PyObject
*resultobj
;
35742 wxSizer
*arg1
= (wxSizer
*) 0 ;
35743 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35744 PyObject
* obj0
= 0 ;
35745 PyObject
* obj1
= 0 ;
35746 char *kwnames
[] = {
35747 (char *) "self",(char *) "item", NULL
35750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 Py_INCREF(Py_None
); resultobj
= Py_None
;
35769 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
;
35771 wxSizer
*arg1
= (wxSizer
*) 0 ;
35773 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35774 PyObject
* obj0
= 0 ;
35775 PyObject
* obj1
= 0 ;
35776 PyObject
* obj2
= 0 ;
35777 char *kwnames
[] = {
35778 (char *) "self",(char *) "index",(char *) "item", NULL
35781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35784 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35786 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 (arg1
)->Insert(arg2
,arg3
);
35792 wxPyEndAllowThreads(__tstate
);
35793 if (PyErr_Occurred()) SWIG_fail
;
35795 Py_INCREF(Py_None
); resultobj
= Py_None
;
35802 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
;
35804 wxSizer
*arg1
= (wxSizer
*) 0 ;
35805 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35806 PyObject
* obj0
= 0 ;
35807 PyObject
* obj1
= 0 ;
35808 char *kwnames
[] = {
35809 (char *) "self",(char *) "item", NULL
35812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35819 (arg1
)->Prepend(arg2
);
35821 wxPyEndAllowThreads(__tstate
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35824 Py_INCREF(Py_None
); resultobj
= Py_None
;
35831 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35832 PyObject
*resultobj
;
35833 wxSizer
*arg1
= (wxSizer
*) 0 ;
35838 PyObject
* obj0
= 0 ;
35839 PyObject
* obj1
= 0 ;
35840 PyObject
* obj2
= 0 ;
35841 PyObject
* obj3
= 0 ;
35842 PyObject
* obj4
= 0 ;
35843 char *kwnames
[] = {
35844 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35850 arg2
= (int)SWIG_As_int(obj1
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35852 arg3
= (int)SWIG_As_int(obj2
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35854 arg4
= (int)SWIG_As_int(obj3
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35856 arg5
= (int)SWIG_As_int(obj4
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35862 wxPyEndAllowThreads(__tstate
);
35863 if (PyErr_Occurred()) SWIG_fail
;
35865 Py_INCREF(Py_None
); resultobj
= Py_None
;
35872 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
;
35874 wxSizer
*arg1
= (wxSizer
*) 0 ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 char *kwnames
[] = {
35880 (char *) "self",(char *) "size", NULL
35883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35888 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 Py_INCREF(Py_None
); resultobj
= Py_None
;
35904 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
;
35906 wxSizer
*arg1
= (wxSizer
*) 0 ;
35908 PyObject
* obj0
= 0 ;
35909 char *kwnames
[] = {
35910 (char *) "self", NULL
35913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 result
= (arg1
)->GetSize();
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35924 wxSize
* resultptr
;
35925 resultptr
= new wxSize((wxSize
&) result
);
35926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35934 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
;
35936 wxSizer
*arg1
= (wxSizer
*) 0 ;
35938 PyObject
* obj0
= 0 ;
35939 char *kwnames
[] = {
35940 (char *) "self", NULL
35943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 result
= (arg1
)->GetPosition();
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35954 wxPoint
* resultptr
;
35955 resultptr
= new wxPoint((wxPoint
&) result
);
35956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35964 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35965 PyObject
*resultobj
;
35966 wxSizer
*arg1
= (wxSizer
*) 0 ;
35968 PyObject
* obj0
= 0 ;
35969 char *kwnames
[] = {
35970 (char *) "self", NULL
35973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 result
= (arg1
)->GetMinSize();
35980 wxPyEndAllowThreads(__tstate
);
35981 if (PyErr_Occurred()) SWIG_fail
;
35984 wxSize
* resultptr
;
35985 resultptr
= new wxSize((wxSize
&) result
);
35986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35994 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35995 PyObject
*resultobj
;
35996 wxSizer
*arg1
= (wxSizer
*) 0 ;
35997 PyObject
* obj0
= 0 ;
35998 char *kwnames
[] = {
35999 (char *) "self", NULL
36002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 (arg1
)->RecalcSizes();
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36012 Py_INCREF(Py_None
); resultobj
= Py_None
;
36019 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36020 PyObject
*resultobj
;
36021 wxSizer
*arg1
= (wxSizer
*) 0 ;
36023 PyObject
* obj0
= 0 ;
36024 char *kwnames
[] = {
36025 (char *) "self", NULL
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36033 result
= (arg1
)->CalcMin();
36035 wxPyEndAllowThreads(__tstate
);
36036 if (PyErr_Occurred()) SWIG_fail
;
36039 wxSize
* resultptr
;
36040 resultptr
= new wxSize((wxSize
&) result
);
36041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36049 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
;
36051 wxSizer
*arg1
= (wxSizer
*) 0 ;
36052 PyObject
* obj0
= 0 ;
36053 char *kwnames
[] = {
36054 (char *) "self", NULL
36057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 Py_INCREF(Py_None
); resultobj
= Py_None
;
36074 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36075 PyObject
*resultobj
;
36076 wxSizer
*arg1
= (wxSizer
*) 0 ;
36077 wxWindow
*arg2
= (wxWindow
*) 0 ;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 char *kwnames
[] = {
36082 (char *) "self",(char *) "window", NULL
36085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= (arg1
)->Fit(arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36098 wxSize
* resultptr
;
36099 resultptr
= new wxSize((wxSize
&) result
);
36100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36108 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
;
36110 wxSizer
*arg1
= (wxSizer
*) 0 ;
36111 wxWindow
*arg2
= (wxWindow
*) 0 ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 char *kwnames
[] = {
36115 (char *) "self",(char *) "window", NULL
36118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 (arg1
)->FitInside(arg2
);
36127 wxPyEndAllowThreads(__tstate
);
36128 if (PyErr_Occurred()) SWIG_fail
;
36130 Py_INCREF(Py_None
); resultobj
= Py_None
;
36137 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36138 PyObject
*resultobj
;
36139 wxSizer
*arg1
= (wxSizer
*) 0 ;
36140 wxWindow
*arg2
= (wxWindow
*) 0 ;
36141 PyObject
* obj0
= 0 ;
36142 PyObject
* obj1
= 0 ;
36143 char *kwnames
[] = {
36144 (char *) "self",(char *) "window", NULL
36147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 (arg1
)->SetSizeHints(arg2
);
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 Py_INCREF(Py_None
); resultobj
= Py_None
;
36166 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36167 PyObject
*resultobj
;
36168 wxSizer
*arg1
= (wxSizer
*) 0 ;
36169 wxWindow
*arg2
= (wxWindow
*) 0 ;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 char *kwnames
[] = {
36173 (char *) "self",(char *) "window", NULL
36176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36183 (arg1
)->SetVirtualSizeHints(arg2
);
36185 wxPyEndAllowThreads(__tstate
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36188 Py_INCREF(Py_None
); resultobj
= Py_None
;
36195 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
;
36197 wxSizer
*arg1
= (wxSizer
*) 0 ;
36198 bool arg2
= (bool) false ;
36199 PyObject
* obj0
= 0 ;
36200 PyObject
* obj1
= 0 ;
36201 char *kwnames
[] = {
36202 (char *) "self",(char *) "deleteWindows", NULL
36205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36209 arg2
= (bool)SWIG_As_bool(obj1
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 (arg1
)->Clear(arg2
);
36216 wxPyEndAllowThreads(__tstate
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36219 Py_INCREF(Py_None
); resultobj
= Py_None
;
36226 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36227 PyObject
*resultobj
;
36228 wxSizer
*arg1
= (wxSizer
*) 0 ;
36229 PyObject
* obj0
= 0 ;
36230 char *kwnames
[] = {
36231 (char *) "self", NULL
36234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36239 (arg1
)->DeleteWindows();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 Py_INCREF(Py_None
); resultobj
= Py_None
;
36251 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
;
36253 wxSizer
*arg1
= (wxSizer
*) 0 ;
36255 PyObject
* obj0
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= result
;
36277 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
;
36279 wxSizer
*arg1
= (wxSizer
*) 0 ;
36280 PyObject
*arg2
= (PyObject
*) 0 ;
36281 bool arg3
= (bool) true ;
36282 bool arg4
= (bool) false ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 PyObject
* obj2
= 0 ;
36287 PyObject
* obj3
= 0 ;
36288 char *kwnames
[] = {
36289 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36297 arg3
= (bool)SWIG_As_bool(obj2
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36301 arg4
= (bool)SWIG_As_bool(obj3
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36320 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxSizer
*arg1
= (wxSizer
*) 0 ;
36323 PyObject
*arg2
= (PyObject
*) 0 ;
36325 PyObject
* obj0
= 0 ;
36326 PyObject
* obj1
= 0 ;
36327 char *kwnames
[] = {
36328 (char *) "self",(char *) "item", NULL
36331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36351 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
;
36353 wxSizer
*arg1
= (wxSizer
*) 0 ;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "self",(char *) "show", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36364 arg2
= (bool)SWIG_As_bool(obj1
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->ShowItems(arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 Py_INCREF(Py_None
); resultobj
= Py_None
;
36380 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36383 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36385 return Py_BuildValue((char *)"");
36387 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36388 PyObject
*resultobj
;
36390 char *kwnames
[] = {
36394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 result
= (wxPySizer
*)new wxPySizer();
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36409 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36410 PyObject
*resultobj
;
36411 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36412 PyObject
*arg2
= (PyObject
*) 0 ;
36413 PyObject
*arg3
= (PyObject
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 PyObject
* obj2
= 0 ;
36417 char *kwnames
[] = {
36418 (char *) "self",(char *) "self",(char *) "_class", NULL
36421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 Py_INCREF(Py_None
); resultobj
= Py_None
;
36440 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36443 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36445 return Py_BuildValue((char *)"");
36447 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
;
36449 int arg1
= (int) wxHORIZONTAL
;
36450 wxBoxSizer
*result
;
36451 PyObject
* obj0
= 0 ;
36452 char *kwnames
[] = {
36453 (char *) "orient", NULL
36456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36458 arg1
= (int)SWIG_As_int(obj0
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36463 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36475 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
;
36477 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36479 PyObject
* obj0
= 0 ;
36480 char *kwnames
[] = {
36481 (char *) "self", NULL
36484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 result
= (int)(arg1
)->GetOrientation();
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= SWIG_From_int((int)result
);
36501 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36502 PyObject
*resultobj
;
36503 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char *kwnames
[] = {
36508 (char *) "self",(char *) "orient", NULL
36511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36514 arg2
= (int)SWIG_As_int(obj1
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36518 (arg1
)->SetOrientation(arg2
);
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36523 Py_INCREF(Py_None
); resultobj
= Py_None
;
36530 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36533 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36535 return Py_BuildValue((char *)"");
36537 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36540 int arg2
= (int) wxHORIZONTAL
;
36541 wxStaticBoxSizer
*result
;
36542 PyObject
* obj0
= 0 ;
36543 PyObject
* obj1
= 0 ;
36544 char *kwnames
[] = {
36545 (char *) "box",(char *) "orient", NULL
36548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36552 arg2
= (int)SWIG_As_int(obj1
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36569 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
;
36571 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36572 wxStaticBox
*result
;
36573 PyObject
* obj0
= 0 ;
36574 char *kwnames
[] = {
36575 (char *) "self", NULL
36578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36585 wxPyEndAllowThreads(__tstate
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36589 resultobj
= wxPyMake_wxObject(result
, 0);
36597 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36600 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36602 return Py_BuildValue((char *)"");
36604 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
;
36606 int arg1
= (int) 1 ;
36607 int arg2
= (int) 0 ;
36608 int arg3
= (int) 0 ;
36609 int arg4
= (int) 0 ;
36610 wxGridSizer
*result
;
36611 PyObject
* obj0
= 0 ;
36612 PyObject
* obj1
= 0 ;
36613 PyObject
* obj2
= 0 ;
36614 PyObject
* obj3
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36621 arg1
= (int)SWIG_As_int(obj0
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36625 arg2
= (int)SWIG_As_int(obj1
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36629 arg3
= (int)SWIG_As_int(obj2
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36633 arg4
= (int)SWIG_As_int(obj3
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36650 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
;
36652 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36654 PyObject
* obj0
= 0 ;
36655 PyObject
* obj1
= 0 ;
36656 char *kwnames
[] = {
36657 (char *) "self",(char *) "cols", NULL
36660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36663 arg2
= (int)SWIG_As_int(obj1
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 (arg1
)->SetCols(arg2
);
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 Py_INCREF(Py_None
); resultobj
= Py_None
;
36679 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
;
36681 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 char *kwnames
[] = {
36686 (char *) "self",(char *) "rows", NULL
36689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36692 arg2
= (int)SWIG_As_int(obj1
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->SetRows(arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 Py_INCREF(Py_None
); resultobj
= Py_None
;
36708 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 PyObject
* obj1
= 0 ;
36714 char *kwnames
[] = {
36715 (char *) "self",(char *) "gap", NULL
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36721 arg2
= (int)SWIG_As_int(obj1
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36725 (arg1
)->SetVGap(arg2
);
36727 wxPyEndAllowThreads(__tstate
);
36728 if (PyErr_Occurred()) SWIG_fail
;
36730 Py_INCREF(Py_None
); resultobj
= Py_None
;
36737 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36738 PyObject
*resultobj
;
36739 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char *kwnames
[] = {
36744 (char *) "self",(char *) "gap", NULL
36747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36750 arg2
= (int)SWIG_As_int(obj1
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 (arg1
)->SetHGap(arg2
);
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36759 Py_INCREF(Py_None
); resultobj
= Py_None
;
36766 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
;
36768 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 result
= (int)(arg1
)->GetCols();
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_From_int((int)result
);
36792 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
;
36794 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36796 PyObject
* obj0
= 0 ;
36797 char *kwnames
[] = {
36798 (char *) "self", NULL
36801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 result
= (int)(arg1
)->GetRows();
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= SWIG_From_int((int)result
);
36818 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
;
36820 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 char *kwnames
[] = {
36824 (char *) "self", NULL
36827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 result
= (int)(arg1
)->GetVGap();
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= SWIG_From_int((int)result
);
36844 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36845 PyObject
*resultobj
;
36846 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36848 PyObject
* obj0
= 0 ;
36849 char *kwnames
[] = {
36850 (char *) "self", NULL
36853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 result
= (int)(arg1
)->GetHGap();
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 resultobj
= SWIG_From_int((int)result
);
36870 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36873 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36875 return Py_BuildValue((char *)"");
36877 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36878 PyObject
*resultobj
;
36879 int arg1
= (int) 1 ;
36880 int arg2
= (int) 0 ;
36881 int arg3
= (int) 0 ;
36882 int arg4
= (int) 0 ;
36883 wxFlexGridSizer
*result
;
36884 PyObject
* obj0
= 0 ;
36885 PyObject
* obj1
= 0 ;
36886 PyObject
* obj2
= 0 ;
36887 PyObject
* obj3
= 0 ;
36888 char *kwnames
[] = {
36889 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36894 arg1
= (int)SWIG_As_int(obj0
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36898 arg2
= (int)SWIG_As_int(obj1
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36902 arg3
= (int)SWIG_As_int(obj2
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36906 arg4
= (int)SWIG_As_int(obj3
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36923 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36927 int arg3
= (int) 0 ;
36928 PyObject
* obj0
= 0 ;
36929 PyObject
* obj1
= 0 ;
36930 PyObject
* obj2
= 0 ;
36931 char *kwnames
[] = {
36932 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36938 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36941 arg3
= (int)SWIG_As_int(obj2
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 (arg1
)->AddGrowableRow(arg2
,arg3
);
36948 wxPyEndAllowThreads(__tstate
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36951 Py_INCREF(Py_None
); resultobj
= Py_None
;
36958 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36959 PyObject
*resultobj
;
36960 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36962 PyObject
* obj0
= 0 ;
36963 PyObject
* obj1
= 0 ;
36964 char *kwnames
[] = {
36965 (char *) "self",(char *) "idx", NULL
36968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36971 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 (arg1
)->RemoveGrowableRow(arg2
);
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36980 Py_INCREF(Py_None
); resultobj
= Py_None
;
36987 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36988 PyObject
*resultobj
;
36989 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36991 int arg3
= (int) 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 PyObject
* obj2
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37002 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 arg3
= (int)SWIG_As_int(obj2
);
37006 if (PyErr_Occurred()) SWIG_fail
;
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 (arg1
)->AddGrowableCol(arg2
,arg3
);
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 Py_INCREF(Py_None
); resultobj
= Py_None
;
37022 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
;
37024 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37026 PyObject
* obj0
= 0 ;
37027 PyObject
* obj1
= 0 ;
37028 char *kwnames
[] = {
37029 (char *) "self",(char *) "idx", NULL
37032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37035 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 (arg1
)->RemoveGrowableCol(arg2
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 Py_INCREF(Py_None
); resultobj
= Py_None
;
37051 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
;
37053 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 char *kwnames
[] = {
37058 (char *) "self",(char *) "direction", NULL
37061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37064 arg2
= (int)SWIG_As_int(obj1
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->SetFlexibleDirection(arg2
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 Py_INCREF(Py_None
); resultobj
= Py_None
;
37080 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
;
37082 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37084 PyObject
* obj0
= 0 ;
37085 char *kwnames
[] = {
37086 (char *) "self", NULL
37089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 result
= (int)(arg1
)->GetFlexibleDirection();
37096 wxPyEndAllowThreads(__tstate
);
37097 if (PyErr_Occurred()) SWIG_fail
;
37099 resultobj
= SWIG_From_int((int)result
);
37106 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
;
37108 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37110 PyObject
* obj0
= 0 ;
37111 PyObject
* obj1
= 0 ;
37112 char *kwnames
[] = {
37113 (char *) "self",(char *) "mode", NULL
37116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37119 arg2
= (int)SWIG_As_int(obj1
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 Py_INCREF(Py_None
); resultobj
= Py_None
;
37135 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
;
37137 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37139 PyObject
* obj0
= 0 ;
37140 char *kwnames
[] = {
37141 (char *) "self", NULL
37144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37149 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37154 resultobj
= SWIG_From_int((int)result
);
37161 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37162 PyObject
*resultobj
;
37163 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37164 wxArrayInt
*result
;
37165 PyObject
* obj0
= 0 ;
37166 char *kwnames
[] = {
37167 (char *) "self", NULL
37170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37177 result
= (wxArrayInt
*) &_result_ref
;
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37184 resultobj
= PyList_New(0);
37186 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37187 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37188 PyList_Append(resultobj
, val
);
37198 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
;
37200 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37201 wxArrayInt
*result
;
37202 PyObject
* obj0
= 0 ;
37203 char *kwnames
[] = {
37204 (char *) "self", NULL
37207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37214 result
= (wxArrayInt
*) &_result_ref
;
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= PyList_New(0);
37223 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37224 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37225 PyList_Append(resultobj
, val
);
37235 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37238 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37240 return Py_BuildValue((char *)"");
37242 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37243 PyObject
*resultobj
;
37244 int arg1
= (int) 0 ;
37245 int arg2
= (int) 0 ;
37246 wxGBPosition
*result
;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 char *kwnames
[] = {
37250 (char *) "row",(char *) "col", NULL
37253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37255 arg1
= (int)SWIG_As_int(obj0
);
37256 if (PyErr_Occurred()) SWIG_fail
;
37259 arg2
= (int)SWIG_As_int(obj1
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37264 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37276 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
;
37278 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37280 PyObject
* obj0
= 0 ;
37281 char *kwnames
[] = {
37282 (char *) "self", NULL
37285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= SWIG_From_int((int)result
);
37302 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37303 PyObject
*resultobj
;
37304 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37306 PyObject
* obj0
= 0 ;
37307 char *kwnames
[] = {
37308 (char *) "self", NULL
37311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_From_int((int)result
);
37328 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
;
37330 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 char *kwnames
[] = {
37335 (char *) "self",(char *) "row", NULL
37338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37341 arg2
= (int)SWIG_As_int(obj1
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 (arg1
)->SetRow(arg2
);
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37350 Py_INCREF(Py_None
); resultobj
= Py_None
;
37357 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37358 PyObject
*resultobj
;
37359 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char *kwnames
[] = {
37364 (char *) "self",(char *) "col", NULL
37367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37370 arg2
= (int)SWIG_As_int(obj1
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37374 (arg1
)->SetCol(arg2
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37379 Py_INCREF(Py_None
); resultobj
= Py_None
;
37386 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37387 PyObject
*resultobj
;
37388 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37389 wxGBPosition
*arg2
= 0 ;
37391 wxGBPosition temp2
;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37394 char *kwnames
[] = {
37395 (char *) "self",(char *) "other", NULL
37398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37403 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37421 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37422 PyObject
*resultobj
;
37423 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37424 wxGBPosition
*arg2
= 0 ;
37426 wxGBPosition temp2
;
37427 PyObject
* obj0
= 0 ;
37428 PyObject
* obj1
= 0 ;
37429 char *kwnames
[] = {
37430 (char *) "self",(char *) "other", NULL
37433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37438 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37442 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37444 wxPyEndAllowThreads(__tstate
);
37445 if (PyErr_Occurred()) SWIG_fail
;
37448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37456 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37457 PyObject
*resultobj
;
37458 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37459 int arg2
= (int) 0 ;
37460 int arg3
= (int) 0 ;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 PyObject
* obj2
= 0 ;
37464 char *kwnames
[] = {
37465 (char *) "self",(char *) "row",(char *) "col", NULL
37468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37472 arg2
= (int)SWIG_As_int(obj1
);
37473 if (PyErr_Occurred()) SWIG_fail
;
37476 arg3
= (int)SWIG_As_int(obj2
);
37477 if (PyErr_Occurred()) SWIG_fail
;
37480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37481 wxGBPosition_Set(arg1
,arg2
,arg3
);
37483 wxPyEndAllowThreads(__tstate
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37486 Py_INCREF(Py_None
); resultobj
= Py_None
;
37493 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37494 PyObject
*resultobj
;
37495 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37497 PyObject
* obj0
= 0 ;
37498 char *kwnames
[] = {
37499 (char *) "self", NULL
37502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37507 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37509 wxPyEndAllowThreads(__tstate
);
37510 if (PyErr_Occurred()) SWIG_fail
;
37512 resultobj
= result
;
37519 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37522 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37524 return Py_BuildValue((char *)"");
37526 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37527 PyObject
*resultobj
;
37528 int arg1
= (int) 1 ;
37529 int arg2
= (int) 1 ;
37531 PyObject
* obj0
= 0 ;
37532 PyObject
* obj1
= 0 ;
37533 char *kwnames
[] = {
37534 (char *) "rowspan",(char *) "colspan", NULL
37537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37539 arg1
= (int)SWIG_As_int(obj0
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37543 arg2
= (int)SWIG_As_int(obj1
);
37544 if (PyErr_Occurred()) SWIG_fail
;
37547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37548 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37550 wxPyEndAllowThreads(__tstate
);
37551 if (PyErr_Occurred()) SWIG_fail
;
37553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37560 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37561 PyObject
*resultobj
;
37562 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37564 PyObject
* obj0
= 0 ;
37565 char *kwnames
[] = {
37566 (char *) "self", NULL
37569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37574 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37579 resultobj
= SWIG_From_int((int)result
);
37586 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37587 PyObject
*resultobj
;
37588 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37590 PyObject
* obj0
= 0 ;
37591 char *kwnames
[] = {
37592 (char *) "self", NULL
37595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37602 wxPyEndAllowThreads(__tstate
);
37603 if (PyErr_Occurred()) SWIG_fail
;
37605 resultobj
= SWIG_From_int((int)result
);
37612 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 char *kwnames
[] = {
37619 (char *) "self",(char *) "rowspan", NULL
37622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37625 arg2
= (int)SWIG_As_int(obj1
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 (arg1
)->SetRowspan(arg2
);
37631 wxPyEndAllowThreads(__tstate
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37634 Py_INCREF(Py_None
); resultobj
= Py_None
;
37641 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37642 PyObject
*resultobj
;
37643 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 char *kwnames
[] = {
37648 (char *) "self",(char *) "colspan", NULL
37651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37654 arg2
= (int)SWIG_As_int(obj1
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37658 (arg1
)->SetColspan(arg2
);
37660 wxPyEndAllowThreads(__tstate
);
37661 if (PyErr_Occurred()) SWIG_fail
;
37663 Py_INCREF(Py_None
); resultobj
= Py_None
;
37670 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
;
37672 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37673 wxGBSpan
*arg2
= 0 ;
37676 PyObject
* obj0
= 0 ;
37677 PyObject
* obj1
= 0 ;
37678 char *kwnames
[] = {
37679 (char *) "self",(char *) "other", NULL
37682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37687 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37691 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37693 wxPyEndAllowThreads(__tstate
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37705 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37706 PyObject
*resultobj
;
37707 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37708 wxGBSpan
*arg2
= 0 ;
37711 PyObject
* obj0
= 0 ;
37712 PyObject
* obj1
= 0 ;
37713 char *kwnames
[] = {
37714 (char *) "self",(char *) "other", NULL
37717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37722 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37740 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37741 PyObject
*resultobj
;
37742 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37743 int arg2
= (int) 1 ;
37744 int arg3
= (int) 1 ;
37745 PyObject
* obj0
= 0 ;
37746 PyObject
* obj1
= 0 ;
37747 PyObject
* obj2
= 0 ;
37748 char *kwnames
[] = {
37749 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37756 arg2
= (int)SWIG_As_int(obj1
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37760 arg3
= (int)SWIG_As_int(obj2
);
37761 if (PyErr_Occurred()) SWIG_fail
;
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 wxGBSpan_Set(arg1
,arg2
,arg3
);
37767 wxPyEndAllowThreads(__tstate
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37770 Py_INCREF(Py_None
); resultobj
= Py_None
;
37777 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
;
37779 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37781 PyObject
* obj0
= 0 ;
37782 char *kwnames
[] = {
37783 (char *) "self", NULL
37786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37796 resultobj
= result
;
37803 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37806 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37808 return Py_BuildValue((char *)"");
37810 static int _wrap_DefaultSpan_set(PyObject
*) {
37811 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37816 static PyObject
*_wrap_DefaultSpan_get() {
37819 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37824 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
;
37826 wxGBSizerItem
*result
;
37827 char *kwnames
[] = {
37831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37846 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
;
37848 wxWindow
*arg1
= (wxWindow
*) 0 ;
37849 wxGBPosition
*arg2
= 0 ;
37850 wxGBSpan
*arg3
= 0 ;
37853 PyObject
*arg6
= (PyObject
*) NULL
;
37854 wxGBSizerItem
*result
;
37855 wxGBPosition temp2
;
37857 PyObject
* obj0
= 0 ;
37858 PyObject
* obj1
= 0 ;
37859 PyObject
* obj2
= 0 ;
37860 PyObject
* obj3
= 0 ;
37861 PyObject
* obj4
= 0 ;
37862 PyObject
* obj5
= 0 ;
37863 char *kwnames
[] = {
37864 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37872 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37876 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37878 arg4
= (int)SWIG_As_int(obj3
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37880 arg5
= (int)SWIG_As_int(obj4
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37899 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37900 PyObject
*resultobj
;
37901 wxSizer
*arg1
= (wxSizer
*) 0 ;
37902 wxGBPosition
*arg2
= 0 ;
37903 wxGBSpan
*arg3
= 0 ;
37906 PyObject
*arg6
= (PyObject
*) NULL
;
37907 wxGBSizerItem
*result
;
37908 wxGBPosition temp2
;
37910 PyObject
* obj0
= 0 ;
37911 PyObject
* obj1
= 0 ;
37912 PyObject
* obj2
= 0 ;
37913 PyObject
* obj3
= 0 ;
37914 PyObject
* obj4
= 0 ;
37915 PyObject
* obj5
= 0 ;
37916 char *kwnames
[] = {
37917 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37925 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37929 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37931 arg4
= (int)SWIG_As_int(obj3
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37933 arg5
= (int)SWIG_As_int(obj4
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37942 wxPyEndAllowThreads(__tstate
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37952 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
;
37956 wxGBPosition
*arg3
= 0 ;
37957 wxGBSpan
*arg4
= 0 ;
37960 PyObject
*arg7
= (PyObject
*) NULL
;
37961 wxGBSizerItem
*result
;
37962 wxGBPosition temp3
;
37964 PyObject
* obj0
= 0 ;
37965 PyObject
* obj1
= 0 ;
37966 PyObject
* obj2
= 0 ;
37967 PyObject
* obj3
= 0 ;
37968 PyObject
* obj4
= 0 ;
37969 PyObject
* obj5
= 0 ;
37970 PyObject
* obj6
= 0 ;
37971 char *kwnames
[] = {
37972 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37976 arg1
= (int)SWIG_As_int(obj0
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37978 arg2
= (int)SWIG_As_int(obj1
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37982 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37986 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37988 arg5
= (int)SWIG_As_int(obj4
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37990 arg6
= (int)SWIG_As_int(obj5
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37997 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37999 wxPyEndAllowThreads(__tstate
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38009 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
;
38011 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38012 wxGBPosition result
;
38013 PyObject
* obj0
= 0 ;
38014 char *kwnames
[] = {
38015 (char *) "self", NULL
38018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38029 wxGBPosition
* resultptr
;
38030 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38039 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38040 PyObject
*resultobj
;
38041 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38043 PyObject
* obj0
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38059 wxGBSpan
* resultptr
;
38060 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38069 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
;
38071 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38072 wxGBPosition
*arg2
= 0 ;
38074 wxGBPosition temp2
;
38075 PyObject
* obj0
= 0 ;
38076 PyObject
* obj1
= 0 ;
38077 char *kwnames
[] = {
38078 (char *) "self",(char *) "pos", NULL
38081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38086 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38090 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38104 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
;
38106 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38107 wxGBSpan
*arg2
= 0 ;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 char *kwnames
[] = {
38113 (char *) "self",(char *) "span", NULL
38116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38121 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38139 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38140 PyObject
*resultobj
;
38141 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38142 wxGBSizerItem
*arg2
= 0 ;
38144 PyObject
* obj0
= 0 ;
38145 PyObject
* obj1
= 0 ;
38146 char *kwnames
[] = {
38147 (char *) "self",(char *) "other", NULL
38150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38156 if (arg2
== NULL
) {
38157 PyErr_SetString(PyExc_TypeError
,"null reference");
38161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38162 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38164 wxPyEndAllowThreads(__tstate
);
38165 if (PyErr_Occurred()) SWIG_fail
;
38168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38176 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38177 PyObject
*resultobj
;
38178 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38179 wxGBPosition
*arg2
= 0 ;
38180 wxGBSpan
*arg3
= 0 ;
38182 wxGBPosition temp2
;
38184 PyObject
* obj0
= 0 ;
38185 PyObject
* obj1
= 0 ;
38186 PyObject
* obj2
= 0 ;
38187 char *kwnames
[] = {
38188 (char *) "self",(char *) "pos",(char *) "span", NULL
38191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38196 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38200 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38218 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
;
38220 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38221 wxGBPosition result
;
38222 PyObject
* obj0
= 0 ;
38223 char *kwnames
[] = {
38224 (char *) "self", NULL
38227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 result
= wxGBSizerItem_GetEndPos(arg1
);
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38238 wxGBPosition
* resultptr
;
38239 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38248 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38249 PyObject
*resultobj
;
38250 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38251 wxGridBagSizer
*result
;
38252 PyObject
* obj0
= 0 ;
38253 char *kwnames
[] = {
38254 (char *) "self", NULL
38257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38274 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38275 PyObject
*resultobj
;
38276 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38277 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self",(char *) "sizer", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 (arg1
)->SetGBSizer(arg2
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 Py_INCREF(Py_None
); resultobj
= Py_None
;
38303 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38306 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38308 return Py_BuildValue((char *)"");
38310 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38311 PyObject
*resultobj
;
38312 int arg1
= (int) 0 ;
38313 int arg2
= (int) 0 ;
38314 wxGridBagSizer
*result
;
38315 PyObject
* obj0
= 0 ;
38316 PyObject
* obj1
= 0 ;
38317 char *kwnames
[] = {
38318 (char *) "vgap",(char *) "hgap", NULL
38321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38323 arg1
= (int)SWIG_As_int(obj0
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38327 arg2
= (int)SWIG_As_int(obj1
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38344 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38345 PyObject
*resultobj
;
38346 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38347 PyObject
*arg2
= (PyObject
*) 0 ;
38348 wxGBPosition
*arg3
= 0 ;
38349 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38350 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38351 int arg5
= (int) 0 ;
38352 int arg6
= (int) 0 ;
38353 PyObject
*arg7
= (PyObject
*) NULL
;
38355 wxGBPosition temp3
;
38357 PyObject
* obj0
= 0 ;
38358 PyObject
* obj1
= 0 ;
38359 PyObject
* obj2
= 0 ;
38360 PyObject
* obj3
= 0 ;
38361 PyObject
* obj4
= 0 ;
38362 PyObject
* obj5
= 0 ;
38363 PyObject
* obj6
= 0 ;
38364 char *kwnames
[] = {
38365 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38374 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38379 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38383 arg5
= (int)SWIG_As_int(obj4
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38387 arg6
= (int)SWIG_As_int(obj5
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38395 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38397 wxPyEndAllowThreads(__tstate
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38409 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38410 PyObject
*resultobj
;
38411 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38412 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38414 PyObject
* obj0
= 0 ;
38415 PyObject
* obj1
= 0 ;
38416 char *kwnames
[] = {
38417 (char *) "self",(char *) "item", NULL
38420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (bool)(arg1
)->Add(arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38441 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38442 PyObject
*resultobj
;
38443 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38447 PyObject
* obj0
= 0 ;
38448 PyObject
* obj1
= 0 ;
38449 PyObject
* obj2
= 0 ;
38450 char *kwnames
[] = {
38451 (char *) "self",(char *) "row",(char *) "col", NULL
38454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38457 arg2
= (int)SWIG_As_int(obj1
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38459 arg3
= (int)SWIG_As_int(obj2
);
38460 if (PyErr_Occurred()) SWIG_fail
;
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38469 wxSize
* resultptr
;
38470 resultptr
= new wxSize((wxSize
&) result
);
38471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38479 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38480 PyObject
*resultobj
;
38481 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38483 PyObject
* obj0
= 0 ;
38484 char *kwnames
[] = {
38485 (char *) "self", NULL
38488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38495 wxPyEndAllowThreads(__tstate
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38499 wxSize
* resultptr
;
38500 resultptr
= new wxSize((wxSize
&) result
);
38501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38509 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
;
38511 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38514 PyObject
* obj0
= 0 ;
38515 PyObject
* obj1
= 0 ;
38516 char *kwnames
[] = {
38517 (char *) "self",(char *) "sz", NULL
38520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38525 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 Py_INCREF(Py_None
); resultobj
= Py_None
;
38541 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38542 PyObject
*resultobj
;
38543 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38544 wxWindow
*arg2
= (wxWindow
*) 0 ;
38545 wxGBPosition result
;
38546 PyObject
* obj0
= 0 ;
38547 PyObject
* obj1
= 0 ;
38549 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38556 result
= (arg1
)->GetItemPosition(arg2
);
38558 wxPyEndAllowThreads(__tstate
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38562 wxGBPosition
* resultptr
;
38563 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38572 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38573 PyObject
*resultobj
;
38574 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38575 wxSizer
*arg2
= (wxSizer
*) 0 ;
38576 wxGBPosition result
;
38577 PyObject
* obj0
= 0 ;
38578 PyObject
* obj1
= 0 ;
38580 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38587 result
= (arg1
)->GetItemPosition(arg2
);
38589 wxPyEndAllowThreads(__tstate
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38593 wxGBPosition
* resultptr
;
38594 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38603 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38604 PyObject
*resultobj
;
38605 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38607 wxGBPosition result
;
38608 PyObject
* obj0
= 0 ;
38609 PyObject
* obj1
= 0 ;
38611 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38614 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38615 if (PyErr_Occurred()) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (arg1
)->GetItemPosition(arg2
);
38620 wxPyEndAllowThreads(__tstate
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38624 wxGBPosition
* resultptr
;
38625 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38634 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38639 argc
= PyObject_Length(args
);
38640 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38641 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38657 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38665 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38673 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38683 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38691 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38699 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38707 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38709 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38714 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38719 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38720 PyObject
*resultobj
;
38721 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38722 wxWindow
*arg2
= (wxWindow
*) 0 ;
38723 wxGBPosition
*arg3
= 0 ;
38725 wxGBPosition temp3
;
38726 PyObject
* obj0
= 0 ;
38727 PyObject
* obj1
= 0 ;
38728 PyObject
* obj2
= 0 ;
38730 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38737 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38743 wxPyEndAllowThreads(__tstate
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38755 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38756 PyObject
*resultobj
;
38757 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38758 wxSizer
*arg2
= (wxSizer
*) 0 ;
38759 wxGBPosition
*arg3
= 0 ;
38761 wxGBPosition temp3
;
38762 PyObject
* obj0
= 0 ;
38763 PyObject
* obj1
= 0 ;
38764 PyObject
* obj2
= 0 ;
38766 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38773 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38777 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38779 wxPyEndAllowThreads(__tstate
);
38780 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38791 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38792 PyObject
*resultobj
;
38793 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38795 wxGBPosition
*arg3
= 0 ;
38797 wxGBPosition temp3
;
38798 PyObject
* obj0
= 0 ;
38799 PyObject
* obj1
= 0 ;
38800 PyObject
* obj2
= 0 ;
38802 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38805 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38827 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38832 argc
= PyObject_Length(args
);
38833 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38834 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38840 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38850 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38859 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38862 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38871 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38881 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38890 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38893 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38910 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38913 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38916 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38922 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38927 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38928 PyObject
*resultobj
;
38929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38930 wxWindow
*arg2
= (wxWindow
*) 0 ;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 result
= (arg1
)->GetItemSpan(arg2
);
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38948 wxGBSpan
* resultptr
;
38949 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38958 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38959 PyObject
*resultobj
;
38960 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38961 wxSizer
*arg2
= (wxSizer
*) 0 ;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38966 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38973 result
= (arg1
)->GetItemSpan(arg2
);
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38979 wxGBSpan
* resultptr
;
38980 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38989 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38990 PyObject
*resultobj
;
38991 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38994 PyObject
* obj0
= 0 ;
38995 PyObject
* obj1
= 0 ;
38997 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39000 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39001 if (PyErr_Occurred()) SWIG_fail
;
39003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39004 result
= (arg1
)->GetItemSpan(arg2
);
39006 wxPyEndAllowThreads(__tstate
);
39007 if (PyErr_Occurred()) SWIG_fail
;
39010 wxGBSpan
* resultptr
;
39011 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39020 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39025 argc
= PyObject_Length(args
);
39026 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39027 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39033 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39043 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39051 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39059 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39069 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39077 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39085 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39093 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39095 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39100 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39105 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39106 PyObject
*resultobj
;
39107 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39108 wxWindow
*arg2
= (wxWindow
*) 0 ;
39109 wxGBSpan
*arg3
= 0 ;
39112 PyObject
* obj0
= 0 ;
39113 PyObject
* obj1
= 0 ;
39114 PyObject
* obj2
= 0 ;
39116 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39123 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39141 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39142 PyObject
*resultobj
;
39143 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39144 wxSizer
*arg2
= (wxSizer
*) 0 ;
39145 wxGBSpan
*arg3
= 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 PyObject
* obj2
= 0 ;
39152 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39159 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39163 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39165 wxPyEndAllowThreads(__tstate
);
39166 if (PyErr_Occurred()) SWIG_fail
;
39169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39177 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39178 PyObject
*resultobj
;
39179 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39181 wxGBSpan
*arg3
= 0 ;
39184 PyObject
* obj0
= 0 ;
39185 PyObject
* obj1
= 0 ;
39186 PyObject
* obj2
= 0 ;
39188 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39191 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39192 if (PyErr_Occurred()) SWIG_fail
;
39195 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39213 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39218 argc
= PyObject_Length(args
);
39219 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39220 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39236 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39245 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39248 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39257 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39267 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39276 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39279 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39296 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39299 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39302 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39308 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39313 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39314 PyObject
*resultobj
;
39315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39316 wxWindow
*arg2
= (wxWindow
*) 0 ;
39317 wxGBSizerItem
*result
;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39321 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39340 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39341 PyObject
*resultobj
;
39342 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39343 wxSizer
*arg2
= (wxSizer
*) 0 ;
39344 wxGBSizerItem
*result
;
39345 PyObject
* obj0
= 0 ;
39346 PyObject
* obj1
= 0 ;
39348 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39357 wxPyEndAllowThreads(__tstate
);
39358 if (PyErr_Occurred()) SWIG_fail
;
39360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39367 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39372 argc
= PyObject_Length(args
);
39373 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39374 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39380 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39390 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39398 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39406 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39416 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39424 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39429 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39434 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
;
39436 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39437 wxGBPosition
*arg2
= 0 ;
39438 wxGBSizerItem
*result
;
39439 wxGBPosition temp2
;
39440 PyObject
* obj0
= 0 ;
39441 PyObject
* obj1
= 0 ;
39442 char *kwnames
[] = {
39443 (char *) "self",(char *) "pos", NULL
39446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39451 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39457 wxPyEndAllowThreads(__tstate
);
39458 if (PyErr_Occurred()) SWIG_fail
;
39460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39467 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39468 PyObject
*resultobj
;
39469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39470 wxPoint
*arg2
= 0 ;
39471 wxGBSizerItem
*result
;
39473 PyObject
* obj0
= 0 ;
39474 PyObject
* obj1
= 0 ;
39475 char *kwnames
[] = {
39476 (char *) "self",(char *) "pt", NULL
39479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39488 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39490 wxPyEndAllowThreads(__tstate
);
39491 if (PyErr_Occurred()) SWIG_fail
;
39493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39500 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39501 PyObject
*resultobj
;
39502 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39503 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39504 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39506 PyObject
* obj0
= 0 ;
39507 PyObject
* obj1
= 0 ;
39508 PyObject
* obj2
= 0 ;
39509 char *kwnames
[] = {
39510 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39519 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39526 wxPyEndAllowThreads(__tstate
);
39527 if (PyErr_Occurred()) SWIG_fail
;
39530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39538 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39539 PyObject
*resultobj
;
39540 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39541 wxGBPosition
*arg2
= 0 ;
39542 wxGBSpan
*arg3
= 0 ;
39543 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39545 wxGBPosition temp2
;
39547 PyObject
* obj0
= 0 ;
39548 PyObject
* obj1
= 0 ;
39549 PyObject
* obj2
= 0 ;
39550 PyObject
* obj3
= 0 ;
39551 char *kwnames
[] = {
39552 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
39564 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39567 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39572 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39574 wxPyEndAllowThreads(__tstate
);
39575 if (PyErr_Occurred()) SWIG_fail
;
39578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39586 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39589 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39591 return Py_BuildValue((char *)"");
39593 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39594 PyObject
*resultobj
;
39595 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39597 wxWindow
*arg3
= (wxWindow
*) 0 ;
39599 int arg5
= (int) 0 ;
39600 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 PyObject
* obj2
= 0 ;
39604 PyObject
* obj3
= 0 ;
39605 PyObject
* obj4
= 0 ;
39606 PyObject
* obj5
= 0 ;
39607 char *kwnames
[] = {
39608 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39614 arg2
= (int)SWIG_As_int(obj1
);
39615 if (PyErr_Occurred()) SWIG_fail
;
39616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39618 arg4
= (int)SWIG_As_int(obj3
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39621 arg5
= (int)SWIG_As_int(obj4
);
39622 if (PyErr_Occurred()) SWIG_fail
;
39625 arg6
= (int)SWIG_As_int(obj5
);
39626 if (PyErr_Occurred()) SWIG_fail
;
39629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39630 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39632 wxPyEndAllowThreads(__tstate
);
39633 if (PyErr_Occurred()) SWIG_fail
;
39635 Py_INCREF(Py_None
); resultobj
= Py_None
;
39642 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39643 PyObject
*resultobj
;
39644 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39645 wxWindow
*arg2
= (wxWindow
*) 0 ;
39646 int arg3
= (int) 0 ;
39647 PyObject
* obj0
= 0 ;
39648 PyObject
* obj1
= 0 ;
39649 PyObject
* obj2
= 0 ;
39650 char *kwnames
[] = {
39651 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39660 arg3
= (int)SWIG_As_int(obj2
);
39661 if (PyErr_Occurred()) SWIG_fail
;
39664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39665 (arg1
)->LeftOf(arg2
,arg3
);
39667 wxPyEndAllowThreads(__tstate
);
39668 if (PyErr_Occurred()) SWIG_fail
;
39670 Py_INCREF(Py_None
); resultobj
= Py_None
;
39677 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39678 PyObject
*resultobj
;
39679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39680 wxWindow
*arg2
= (wxWindow
*) 0 ;
39681 int arg3
= (int) 0 ;
39682 PyObject
* obj0
= 0 ;
39683 PyObject
* obj1
= 0 ;
39684 PyObject
* obj2
= 0 ;
39685 char *kwnames
[] = {
39686 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39695 arg3
= (int)SWIG_As_int(obj2
);
39696 if (PyErr_Occurred()) SWIG_fail
;
39699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39700 (arg1
)->RightOf(arg2
,arg3
);
39702 wxPyEndAllowThreads(__tstate
);
39703 if (PyErr_Occurred()) SWIG_fail
;
39705 Py_INCREF(Py_None
); resultobj
= Py_None
;
39712 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39715 wxWindow
*arg2
= (wxWindow
*) 0 ;
39716 int arg3
= (int) 0 ;
39717 PyObject
* obj0
= 0 ;
39718 PyObject
* obj1
= 0 ;
39719 PyObject
* obj2
= 0 ;
39720 char *kwnames
[] = {
39721 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39730 arg3
= (int)SWIG_As_int(obj2
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 (arg1
)->Above(arg2
,arg3
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39740 Py_INCREF(Py_None
); resultobj
= Py_None
;
39747 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39750 wxWindow
*arg2
= (wxWindow
*) 0 ;
39751 int arg3
= (int) 0 ;
39752 PyObject
* obj0
= 0 ;
39753 PyObject
* obj1
= 0 ;
39754 PyObject
* obj2
= 0 ;
39755 char *kwnames
[] = {
39756 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39765 arg3
= (int)SWIG_As_int(obj2
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39770 (arg1
)->Below(arg2
,arg3
);
39772 wxPyEndAllowThreads(__tstate
);
39773 if (PyErr_Occurred()) SWIG_fail
;
39775 Py_INCREF(Py_None
); resultobj
= Py_None
;
39782 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39783 PyObject
*resultobj
;
39784 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39785 wxWindow
*arg2
= (wxWindow
*) 0 ;
39787 int arg4
= (int) 0 ;
39788 PyObject
* obj0
= 0 ;
39789 PyObject
* obj1
= 0 ;
39790 PyObject
* obj2
= 0 ;
39791 PyObject
* obj3
= 0 ;
39792 char *kwnames
[] = {
39793 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39801 arg3
= (int)SWIG_As_int(obj2
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39804 arg4
= (int)SWIG_As_int(obj3
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39809 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39811 wxPyEndAllowThreads(__tstate
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39814 Py_INCREF(Py_None
); resultobj
= Py_None
;
39821 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39822 PyObject
*resultobj
;
39823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39824 wxWindow
*arg2
= (wxWindow
*) 0 ;
39827 PyObject
* obj0
= 0 ;
39828 PyObject
* obj1
= 0 ;
39829 PyObject
* obj2
= 0 ;
39830 PyObject
* obj3
= 0 ;
39831 char *kwnames
[] = {
39832 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39840 arg3
= (int)SWIG_As_int(obj2
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39842 arg4
= (int)SWIG_As_int(obj3
);
39843 if (PyErr_Occurred()) SWIG_fail
;
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39848 wxPyEndAllowThreads(__tstate
);
39849 if (PyErr_Occurred()) SWIG_fail
;
39851 Py_INCREF(Py_None
); resultobj
= Py_None
;
39858 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
;
39860 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39862 PyObject
* obj0
= 0 ;
39863 PyObject
* obj1
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self",(char *) "val", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 arg2
= (int)SWIG_As_int(obj1
);
39872 if (PyErr_Occurred()) SWIG_fail
;
39874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39875 (arg1
)->Absolute(arg2
);
39877 wxPyEndAllowThreads(__tstate
);
39878 if (PyErr_Occurred()) SWIG_fail
;
39880 Py_INCREF(Py_None
); resultobj
= Py_None
;
39887 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39888 PyObject
*resultobj
;
39889 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39890 PyObject
* obj0
= 0 ;
39891 char *kwnames
[] = {
39892 (char *) "self", NULL
39895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39900 (arg1
)->Unconstrained();
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39905 Py_INCREF(Py_None
); resultobj
= Py_None
;
39912 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39913 PyObject
*resultobj
;
39914 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39915 PyObject
* obj0
= 0 ;
39916 char *kwnames
[] = {
39917 (char *) "self", NULL
39920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 Py_INCREF(Py_None
); resultobj
= Py_None
;
39937 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
;
39939 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39941 PyObject
* obj0
= 0 ;
39942 char *kwnames
[] = {
39943 (char *) "self", NULL
39946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39951 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= wxPyMake_wxObject(result
, 0);
39965 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39966 PyObject
*resultobj
;
39967 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39969 PyObject
* obj0
= 0 ;
39970 char *kwnames
[] = {
39971 (char *) "self", NULL
39974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39979 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39981 wxPyEndAllowThreads(__tstate
);
39982 if (PyErr_Occurred()) SWIG_fail
;
39984 resultobj
= SWIG_From_int((int)result
);
39991 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39992 PyObject
*resultobj
;
39993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 char *kwnames
[] = {
39998 (char *) "self",(char *) "which", NULL
40001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40004 arg2
= (int)SWIG_As_int(obj1
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 (arg1
)->SetEdge((wxEdge
)arg2
);
40010 wxPyEndAllowThreads(__tstate
);
40011 if (PyErr_Occurred()) SWIG_fail
;
40013 Py_INCREF(Py_None
); resultobj
= Py_None
;
40020 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40021 PyObject
*resultobj
;
40022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40024 PyObject
* obj0
= 0 ;
40025 PyObject
* obj1
= 0 ;
40026 char *kwnames
[] = {
40027 (char *) "self",(char *) "v", NULL
40030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40033 arg2
= (int)SWIG_As_int(obj1
);
40034 if (PyErr_Occurred()) SWIG_fail
;
40036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40037 (arg1
)->SetValue(arg2
);
40039 wxPyEndAllowThreads(__tstate
);
40040 if (PyErr_Occurred()) SWIG_fail
;
40042 Py_INCREF(Py_None
); resultobj
= Py_None
;
40049 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40050 PyObject
*resultobj
;
40051 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40053 PyObject
* obj0
= 0 ;
40054 char *kwnames
[] = {
40055 (char *) "self", NULL
40058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 result
= (int)(arg1
)->GetMargin();
40065 wxPyEndAllowThreads(__tstate
);
40066 if (PyErr_Occurred()) SWIG_fail
;
40068 resultobj
= SWIG_From_int((int)result
);
40075 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40079 PyObject
* obj0
= 0 ;
40080 PyObject
* obj1
= 0 ;
40081 char *kwnames
[] = {
40082 (char *) "self",(char *) "m", NULL
40085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40088 arg2
= (int)SWIG_As_int(obj1
);
40089 if (PyErr_Occurred()) SWIG_fail
;
40091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40092 (arg1
)->SetMargin(arg2
);
40094 wxPyEndAllowThreads(__tstate
);
40095 if (PyErr_Occurred()) SWIG_fail
;
40097 Py_INCREF(Py_None
); resultobj
= Py_None
;
40104 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40105 PyObject
*resultobj
;
40106 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40108 PyObject
* obj0
= 0 ;
40109 char *kwnames
[] = {
40110 (char *) "self", NULL
40113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40118 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40120 wxPyEndAllowThreads(__tstate
);
40121 if (PyErr_Occurred()) SWIG_fail
;
40123 resultobj
= SWIG_From_int((int)result
);
40130 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40131 PyObject
*resultobj
;
40132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40134 PyObject
* obj0
= 0 ;
40135 char *kwnames
[] = {
40136 (char *) "self", NULL
40139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40144 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40146 wxPyEndAllowThreads(__tstate
);
40147 if (PyErr_Occurred()) SWIG_fail
;
40149 resultobj
= SWIG_From_int((int)result
);
40156 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
;
40158 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40160 PyObject
* obj0
= 0 ;
40161 char *kwnames
[] = {
40162 (char *) "self", NULL
40165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40170 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40172 wxPyEndAllowThreads(__tstate
);
40173 if (PyErr_Occurred()) SWIG_fail
;
40175 resultobj
= SWIG_From_int((int)result
);
40182 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40183 PyObject
*resultobj
;
40184 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40186 PyObject
* obj0
= 0 ;
40187 char *kwnames
[] = {
40188 (char *) "self", NULL
40191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40198 wxPyEndAllowThreads(__tstate
);
40199 if (PyErr_Occurred()) SWIG_fail
;
40202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40210 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40211 PyObject
*resultobj
;
40212 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40214 PyObject
* obj0
= 0 ;
40215 PyObject
* obj1
= 0 ;
40216 char *kwnames
[] = {
40217 (char *) "self",(char *) "d", NULL
40220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40223 arg2
= (bool)SWIG_As_bool(obj1
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 (arg1
)->SetDone(arg2
);
40229 wxPyEndAllowThreads(__tstate
);
40230 if (PyErr_Occurred()) SWIG_fail
;
40232 Py_INCREF(Py_None
); resultobj
= Py_None
;
40239 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(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_GetRelationship",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)(arg1
)->GetRelationship();
40255 wxPyEndAllowThreads(__tstate
);
40256 if (PyErr_Occurred()) SWIG_fail
;
40258 resultobj
= SWIG_From_int((int)result
);
40265 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40266 PyObject
*resultobj
;
40267 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40269 PyObject
* obj0
= 0 ;
40270 PyObject
* obj1
= 0 ;
40271 char *kwnames
[] = {
40272 (char *) "self",(char *) "r", NULL
40275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 arg2
= (int)SWIG_As_int(obj1
);
40279 if (PyErr_Occurred()) SWIG_fail
;
40281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40282 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40287 Py_INCREF(Py_None
); resultobj
= Py_None
;
40294 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40295 PyObject
*resultobj
;
40296 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40297 wxWindow
*arg2
= (wxWindow
*) 0 ;
40299 PyObject
* obj0
= 0 ;
40300 PyObject
* obj1
= 0 ;
40301 char *kwnames
[] = {
40302 (char *) "self",(char *) "otherW", NULL
40305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40326 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40327 PyObject
*resultobj
;
40328 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40329 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40330 wxWindow
*arg3
= (wxWindow
*) 0 ;
40332 PyObject
* obj0
= 0 ;
40333 PyObject
* obj1
= 0 ;
40334 PyObject
* obj2
= 0 ;
40335 char *kwnames
[] = {
40336 (char *) "self",(char *) "constraints",(char *) "win", NULL
40339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40344 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40348 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40350 wxPyEndAllowThreads(__tstate
);
40351 if (PyErr_Occurred()) SWIG_fail
;
40354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40362 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40363 PyObject
*resultobj
;
40364 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40366 wxWindow
*arg3
= (wxWindow
*) 0 ;
40367 wxWindow
*arg4
= (wxWindow
*) 0 ;
40369 PyObject
* obj0
= 0 ;
40370 PyObject
* obj1
= 0 ;
40371 PyObject
* obj2
= 0 ;
40372 PyObject
* obj3
= 0 ;
40373 char *kwnames
[] = {
40374 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40380 arg2
= (int)SWIG_As_int(obj1
);
40381 if (PyErr_Occurred()) SWIG_fail
;
40382 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40384 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40388 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40390 wxPyEndAllowThreads(__tstate
);
40391 if (PyErr_Occurred()) SWIG_fail
;
40393 resultobj
= SWIG_From_int((int)result
);
40400 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40403 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40405 return Py_BuildValue((char *)"");
40407 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40408 PyObject
*resultobj
;
40409 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40410 wxIndividualLayoutConstraint
*result
;
40411 PyObject
* obj0
= 0 ;
40412 char *kwnames
[] = {
40413 (char *) "self", NULL
40416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40419 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40428 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40429 PyObject
*resultobj
;
40430 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40431 wxIndividualLayoutConstraint
*result
;
40432 PyObject
* obj0
= 0 ;
40433 char *kwnames
[] = {
40434 (char *) "self", NULL
40437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40440 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40449 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40450 PyObject
*resultobj
;
40451 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40452 wxIndividualLayoutConstraint
*result
;
40453 PyObject
* obj0
= 0 ;
40454 char *kwnames
[] = {
40455 (char *) "self", NULL
40458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40461 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40470 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40473 wxIndividualLayoutConstraint
*result
;
40474 PyObject
* obj0
= 0 ;
40475 char *kwnames
[] = {
40476 (char *) "self", NULL
40479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40482 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40491 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40493 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40494 wxIndividualLayoutConstraint
*result
;
40495 PyObject
* obj0
= 0 ;
40496 char *kwnames
[] = {
40497 (char *) "self", NULL
40500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40503 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40512 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
;
40514 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40515 wxIndividualLayoutConstraint
*result
;
40516 PyObject
* obj0
= 0 ;
40517 char *kwnames
[] = {
40518 (char *) "self", NULL
40521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40524 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40533 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40534 PyObject
*resultobj
;
40535 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40536 wxIndividualLayoutConstraint
*result
;
40537 PyObject
* obj0
= 0 ;
40538 char *kwnames
[] = {
40539 (char *) "self", NULL
40542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40545 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40554 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40555 PyObject
*resultobj
;
40556 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40557 wxIndividualLayoutConstraint
*result
;
40558 PyObject
* obj0
= 0 ;
40559 char *kwnames
[] = {
40560 (char *) "self", NULL
40563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40566 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40575 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40576 PyObject
*resultobj
;
40577 wxLayoutConstraints
*result
;
40578 char *kwnames
[] = {
40582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40587 wxPyEndAllowThreads(__tstate
);
40588 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40597 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40598 PyObject
*resultobj
;
40599 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40600 wxWindow
*arg2
= (wxWindow
*) 0 ;
40601 int *arg3
= (int *) 0 ;
40605 PyObject
* obj0
= 0 ;
40606 PyObject
* obj1
= 0 ;
40607 char *kwnames
[] = {
40608 (char *) "self",(char *) "win", NULL
40611 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40635 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
;
40637 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40639 PyObject
* obj0
= 0 ;
40640 char *kwnames
[] = {
40641 (char *) "self", NULL
40644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40649 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40663 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40666 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40668 return Py_BuildValue((char *)"");
40670 static PyMethodDef SwigMethods
[] = {
40671 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40672 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40673 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40676 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40697 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40710 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40725 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40776 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40804 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40822 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40824 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40832 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40833 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40845 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40857 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40861 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40867 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40877 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40887 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40891 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40963 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40965 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40969 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40971 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40973 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40975 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40977 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40979 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40981 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40983 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40985 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40987 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41001 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41019 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41022 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41025 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41037 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41042 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41048 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41054 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41117 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41124 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41160 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41170 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41180 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41184 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41187 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41191 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41194 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41197 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41199 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41212 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41216 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41219 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41221 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41225 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41242 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41244 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41247 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41249 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41253 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41257 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41266 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41269 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41272 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41276 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41283 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41288 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41293 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41338 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41356 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41363 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41367 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41377 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41546 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41586 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41600 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41603 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41658 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41685 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41715 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41723 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41740 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41741 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41777 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41806 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41809 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41813 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41816 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41826 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41838 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41848 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41858 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41872 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41879 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41880 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41881 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41882 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41883 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41888 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41915 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41927 { NULL
, NULL
, 0, NULL
}
41931 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41933 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41934 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41936 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41937 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41939 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41940 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41942 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41943 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41945 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41946 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41948 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41949 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41951 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41952 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41954 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41955 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41957 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41958 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41960 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41961 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41963 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41964 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41966 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41967 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41969 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41970 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41972 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41973 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41975 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41976 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41978 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41981 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41982 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41984 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41987 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41988 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41990 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41993 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41994 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41996 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41997 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41999 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42000 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42002 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42003 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42005 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42006 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42008 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42009 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42011 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42012 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42014 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42015 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42017 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42020 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42021 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42023 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42024 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42026 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42027 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42029 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42030 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42032 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42033 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42035 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42036 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42038 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42041 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42042 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42044 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42045 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42047 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42050 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42051 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42053 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42054 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42056 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42057 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42059 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42060 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42062 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42063 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42065 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42066 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42068 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42069 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42071 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42072 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42074 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42075 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42077 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42078 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42080 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42081 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42083 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42086 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42087 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42089 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42090 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42092 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42093 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42095 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42096 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42098 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42099 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42101 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42102 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42104 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42105 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42107 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42108 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42110 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42111 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42113 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42114 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42116 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42117 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42119 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42120 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42122 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42123 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42125 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42126 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42128 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42129 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42131 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42132 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42134 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42135 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42137 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42138 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42140 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42141 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42143 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42144 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42146 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42147 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42149 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42150 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42152 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42153 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42155 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42156 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42158 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42159 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42161 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42162 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42164 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42167 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42170 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42173 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42176 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42179 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42182 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42185 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42188 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42191 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42194 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) ((wxSizer
*) x
));
42197 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42200 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42203 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42206 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42209 static void *_p_wxImageTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) ((wxImage
*) x
));
42212 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42215 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42218 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42221 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42224 static void *_p_wxControlTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42227 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42230 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42233 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42236 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42239 static void *_p_wxEventTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) ((wxEvent
*) x
));
42242 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42245 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42248 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42251 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42254 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42257 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42260 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42263 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42266 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42269 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42272 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42275 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42278 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42281 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42284 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42287 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42290 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42293 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42296 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42299 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42302 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42305 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42308 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42311 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42314 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42317 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42320 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42323 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42326 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42329 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42332 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42335 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42338 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42341 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42344 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42350 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42353 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42356 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42359 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42362 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42365 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42368 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42371 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42374 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42375 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42377 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42378 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42380 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42381 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42383 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42384 return (void *)((wxWindow
*) ((wxControl
*) x
));
42386 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42387 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42389 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42390 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42392 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42393 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42395 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42396 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42398 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42399 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42401 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42402 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42404 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42405 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42407 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42408 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42410 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42411 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42413 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42414 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42416 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42417 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42506 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}};
42507 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}};
42508 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}};
42509 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}};
42510 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}};
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42530 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}};
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42537 static swig_type_info
*swig_types_initial
[] = {
42538 _swigt__p_wxLayoutConstraints
,
42539 _swigt__p_wxRealPoint
,
42540 _swigt__p_wxSizerItem
,
42541 _swigt__p_wxGBSizerItem
,
42542 _swigt__p_wxScrollEvent
,
42543 _swigt__p_wxEventLoop
,
42544 _swigt__p_wxIndividualLayoutConstraint
,
42546 _swigt__p_wxBoxSizer
,
42547 _swigt__p_wxStaticBoxSizer
,
42548 _swigt__p_wxGridBagSizer
,
42549 _swigt__p_wxAcceleratorEntry
,
42550 _swigt__p_wxUpdateUIEvent
,
42553 _swigt__p_wxGridSizer
,
42554 _swigt__p_wxFlexGridSizer
,
42555 _swigt__p_wxInitDialogEvent
,
42556 _swigt__p_wxItemContainer
,
42557 _swigt__p_wxNcPaintEvent
,
42558 _swigt__p_wxPaintEvent
,
42559 _swigt__p_wxSysColourChangedEvent
,
42560 _swigt__p_wxMouseCaptureChangedEvent
,
42561 _swigt__p_wxDisplayChangedEvent
,
42562 _swigt__p_wxPaletteChangedEvent
,
42563 _swigt__p_wxControl
,
42565 _swigt__p_wxMenuBarBase
,
42566 _swigt__p_wxSetCursorEvent
,
42567 _swigt__p_wxFSFile
,
42569 _swigt__p_wxRegion
,
42570 _swigt__p_wxPoint2D
,
42574 _swigt__p_wxPySizer
,
42575 _swigt__p_wxVisualAttributes
,
42576 _swigt__p_wxNotifyEvent
,
42577 _swigt__p_wxPyEvent
,
42578 _swigt__p_wxPropagationDisabler
,
42579 _swigt__p_wxAppTraits
,
42580 _swigt__p_wxArrayString
,
42581 _swigt__p_wxShowEvent
,
42582 _swigt__p_wxToolTip
,
42583 _swigt__p_wxIconizeEvent
,
42584 _swigt__p_wxActivateEvent
,
42585 _swigt__p_wxMoveEvent
,
42586 _swigt__p_wxSizeEvent
,
42587 _swigt__p_wxMaximizeEvent
,
42588 _swigt__p_wxQueryNewPaletteEvent
,
42589 _swigt__p_wxWindowCreateEvent
,
42590 _swigt__p_wxIdleEvent
,
42591 _swigt__p_wxMenuItem
,
42592 _swigt__p_wxStaticBox
,
42594 _swigt__p_wxTIFFHandler
,
42595 _swigt__p_wxXPMHandler
,
42596 _swigt__p_wxPNMHandler
,
42597 _swigt__p_wxJPEGHandler
,
42598 _swigt__p_wxPCXHandler
,
42599 _swigt__p_wxGIFHandler
,
42600 _swigt__p_wxPNGHandler
,
42601 _swigt__p_wxANIHandler
,
42602 _swigt__p_wxMemoryFSHandler
,
42603 _swigt__p_wxEvtHandler
,
42604 _swigt__p_wxCURHandler
,
42605 _swigt__p_wxICOHandler
,
42606 _swigt__p_wxBMPHandler
,
42607 _swigt__p_wxImageHandler
,
42608 _swigt__p_wxFileSystemHandler
,
42609 _swigt__p_wxPyFileSystemHandler
,
42610 _swigt__p_wxInternetFSHandler
,
42611 _swigt__p_wxZipFSHandler
,
42613 _swigt__p_wxGBSpan
,
42614 _swigt__p_wxPropagateOnce
,
42615 _swigt__p_wxAcceleratorTable
,
42617 _swigt__p_wxGBPosition
,
42620 _swigt__p_wxScrollWinEvent
,
42621 _swigt__p_wxImageHistogram
,
42624 _swigt__p_wxCursor
,
42625 _swigt__p_wxObject
,
42626 _swigt__p_wxPyInputStream
,
42627 _swigt__p_wxOutputStream
,
42628 _swigt__p_wxInputStream
,
42629 _swigt__p_wxDateTime
,
42630 _swigt__p_wxKeyEvent
,
42631 _swigt__p_wxNavigationKeyEvent
,
42632 _swigt__p_wxWindowDestroyEvent
,
42633 _swigt__p_wxWindow
,
42634 _swigt__p_wxMenuBar
,
42635 _swigt__p_wxFileSystem
,
42636 _swigt__p_wxBitmap
,
42637 _swigt__p_wxMenuEvent
,
42638 _swigt__p_wxContextMenuEvent
,
42639 _swigt__p_unsigned_char
,
42640 _swigt__p_wxCloseEvent
,
42641 _swigt__p_wxEraseEvent
,
42642 _swigt__p_wxMouseEvent
,
42644 _swigt__p_wxCommandEvent
,
42645 _swigt__p_wxPyCommandEvent
,
42646 _swigt__p_wxPyDropTarget
,
42647 _swigt__p_wxQuantize
,
42648 _swigt__p_wxChildFocusEvent
,
42649 _swigt__p_wxFocusEvent
,
42650 _swigt__p_wxDropFilesEvent
,
42651 _swigt__p_wxControlWithItems
,
42652 _swigt__p_wxColour
,
42653 _swigt__p_wxValidator
,
42654 _swigt__p_wxPyValidator
,
42659 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42661 static swig_const_info swig_const_table
[] = {
42662 {0, 0, 0, 0.0, 0, 0}};
42671 SWIGEXPORT(void) SWIG_init(void) {
42672 static PyObject
*SWIG_globals
= 0;
42673 static int typeinit
= 0;
42676 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42677 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42678 d
= PyModule_GetDict(m
);
42681 for (i
= 0; swig_types_initial
[i
]; i
++) {
42682 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42686 SWIG_InstallConstants(d
,swig_const_table
);
42689 #ifndef wxPyUSE_EXPORT
42690 // Make our API structure a CObject so other modules can import it
42691 // from this module.
42692 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42693 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42697 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42698 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42699 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42700 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42701 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42702 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42703 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42704 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42705 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42706 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42707 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42708 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42709 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42710 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42711 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42712 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42713 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42714 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42715 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42716 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42717 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42718 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42719 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42720 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42721 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42722 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42723 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42724 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42725 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42726 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42727 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42728 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42729 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42730 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42731 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42732 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42733 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42734 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42735 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42736 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42737 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42738 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42739 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42740 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42741 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42742 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42743 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42744 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42745 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42746 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42747 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42748 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42749 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42750 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42751 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42752 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42753 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42754 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42755 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42756 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42757 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42758 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42759 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42760 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42761 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42762 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42763 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42764 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42765 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42766 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42767 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42768 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42769 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42770 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42771 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42772 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42773 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42774 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42775 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42776 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42777 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42778 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42779 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42780 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42781 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42782 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42783 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42784 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42785 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42786 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42787 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42788 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42789 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42790 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42791 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42792 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42793 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42794 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42795 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42796 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42797 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42798 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42799 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42800 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42801 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42802 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42803 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42804 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42805 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42806 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42807 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42808 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42809 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42810 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42811 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42812 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42813 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42814 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42815 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42816 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42817 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42818 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42819 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42820 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42821 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42822 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42823 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42824 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42825 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42826 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42827 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42828 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42829 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42830 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42831 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42832 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42833 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42834 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42835 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42836 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42837 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42838 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42839 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42840 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42841 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42842 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42843 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42844 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42845 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42846 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42847 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42848 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42849 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42850 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42851 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42852 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42853 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42854 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42855 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42856 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42857 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42858 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42859 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42860 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42861 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42862 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42863 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42864 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42865 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42866 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42867 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42868 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42869 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42870 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42871 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42872 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42873 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42874 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42875 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42876 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42877 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42878 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42879 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42880 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42881 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42882 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42883 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42884 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42885 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42886 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42887 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42888 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42889 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42890 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42891 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42892 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42893 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42894 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42895 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42896 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42897 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42898 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42899 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42900 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42901 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42902 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42903 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42904 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42905 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42906 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42907 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42908 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42909 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42910 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42911 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42912 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42913 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42914 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42915 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42916 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42917 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42918 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42919 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42920 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42921 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42922 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42923 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42924 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42925 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42926 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42927 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42928 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42929 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42930 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42931 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42932 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42933 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42934 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42935 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42936 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42937 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42938 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42939 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42940 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42941 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42942 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42943 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42944 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42945 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42946 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42947 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42948 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42949 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42950 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42951 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42952 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42953 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42954 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42955 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42956 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42957 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42958 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42959 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42960 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42961 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42962 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42963 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42964 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42965 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42966 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42967 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42968 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42969 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42970 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42971 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42972 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42973 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42974 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42975 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42976 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42977 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42978 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42979 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42980 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42981 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42982 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42983 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42984 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42985 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42986 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42987 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42988 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42989 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42990 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42991 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42992 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42993 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42994 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42995 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42996 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42997 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42998 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42999 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43000 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43001 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43002 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43003 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43004 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43005 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43006 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43007 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43008 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43009 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43010 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43011 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43012 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43013 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43014 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43015 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43016 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43017 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43018 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43019 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43020 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43021 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43022 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43023 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43024 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43025 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43026 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43027 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43028 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43029 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43030 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43031 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43032 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43033 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43034 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43035 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43036 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43037 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43038 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43039 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43040 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43041 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43042 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43043 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43044 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43045 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43046 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43047 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43048 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43049 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43050 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43051 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43052 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43053 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43054 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43055 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43056 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43057 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43058 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43059 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43060 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43061 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43062 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43063 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43064 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43065 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43066 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43067 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43068 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43069 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43070 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43071 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43072 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43073 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43074 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43075 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43076 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43077 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43078 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43079 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43080 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43081 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43082 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43083 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43084 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43085 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43086 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43087 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43088 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43089 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43090 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43091 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43092 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43093 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43094 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43095 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43096 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43097 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43098 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43099 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43100 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43101 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43102 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43103 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43104 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43105 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43106 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43107 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43108 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43109 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43110 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43111 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43112 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43113 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43114 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43115 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43116 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43117 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43118 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43119 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43120 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43121 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43122 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43123 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43124 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43125 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43126 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43127 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43128 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43129 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43130 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43131 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43132 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43133 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43134 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43135 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43136 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43137 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43138 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43139 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43140 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43141 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43142 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43143 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43144 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43145 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43146 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43147 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43148 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43149 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43150 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43151 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43152 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43153 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43154 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43155 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43156 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43157 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43158 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43159 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43160 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43161 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43162 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43163 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43164 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43165 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43166 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43167 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43168 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43169 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43170 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43171 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43172 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43173 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43174 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43175 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43176 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43177 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43178 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43179 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43180 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43181 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43182 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43183 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43184 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43185 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43186 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43187 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43188 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43189 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43190 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43191 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43192 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43193 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43194 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43195 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43196 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43197 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43198 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43199 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43200 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43201 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43202 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43203 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43204 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43205 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43206 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43207 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43208 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43209 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43210 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43211 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43212 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43213 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43214 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43215 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43216 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43217 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43218 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43219 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43220 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43221 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43222 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43223 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43224 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43225 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43226 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43227 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43228 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43229 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43230 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43231 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43232 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43233 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43234 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43235 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43236 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43237 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43238 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43239 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43240 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43241 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43242 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43243 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43244 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43245 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43246 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43247 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43248 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43249 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43250 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43251 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43252 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43253 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43254 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43255 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43256 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43257 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43258 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43259 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43260 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43261 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43262 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43263 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43264 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43265 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43266 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43267 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43268 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43269 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43270 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43271 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43272 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43273 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43274 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43275 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43276 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43277 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43278 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43279 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43280 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43281 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43282 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43283 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43284 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43285 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43286 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43287 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43288 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43289 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43290 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43291 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43292 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43293 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43294 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43295 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43297 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43300 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43302 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43303 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43304 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43305 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43306 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43307 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43308 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43309 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43310 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43311 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43312 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43313 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43314 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43315 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43316 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43317 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43318 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43319 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43320 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43321 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43322 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43323 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43324 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43325 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43326 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43327 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43328 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43331 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43332 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43334 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43335 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43336 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43337 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43338 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43339 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43342 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43343 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43344 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43345 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43346 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43347 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43348 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43349 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43350 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43351 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43352 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43353 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43354 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43355 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43356 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43357 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43358 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43359 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43360 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43361 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43362 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43363 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43364 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43365 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43366 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43367 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43368 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43369 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43370 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43371 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43372 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43373 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43374 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43375 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43376 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43377 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43378 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43379 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43380 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43381 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43382 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43383 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43384 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43385 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43386 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43387 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43388 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43389 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43390 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43391 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43392 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43393 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43394 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43395 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43396 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43397 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43398 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43399 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43400 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43401 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43402 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43403 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43404 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43405 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43406 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43407 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43408 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43409 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43410 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43411 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43412 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43413 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43414 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43415 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43416 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43417 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43418 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43419 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43420 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43421 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43422 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43423 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43424 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43425 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43426 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43427 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43428 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43429 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43430 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43431 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43432 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43433 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43434 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43435 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43436 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43437 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43438 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43439 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43440 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43441 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43442 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43443 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43444 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43445 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43446 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43447 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43448 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43449 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43450 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43451 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43452 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43453 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43454 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43455 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43456 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43457 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43458 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43459 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43460 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43461 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43462 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43463 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43464 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43465 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43466 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43467 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43468 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43469 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43470 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43471 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43472 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43473 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43474 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43475 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43476 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43477 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43478 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43479 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43480 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43481 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43482 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43483 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43484 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43485 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43486 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43488 // Initialize threading, some globals and such
43492 // Although these are defined in __version__ they need to be here too so
43493 // that an assert can be done to ensure that the wxPython and the wxWindows
43495 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43496 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43497 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));