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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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();
1533 void wxApp_CleanUp() {
1538 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1543 // A dummy class that raises an exception if used...
1547 wxEventLoop() { wxPyRaiseNotImplemented(); }
1548 int Run() { return 0; }
1549 void Exit(int rc
= 0) {}
1550 bool Pending() const { return false; }
1551 bool Dispatch() { return false; }
1552 bool IsRunning() const { return false; }
1553 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1554 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1559 #include <wx/evtloop.h>
1565 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1566 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1567 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1568 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1569 wxWindowList
& list
= self
->GetChildren();
1570 return wxPy_ConvertList(&list
);
1572 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1574 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1579 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1586 long wxWindow_GetHandle(wxWindow
*self
){
1587 return wxPyGetWinHandle(self
);
1589 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1590 self
->AssociateHandle((WXWidget
)handle
);
1593 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1594 return wxWindow::FindWindowById(id
, parent
);
1597 wxWindow
* wxFindWindowByName( const wxString
& name
,
1598 const wxWindow
*parent
= NULL
) {
1599 return wxWindow::FindWindowByName(name
, parent
);
1602 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1603 const wxWindow
*parent
= NULL
) {
1604 return wxWindow::FindWindowByLabel(label
, parent
);
1609 #include <wx/msw/private.h> // to get wxGetWindowId
1613 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1615 WXHWND hWnd
= (WXHWND
)_hWnd
;
1616 long id
= wxGetWindowId(hWnd
);
1617 wxWindow
* win
= new wxWindow
;
1618 parent
->AddChild(win
);
1619 win
->SetEventHandler(win
);
1622 win
->SubclassWin(hWnd
);
1623 win
->AdoptAttributesFromHWND();
1624 win
->SetupColours();
1627 wxPyRaiseNotImplemented();
1633 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1634 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1637 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1639 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1640 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1641 wxMenuItemList
& list
= self
->GetMenuItems();
1642 return wxPy_ConvertList(&list
);
1644 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1645 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1647 wxPyClientData
* data
= new wxPyClientData(clientData
);
1648 return self
->Append(item
, data
);
1650 return self
->Append(item
);
1652 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1654 wxPyClientData
* data
= new wxPyClientData(clientData
);
1655 return self
->Insert(item
, pos
, data
);
1657 return self
->Insert(item
, pos
);
1659 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1660 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1662 Py_INCREF(data
->m_obj
);
1669 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1670 wxPyClientData
* data
= new wxPyClientData(clientData
);
1671 self
->SetClientObject(n
, data
);
1675 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1676 wxPyUserData
* data
= NULL
;
1678 bool blocked
= wxPyBeginBlockThreads();
1679 data
= new wxPyUserData(userData
);
1680 wxPyEndBlockThreads(blocked
);
1682 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1684 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1685 wxPyUserData
* data
= NULL
;
1687 bool blocked
= wxPyBeginBlockThreads();
1688 data
= new wxPyUserData(userData
);
1689 wxPyEndBlockThreads(blocked
);
1691 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1693 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1694 wxPyUserData
* data
= NULL
;
1696 bool blocked
= wxPyBeginBlockThreads();
1697 data
= new wxPyUserData(userData
);
1698 wxPyEndBlockThreads(blocked
);
1700 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1704 SWIGSTATICINLINE(int)
1705 SWIG_CheckDoubleInRange(double value
, double min_value
,
1706 double max_value
, const char* errmsg
)
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %g is less than %s minimum %g",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %g is greater than %s maximum %g",
1719 value
, errmsg
, max_value
);
1727 SWIGSTATICINLINE(int)
1728 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1730 const char* errmsg
= val
? "float" : 0;
1732 if (SWIG_AsVal_double(obj
, &v
)) {
1733 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1743 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1749 SWIGSTATICINLINE(float)
1750 SWIG_As_float(PyObject
* obj
)
1753 if (!SWIG_AsVal_float(obj
, &v
)) {
1755 this is needed to make valgrind/purify happier. the other
1756 solution is throw an exception, but since this code should work
1759 memset((void*)&v
, 0, sizeof(float));
1765 SWIGSTATICINLINE(int)
1766 SWIG_Check_float(PyObject
* obj
)
1768 return SWIG_AsVal_float(obj
, (float*)0);
1771 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1772 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1774 Py_INCREF(data
->m_obj
);
1782 // Figure out the type of the sizer item
1784 struct wxPySizerItemInfo
{
1786 : window(NULL
), sizer(NULL
), gotSize(false),
1787 size(wxDefaultSize
), gotPos(false), pos(-1)
1798 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1800 wxPySizerItemInfo info
;
1802 wxSize
* sizePtr
= &size
;
1804 // Find out what the type of the item is
1806 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1811 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1815 // try wxSize or (w,h)
1816 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1817 info
.size
= *sizePtr
;
1818 info
.gotSize
= true;
1822 if (checkIdx
&& PyInt_Check(item
)) {
1823 info
.pos
= PyInt_AsLong(item
);
1829 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1830 // no expected type, figure out what kind of error message to generate
1831 if ( !checkSize
&& !checkIdx
)
1832 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1833 else if ( checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1835 else if ( !checkSize
&& checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1838 // can this one happen?
1839 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1845 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1846 if (!self
->GetClientObject())
1847 self
->SetClientObject(new wxPyOORClientData(_self
));
1849 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1851 wxPyUserData
* data
= NULL
;
1852 bool blocked
= wxPyBeginBlockThreads();
1853 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1854 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1855 data
= new wxPyUserData(userData
);
1856 wxPyEndBlockThreads(blocked
);
1858 // Now call the real Add method if a valid item type was found
1860 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1861 else if ( info
.sizer
)
1862 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1863 else if (info
.gotSize
)
1864 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1865 proportion
, flag
, border
, data
);
1867 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1869 wxPyUserData
* data
= NULL
;
1870 bool blocked
= wxPyBeginBlockThreads();
1871 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1872 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1873 data
= new wxPyUserData(userData
);
1874 wxPyEndBlockThreads(blocked
);
1876 // Now call the real Insert method if a valid item type was found
1878 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1879 else if ( info
.sizer
)
1880 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1881 else if (info
.gotSize
)
1882 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1883 proportion
, flag
, border
, data
);
1885 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1887 wxPyUserData
* data
= NULL
;
1888 bool blocked
= wxPyBeginBlockThreads();
1889 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1890 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1891 data
= new wxPyUserData(userData
);
1892 wxPyEndBlockThreads(blocked
);
1894 // Now call the real Prepend method if a valid item type was found
1896 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1897 else if ( info
.sizer
)
1898 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1899 else if (info
.gotSize
)
1900 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1901 proportion
, flag
, border
, data
);
1903 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1904 bool blocked
= wxPyBeginBlockThreads();
1905 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1906 wxPyEndBlockThreads(blocked
);
1908 return self
->Remove(info
.window
);
1909 else if ( info
.sizer
)
1910 return self
->Remove(info
.sizer
);
1911 else if ( info
.gotPos
)
1912 return self
->Remove(info
.pos
);
1916 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1917 bool blocked
= wxPyBeginBlockThreads();
1918 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1919 wxPyEndBlockThreads(blocked
);
1921 return self
->Detach(info
.window
);
1922 else if ( info
.sizer
)
1923 return self
->Detach(info
.sizer
);
1924 else if ( info
.gotPos
)
1925 return self
->Detach(info
.pos
);
1929 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1930 bool blocked
= wxPyBeginBlockThreads();
1931 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1932 wxPyEndBlockThreads(blocked
);
1934 self
->SetItemMinSize(info
.window
, size
);
1935 else if ( info
.sizer
)
1936 self
->SetItemMinSize(info
.sizer
, size
);
1937 else if ( info
.gotPos
)
1938 self
->SetItemMinSize(info
.pos
, size
);
1940 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1941 wxSizerItemList
& list
= self
->GetChildren();
1942 return wxPy_ConvertList(&list
);
1944 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1945 bool blocked
= wxPyBeginBlockThreads();
1946 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1947 wxPyEndBlockThreads(blocked
);
1949 return self
->Show(info
.window
, show
, recursive
);
1950 else if ( info
.sizer
)
1951 return self
->Show(info
.sizer
, show
, recursive
);
1952 else if ( info
.gotPos
)
1953 return self
->Show(info
.pos
, show
);
1957 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1958 bool blocked
= wxPyBeginBlockThreads();
1959 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1960 wxPyEndBlockThreads(blocked
);
1962 return self
->IsShown(info
.window
);
1963 else if ( info
.sizer
)
1964 return self
->IsShown(info
.sizer
);
1965 else if ( info
.gotPos
)
1966 return self
->IsShown(info
.pos
);
1972 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1973 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1974 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1979 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1981 if (source
== Py_None
) {
1982 **obj
= wxGBPosition(-1,-1);
1985 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1988 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1990 if (source
== Py_None
) {
1991 **obj
= wxGBSpan(-1,-1);
1994 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1998 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2002 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2003 bool blocked
= wxPyBeginBlockThreads();
2004 PyObject
* tup
= PyTuple_New(2);
2005 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2006 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2007 wxPyEndBlockThreads(blocked
);
2010 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2011 self
->SetRowspan(rowspan
);
2012 self
->SetColspan(colspan
);
2014 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2015 bool blocked
= wxPyBeginBlockThreads();
2016 PyObject
* tup
= PyTuple_New(2);
2017 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2018 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2019 wxPyEndBlockThreads(blocked
);
2022 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2023 wxPyUserData
* data
= NULL
;
2025 bool blocked
= wxPyBeginBlockThreads();
2026 data
= new wxPyUserData(userData
);
2027 wxPyEndBlockThreads(blocked
);
2029 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2031 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2032 wxPyUserData
* data
= NULL
;
2034 bool blocked
= wxPyBeginBlockThreads();
2035 data
= new wxPyUserData(userData
);
2036 wxPyEndBlockThreads(blocked
);
2038 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2040 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2041 wxPyUserData
* data
= NULL
;
2043 bool blocked
= wxPyBeginBlockThreads();
2044 data
= new wxPyUserData(userData
);
2045 wxPyEndBlockThreads(blocked
);
2047 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2049 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2051 self
->GetEndPos(row
, col
);
2052 return wxGBPosition(row
, col
);
2054 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2056 wxPyUserData
* data
= NULL
;
2057 bool blocked
= wxPyBeginBlockThreads();
2058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2059 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2060 data
= new wxPyUserData(userData
);
2061 wxPyEndBlockThreads(blocked
);
2063 // Now call the real Add method if a valid item type was found
2065 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2066 else if ( info
.sizer
)
2067 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2068 else if (info
.gotSize
)
2069 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2070 pos
, span
, flag
, border
, data
);
2078 static int _wrap_EmptyString_set(PyObject
*) {
2079 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2084 static PyObject
*_wrap_EmptyString_get() {
2089 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2091 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2098 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxObject
*arg1
= (wxObject
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= wxObject_GetClassName(arg1
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2130 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxObject
*arg1
= (wxObject
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxObject_Destroy(arg1
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2158 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2160 return Py_BuildValue((char *)"");
2162 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxSize
*arg1
= (wxSize
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2169 (char *) "self",(char *) "x", NULL
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 arg2
= (int)SWIG_As_int(obj1
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2177 if (arg1
) (arg1
)->x
= arg2
;
2179 Py_INCREF(Py_None
); resultobj
= Py_None
;
2186 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxSize
*arg1
= (wxSize
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 result
= (int) ((arg1
)->x
);
2200 resultobj
= SWIG_From_int((int)result
);
2207 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxSize
*arg1
= (wxSize
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "y", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int)SWIG_As_int(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2222 if (arg1
) (arg1
)->y
= arg2
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxSize
*arg1
= (wxSize
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 result
= (int) ((arg1
)->y
);
2245 resultobj
= SWIG_From_int((int)result
);
2252 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 int arg1
= (int) 0 ;
2255 int arg2
= (int) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "w",(char *) "h", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 arg1
= (int)SWIG_As_int(obj0
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2269 arg2
= (int)SWIG_As_int(obj1
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2286 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2291 (char *) "self", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "sz", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxSize
*arg1
= (wxSize
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "sz", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2381 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxSize
*arg1
= (wxSize
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "self",(char *) "sz", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 resultptr
= new wxSize((wxSize
&) result
);
2410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2418 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxSize
*arg1
= (wxSize
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "sz", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2446 resultptr
= new wxSize((wxSize
&) result
);
2447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2455 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxSize
*arg1
= (wxSize
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "sz", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 (arg1
)->IncTo((wxSize
const &)*arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxSize
*arg1
= (wxSize
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2495 (char *) "self",(char *) "sz", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 (arg1
)->DecTo((wxSize
const &)*arg2
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 Py_INCREF(Py_None
); resultobj
= Py_None
;
2519 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxSize
*arg1
= (wxSize
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2525 PyObject
* obj1
= 0 ;
2526 PyObject
* obj2
= 0 ;
2528 (char *) "self",(char *) "w",(char *) "h", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg2
= (int)SWIG_As_int(obj1
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2536 arg3
= (int)SWIG_As_int(obj2
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->Set(arg2
,arg3
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxSize
*arg1
= (wxSize
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj1
= 0 ;
2559 (char *) "self",(char *) "w", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2565 arg2
= (int)SWIG_As_int(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 (arg1
)->SetWidth(arg2
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxSize
*arg1
= (wxSize
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2586 PyObject
* obj1
= 0 ;
2588 (char *) "self",(char *) "h", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 arg2
= (int)SWIG_As_int(obj1
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->SetHeight(arg2
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxSize
*arg1
= (wxSize
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_From_int((int)result
);
2636 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxSize
*arg1
= (wxSize
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2642 (char *) "self", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= SWIG_From_int((int)result
);
2662 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxSize
*arg1
= (wxSize
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2668 (char *) "self", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2690 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2692 wxSize
*arg1
= (wxSize
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2696 PyObject
* obj1
= 0 ;
2698 (char *) "self",(char *) "size", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 Py_INCREF(Py_None
); resultobj
= Py_None
;
2722 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxSize
*arg1
= (wxSize
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2728 (char *) "self", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (PyObject
*)wxSize_Get(arg1
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2748 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2753 return Py_BuildValue((char *)"");
2755 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2762 (char *) "self",(char *) "x", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 arg2
= (double)SWIG_As_double(obj1
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2770 if (arg1
) (arg1
)->x
= arg2
;
2772 Py_INCREF(Py_None
); resultobj
= Py_None
;
2779 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2791 result
= (double) ((arg1
)->x
);
2793 resultobj
= SWIG_From_double((double)result
);
2800 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "y", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (double)SWIG_As_double(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 if (arg1
) (arg1
)->y
= arg2
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "self", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 result
= (double) ((arg1
)->y
);
2838 resultobj
= SWIG_From_double((double)result
);
2845 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 double arg1
= (double) 0.0 ;
2848 double arg2
= (double) 0.0 ;
2849 wxRealPoint
*result
;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2853 (char *) "x",(char *) "y", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2858 arg1
= (double)SWIG_As_double(obj0
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 arg2
= (double)SWIG_As_double(obj1
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2879 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2907 wxRealPoint
*arg2
= 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2913 (char *) "self",(char *) "pt", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2939 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2942 wxRealPoint
*arg2
= 0 ;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2948 (char *) "self",(char *) "pt", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2956 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2974 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2977 wxRealPoint
*arg2
= 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "pt", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 wxRealPoint
* resultptr
;
3002 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3011 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3014 wxRealPoint
*arg2
= 0 ;
3017 PyObject
* obj0
= 0 ;
3018 PyObject
* obj1
= 0 ;
3020 (char *) "self",(char *) "pt", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3038 wxRealPoint
* resultptr
;
3039 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3048 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3055 PyObject
* obj2
= 0 ;
3057 (char *) "self",(char *) "x",(char *) "y", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 arg2
= (double)SWIG_As_double(obj1
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3065 arg3
= (double)SWIG_As_double(obj2
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 wxRealPoint_Set(arg1
,arg2
,arg3
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 Py_INCREF(Py_None
); resultobj
= Py_None
;
3081 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3107 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3110 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3112 return Py_BuildValue((char *)"");
3114 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxPoint
*arg1
= (wxPoint
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "x", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 arg2
= (int)SWIG_As_int(obj1
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3129 if (arg1
) (arg1
)->x
= arg2
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxPoint
*arg1
= (wxPoint
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 result
= (int) ((arg1
)->x
);
3152 resultobj
= SWIG_From_int((int)result
);
3159 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxPoint
*arg1
= (wxPoint
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "self",(char *) "y", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3172 arg2
= (int)SWIG_As_int(obj1
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3174 if (arg1
) (arg1
)->y
= arg2
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3189 (char *) "self", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 result
= (int) ((arg1
)->y
);
3197 resultobj
= SWIG_From_int((int)result
);
3204 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 int arg1
= (int) 0 ;
3207 int arg2
= (int) 0 ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3212 (char *) "x",(char *) "y", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 arg1
= (int)SWIG_As_int(obj0
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 arg2
= (int)SWIG_As_int(obj1
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3238 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxPoint
*arg1
= (wxPoint
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3243 (char *) "self", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 Py_INCREF(Py_None
); resultobj
= Py_None
;
3263 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxPoint
*arg1
= (wxPoint
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "self",(char *) "pt", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3298 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxPoint
*arg1
= (wxPoint
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "pt", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3333 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxPoint
*arg1
= (wxPoint
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "pt", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 wxPoint
* resultptr
;
3361 resultptr
= new wxPoint((wxPoint
&) result
);
3362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3370 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxPoint
*arg1
= (wxPoint
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "pt", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 wxPoint
* resultptr
;
3398 resultptr
= new wxPoint((wxPoint
&) result
);
3399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3407 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxPoint
*arg1
= (wxPoint
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "pt", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3421 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3430 result
= (wxPoint
*) &_result_ref
;
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3443 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxPoint
*arg1
= (wxPoint
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "pt", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3457 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3466 result
= (wxPoint
*) &_result_ref
;
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3479 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPoint
*arg1
= (wxPoint
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3488 (char *) "self",(char *) "x",(char *) "y", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg2
= (long)SWIG_As_long(obj1
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3496 arg3
= (long)SWIG_As_long(obj2
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPoint_Set(arg1
,arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxPoint
*arg1
= (wxPoint
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (PyObject
*)wxPoint_Get(arg1
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3538 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3541 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3543 return Py_BuildValue((char *)"");
3545 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 int arg1
= (int) 0 ;
3548 int arg2
= (int) 0 ;
3549 int arg3
= (int) 0 ;
3550 int arg4
= (int) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3554 PyObject
* obj2
= 0 ;
3555 PyObject
* obj3
= 0 ;
3557 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3562 arg1
= (int)SWIG_As_int(obj0
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3566 arg2
= (int)SWIG_As_int(obj1
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg3
= (int)SWIG_As_int(obj2
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 arg4
= (int)SWIG_As_int(obj3
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3591 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "topLeft",(char *) "bottomRight", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3627 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "pos",(char *) "size", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3643 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3663 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxRect
*arg1
= (wxRect
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxRect
*arg1
= (wxRect
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "self", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (int)((wxRect
const *)arg1
)->GetX();
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= SWIG_From_int((int)result
);
3714 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxRect
*arg1
= (wxRect
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3721 (char *) "self",(char *) "x", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3727 arg2
= (int)SWIG_As_int(obj1
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxRect
*arg1
= (wxRect
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (int)(arg1
)->GetY();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_From_int((int)result
);
3769 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxRect
*arg1
= (wxRect
*) 0 ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3776 (char *) "self",(char *) "y", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3782 arg2
= (int)SWIG_As_int(obj1
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 Py_INCREF(Py_None
); resultobj
= Py_None
;
3798 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxRect
*arg1
= (wxRect
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_From_int((int)result
);
3824 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "w", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 arg2
= (int)SWIG_As_int(obj1
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetWidth(arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxRect
*arg1
= (wxRect
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_From_int((int)result
);
3879 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxRect
*arg1
= (wxRect
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "h", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3892 arg2
= (int)SWIG_As_int(obj1
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetHeight(arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxRect
*arg1
= (wxRect
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= ((wxRect
const *)arg1
)->GetPosition();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3928 wxPoint
* resultptr
;
3929 resultptr
= new wxPoint((wxPoint
&) result
);
3930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3938 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "p", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxRect
*arg1
= (wxRect
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3976 (char *) "self", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= ((wxRect
const *)arg1
)->GetSize();
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3991 resultptr
= new wxSize((wxSize
&) result
);
3992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4000 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxRect
*arg1
= (wxRect
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "s", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 (arg1
)->SetSize((wxSize
const &)*arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxRect
*arg1
= (wxRect
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 wxPoint
* resultptr
;
4053 resultptr
= new wxPoint((wxPoint
&) result
);
4054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4062 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "self",(char *) "p", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 Py_INCREF(Py_None
); resultobj
= Py_None
;
4094 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4100 (char *) "self", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4114 wxPoint
* resultptr
;
4115 resultptr
= new wxPoint((wxPoint
&) result
);
4116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4124 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxRect
*arg1
= (wxRect
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4132 (char *) "self",(char *) "p", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxRect
*arg1
= (wxRect
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "self", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_From_int((int)result
);
4182 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxRect
*arg1
= (wxRect
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4188 (char *) "self", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (int)((wxRect
const *)arg1
)->GetTop();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_From_int((int)result
);
4208 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_From_int((int)result
);
4234 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxRect
*arg1
= (wxRect
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "self", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (int)((wxRect
const *)arg1
)->GetRight();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_From_int((int)result
);
4260 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxRect
*arg1
= (wxRect
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4267 (char *) "self",(char *) "left", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 arg2
= (int)SWIG_As_int(obj1
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->SetLeft(arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxRect
*arg1
= (wxRect
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "right", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4302 arg2
= (int)SWIG_As_int(obj1
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetRight(arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxRect
*arg1
= (wxRect
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "top", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4331 arg2
= (int)SWIG_As_int(obj1
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetTop(arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "bottom", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 arg2
= (int)SWIG_As_int(obj1
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetBottom(arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxRect
*arg1
= (wxRect
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 PyObject
* obj2
= 0 ;
4386 (char *) "self",(char *) "dx",(char *) "dy", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 arg2
= (int)SWIG_As_int(obj1
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4394 arg3
= (int)SWIG_As_int(obj2
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4400 result
= (wxRect
*) &_result_ref
;
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4413 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxRect
*arg1
= (wxRect
*) 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 PyObject
* obj2
= 0 ;
4423 (char *) "self",(char *) "dx",(char *) "dy", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 arg2
= (int)SWIG_As_int(obj1
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4431 arg3
= (int)SWIG_As_int(obj2
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4437 result
= (wxRect
*) &_result_ref
;
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4450 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxRect
*arg1
= (wxRect
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 PyObject
* obj2
= 0 ;
4459 (char *) "self",(char *) "dx",(char *) "dy", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 arg2
= (int)SWIG_As_int(obj1
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4467 arg3
= (int)SWIG_As_int(obj2
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 (arg1
)->Offset(arg2
,arg3
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxRect
*arg1
= (wxRect
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "pt", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 (arg1
)->Offset((wxPoint
const &)*arg2
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxRect
*arg1
= (wxRect
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "rect", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4538 result
= (wxRect
*) &_result_ref
;
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4551 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxRect
*arg1
= (wxRect
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "rect", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4579 resultptr
= new wxRect((wxRect
&) result
);
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4588 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxRect
*arg1
= (wxRect
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "rect", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4602 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4611 result
= (wxRect
*) &_result_ref
;
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4624 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxRect
*arg1
= (wxRect
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "rect", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxRect
*arg1
= (wxRect
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4668 (char *) "self",(char *) "rect", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4694 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxRect
*arg1
= (wxRect
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4704 (char *) "self",(char *) "x",(char *) "y", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 arg2
= (int)SWIG_As_int(obj1
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4712 arg3
= (int)SWIG_As_int(obj2
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4739 (char *) "self",(char *) "pt", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4765 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4774 (char *) "self",(char *) "rect", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxRect
*arg1
= (wxRect
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "x", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4815 if (arg1
) (arg1
)->x
= arg2
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxRect
*arg1
= (wxRect
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 result
= (int) ((arg1
)->x
);
4838 resultobj
= SWIG_From_int((int)result
);
4845 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxRect
*arg1
= (wxRect
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "y", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 arg2
= (int)SWIG_As_int(obj1
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4860 if (arg1
) (arg1
)->y
= arg2
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxRect
*arg1
= (wxRect
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4875 (char *) "self", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 result
= (int) ((arg1
)->y
);
4883 resultobj
= SWIG_From_int((int)result
);
4890 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxRect
*arg1
= (wxRect
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4897 (char *) "self",(char *) "width", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 arg2
= (int)SWIG_As_int(obj1
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4905 if (arg1
) (arg1
)->width
= arg2
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxRect
*arg1
= (wxRect
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4926 result
= (int) ((arg1
)->width
);
4928 resultobj
= SWIG_From_int((int)result
);
4935 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRect
*arg1
= (wxRect
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "height", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 arg2
= (int)SWIG_As_int(obj1
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4950 if (arg1
) (arg1
)->height
= arg2
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRect
*arg1
= (wxRect
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4971 result
= (int) ((arg1
)->height
);
4973 resultobj
= SWIG_From_int((int)result
);
4980 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxRect
*arg1
= (wxRect
*) 0 ;
4983 int arg2
= (int) 0 ;
4984 int arg3
= (int) 0 ;
4985 int arg4
= (int) 0 ;
4986 int arg5
= (int) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 PyObject
* obj2
= 0 ;
4990 PyObject
* obj3
= 0 ;
4991 PyObject
* obj4
= 0 ;
4993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 arg2
= (int)SWIG_As_int(obj1
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5004 arg3
= (int)SWIG_As_int(obj2
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 arg4
= (int)SWIG_As_int(obj3
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 arg5
= (int)SWIG_As_int(obj4
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxRect
*arg1
= (wxRect
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5035 (char *) "self", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (PyObject
*)wxRect_Get(arg1
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5055 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5060 return Py_BuildValue((char *)"");
5062 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRect
*arg1
= (wxRect
*) 0 ;
5065 wxRect
*arg2
= (wxRect
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "r1",(char *) "r2", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 if (!wxPyCheckForApp()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5093 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 double arg1
= (double) 0.0 ;
5096 double arg2
= (double) 0.0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "x",(char *) "y", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 arg1
= (double)SWIG_As_double(obj0
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 arg2
= (double)SWIG_As_double(obj1
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5127 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxPoint2D
*arg1
= 0 ;
5132 PyObject
* obj0
= 0 ;
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5140 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5156 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5161 PyObject
* obj0
= 0 ;
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5169 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5185 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5188 int *arg2
= (int *) 0 ;
5189 int *arg3
= (int *) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5213 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5222 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5225 int *arg2
= (int *) 0 ;
5226 int *arg3
= (int *) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5237 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5250 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5251 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5252 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5259 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_From_double((double)result
);
5285 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_From_double((double)result
);
5311 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "length", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 arg2
= (double)SWIG_As_double(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->SetVectorLength(arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5347 (char *) "self",(char *) "degrees", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 arg2
= (double)SWIG_As_double(obj1
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetVectorAngle(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5372 wxPoint2D
*arg2
= 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "pt", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_From_double((double)result
);
5402 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5405 wxPoint2D
*arg2
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "pt", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_From_double((double)result
);
5435 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5438 wxPoint2D
*arg2
= 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "vec", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_From_double((double)result
);
5468 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5471 wxPoint2D
*arg2
= 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "self",(char *) "vec", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_double((double)result
);
5501 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5507 (char *) "self", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (arg1
)->operator -();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 wxPoint2D
* resultptr
;
5522 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5531 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5534 wxPoint2D
*arg2
= 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "pt", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5545 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5548 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5554 result
= (wxPoint2D
*) &_result_ref
;
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5567 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5570 wxPoint2D
*arg2
= 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "pt", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5581 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5584 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5590 result
= (wxPoint2D
*) &_result_ref
;
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5603 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5606 wxPoint2D
*arg2
= 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "pt", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5617 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5620 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5626 result
= (wxPoint2D
*) &_result_ref
;
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5639 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5642 wxPoint2D
*arg2
= 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5648 (char *) "self",(char *) "pt", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5653 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5656 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5662 result
= (wxPoint2D
*) &_result_ref
;
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5675 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5678 wxPoint2D
*arg2
= 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "pt", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5713 wxPoint2D
*arg2
= 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "pt", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5745 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "m_x", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (double)SWIG_As_double(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 if (arg1
) (arg1
)->m_x
= arg2
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 result
= (double) ((arg1
)->m_x
);
5783 resultobj
= SWIG_From_double((double)result
);
5790 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "m_y", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 arg2
= (double)SWIG_As_double(obj1
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5805 if (arg1
) (arg1
)->m_y
= arg2
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 result
= (double) ((arg1
)->m_y
);
5828 resultobj
= SWIG_From_double((double)result
);
5835 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5838 double arg2
= (double) 0 ;
5839 double arg3
= (double) 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 PyObject
* obj2
= 0 ;
5844 (char *) "self",(char *) "x",(char *) "y", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (double)SWIG_As_double(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 arg3
= (double)SWIG_As_double(obj2
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 wxPoint2D_Set(arg1
,arg2
,arg3
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5898 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5903 return Py_BuildValue((char *)"");
5905 static int _wrap_DefaultPosition_set(PyObject
*) {
5906 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5911 static PyObject
*_wrap_DefaultPosition_get() {
5914 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5919 static int _wrap_DefaultSize_set(PyObject
*) {
5920 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5925 static PyObject
*_wrap_DefaultSize_get() {
5928 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5933 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 PyObject
*arg1
= (PyObject
*) 0 ;
5936 wxPyInputStream
*result
;
5937 PyObject
* obj0
= 0 ;
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5958 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5983 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)(arg1
)->eof();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6039 int arg2
= (int) -1 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "size", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 arg2
= (int)SWIG_As_int(obj1
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (PyObject
*)(arg1
)->read(arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6068 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6071 int arg2
= (int) -1 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "size", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= (int)SWIG_As_int(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (PyObject
*)(arg1
)->readline(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6100 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6103 int arg2
= (int) -1 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "sizehint", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 arg2
= (int)SWIG_As_int(obj1
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6132 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6136 int arg3
= (int) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 PyObject
* obj2
= 0 ;
6141 (char *) "self",(char *) "offset",(char *) "whence", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 arg2
= (int)SWIG_As_int(obj1
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 arg3
= (int)SWIG_As_int(obj2
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 (arg1
)->seek(arg2
,arg3
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6173 (char *) "self", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (int)(arg1
)->tell();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_From_int((int)result
);
6193 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (char)(arg1
)->Peek();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_From_char((char)result
);
6219 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (char)(arg1
)->GetC();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_From_char((char)result
);
6245 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (size_t)(arg1
)->LastRead();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6271 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->CanRead();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6299 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)(arg1
)->Eof();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6327 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6335 (char *) "self",(char *) "c", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= (char)SWIG_As_char(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)(arg1
)->Ungetch(arg2
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6359 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6363 int arg3
= (int) wxFromStart
;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6369 (char *) "self",(char *) "pos",(char *) "mode", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (long)SWIG_As_long(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 arg3
= (int)SWIG_As_int(obj2
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_From_long((long)result
);
6395 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "self", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (long)(arg1
)->TellI();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_From_long((long)result
);
6421 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6426 return Py_BuildValue((char *)"");
6428 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6431 PyObject
*arg2
= (PyObject
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6433 PyObject
* obj1
= 0 ;
6435 (char *) "self",(char *) "obj", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxOutputStream_write(arg1
,arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6461 return Py_BuildValue((char *)"");
6463 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6466 wxString
*arg2
= 0 ;
6467 wxString
*arg3
= 0 ;
6468 wxString
*arg4
= 0 ;
6471 wxPyInputStream
*temp1
;
6473 bool temp2
= false ;
6474 bool temp3
= false ;
6475 bool temp4
= false ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6479 PyObject
* obj2
= 0 ;
6480 PyObject
* obj3
= 0 ;
6481 PyObject
* obj4
= 0 ;
6483 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6488 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6489 arg1
= temp1
->m_wxis
;
6492 PyErr_Clear(); // clear the failure of the wxPyConvert above
6493 arg1
= wxPyCBInputStream_create(obj0
, false);
6495 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6502 arg2
= wxString_in_helper(obj1
);
6503 if (arg2
== NULL
) SWIG_fail
;
6507 arg3
= wxString_in_helper(obj2
);
6508 if (arg3
== NULL
) SWIG_fail
;
6512 arg4
= wxString_in_helper(obj3
);
6513 if (arg4
== NULL
) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6517 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= wxPyMake_wxObject(result
, 1);
6567 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6595 wxInputStream
*result
;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxInputStream
*)(arg1
)->GetStream();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 wxPyInputStream
* _ptr
= NULL
;
6615 _ptr
= new wxPyInputStream(result
);
6617 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6625 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6641 result
= (wxString
*) &_result_ref
;
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6660 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxString
const &_result_ref
= (arg1
)->GetLocation();
6676 result
= (wxString
*) &_result_ref
;
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6695 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6711 result
= (wxString
*) &_result_ref
;
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6730 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (arg1
)->GetModificationTime();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 wxDateTime
* resultptr
;
6751 resultptr
= new wxDateTime((wxDateTime
&) result
);
6752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6760 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6763 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6765 return Py_BuildValue((char *)"");
6767 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6770 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6772 return Py_BuildValue((char *)"");
6774 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPyFileSystemHandler
*result
;
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6796 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6799 PyObject
*arg2
= (PyObject
*) 0 ;
6800 PyObject
*arg3
= (PyObject
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "self",(char *) "self",(char *) "_class", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6830 wxString
*arg2
= 0 ;
6832 bool temp2
= false ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "location", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 arg2
= wxString_in_helper(obj1
);
6844 if (arg2
== NULL
) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6871 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6874 wxFileSystem
*arg2
= 0 ;
6875 wxString
*arg3
= 0 ;
6877 bool temp3
= false ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 PyObject
* obj2
= 0 ;
6882 (char *) "self",(char *) "fs",(char *) "location", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6892 PyErr_SetString(PyExc_TypeError
,"null reference");
6896 arg3
= wxString_in_helper(obj2
);
6897 if (arg3
== NULL
) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= wxPyMake_wxObject(result
, 1);
6924 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6927 wxString
*arg2
= 0 ;
6928 int arg3
= (int) 0 ;
6930 bool temp2
= false ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "spec",(char *) "flags", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 arg2
= wxString_in_helper(obj1
);
6943 if (arg2
== NULL
) SWIG_fail
;
6947 arg3
= (int)SWIG_As_int(obj2
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6978 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (arg1
)->FindNext();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7010 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7013 wxString
*arg2
= 0 ;
7015 bool temp2
= false ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "location", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 arg2
= wxString_in_helper(obj1
);
7027 if (arg2
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7058 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7061 wxString
*arg2
= 0 ;
7063 bool temp2
= false ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "location", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 arg2
= wxString_in_helper(obj1
);
7075 if (arg2
== NULL
) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7106 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7109 wxString
*arg2
= 0 ;
7111 bool temp2
= false ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "location", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= wxString_in_helper(obj1
);
7123 if (arg2
== NULL
) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7154 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7157 wxString
*arg2
= 0 ;
7159 bool temp2
= false ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7163 (char *) "self",(char *) "location", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 arg2
= wxString_in_helper(obj1
);
7171 if (arg2
== NULL
) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7202 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7205 wxString
*arg2
= 0 ;
7207 bool temp2
= false ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "self",(char *) "location", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 arg2
= wxString_in_helper(obj1
);
7219 if (arg2
== NULL
) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7250 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7255 return Py_BuildValue((char *)"");
7257 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxFileSystem
*result
;
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (wxFileSystem
*)new wxFileSystem();
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= wxPyMake_wxObject(result
, 1);
7281 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7309 wxString
*arg2
= 0 ;
7310 bool arg3
= (bool) false ;
7311 bool temp2
= false ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7316 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 arg2
= wxString_in_helper(obj1
);
7324 if (arg2
== NULL
) SWIG_fail
;
7328 arg3
= (bool)SWIG_As_bool(obj2
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (arg1
)->GetPath();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7385 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7388 wxString
*arg2
= 0 ;
7390 bool temp2
= false ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "location", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= wxString_in_helper(obj1
);
7402 if (arg2
== NULL
) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= wxPyMake_wxObject(result
, 1);
7429 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7432 wxString
*arg2
= 0 ;
7433 int arg3
= (int) 0 ;
7435 bool temp2
= false ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "spec",(char *) "flags", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 arg2
= wxString_in_helper(obj1
);
7448 if (arg2
== NULL
) SWIG_fail
;
7452 arg3
= (int)SWIG_As_int(obj2
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7483 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (arg1
)->FindNext();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7515 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "handler", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxFileSystem::AddHandler(arg1
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 Py_INCREF(Py_None
); resultobj
= Py_None
;
7540 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 wxFileSystem::CleanUpHandlers();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxString
*arg1
= 0 ;
7565 bool temp1
= false ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "filename", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7573 arg1
= wxString_in_helper(obj0
);
7574 if (arg1
== NULL
) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7605 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxString
*arg1
= 0 ;
7609 bool temp1
= false ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "url", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7617 arg1
= wxString_in_helper(obj0
);
7618 if (arg1
== NULL
) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7649 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7654 return Py_BuildValue((char *)"");
7656 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxInternetFSHandler
*result
;
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7678 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7681 wxString
*arg2
= 0 ;
7683 bool temp2
= false ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "location", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7722 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7725 wxFileSystem
*arg2
= 0 ;
7726 wxString
*arg3
= 0 ;
7728 bool temp3
= false ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 PyObject
* obj2
= 0 ;
7733 (char *) "self",(char *) "fs",(char *) "location", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7743 PyErr_SetString(PyExc_TypeError
,"null reference");
7747 arg3
= wxString_in_helper(obj2
);
7748 if (arg3
== NULL
) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= wxPyMake_wxObject(result
, 1);
7775 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7780 return Py_BuildValue((char *)"");
7782 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxZipFSHandler
*result
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7804 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7807 wxString
*arg2
= 0 ;
7809 bool temp2
= false ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7813 (char *) "self",(char *) "location", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 arg2
= wxString_in_helper(obj1
);
7821 if (arg2
== NULL
) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7848 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7851 wxFileSystem
*arg2
= 0 ;
7852 wxString
*arg3
= 0 ;
7854 bool temp3
= false ;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7857 PyObject
* obj2
= 0 ;
7859 (char *) "self",(char *) "fs",(char *) "location", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7869 PyErr_SetString(PyExc_TypeError
,"null reference");
7873 arg3
= wxString_in_helper(obj2
);
7874 if (arg3
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= wxPyMake_wxObject(result
, 1);
7901 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7904 wxString
*arg2
= 0 ;
7905 int arg3
= (int) 0 ;
7907 bool temp2
= false ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7912 (char *) "self",(char *) "spec",(char *) "flags", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 arg2
= wxString_in_helper(obj1
);
7920 if (arg2
== NULL
) SWIG_fail
;
7924 arg3
= (int)SWIG_As_int(obj2
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7955 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (arg1
)->FindNext();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7987 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7990 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7992 return Py_BuildValue((char *)"");
7994 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxString
*arg1
= 0 ;
7999 bool temp1
= false ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "filename",(char *) "image",(char *) "type", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 arg1
= wxString_in_helper(obj0
);
8010 if (arg1
== NULL
) SWIG_fail
;
8013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8017 PyErr_SetString(PyExc_TypeError
,"null reference");
8020 arg3
= (long)SWIG_As_long(obj2
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxString
*arg1
= 0 ;
8047 wxBitmap
*arg2
= 0 ;
8049 bool temp1
= false ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8054 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 arg1
= wxString_in_helper(obj0
);
8060 if (arg1
== NULL
) SWIG_fail
;
8063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8067 PyErr_SetString(PyExc_TypeError
,"null reference");
8070 arg3
= (long)SWIG_As_long(obj2
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxString
*arg1
= 0 ;
8097 PyObject
*arg2
= (PyObject
*) 0 ;
8098 bool temp1
= false ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8102 (char *) "filename",(char *) "data", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 arg1
= wxString_in_helper(obj0
);
8108 if (arg1
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxMemoryFSHandler
*result
;
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8156 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxString
*arg1
= 0 ;
8159 bool temp1
= false ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "filename", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8167 arg1
= wxString_in_helper(obj0
);
8168 if (arg1
== NULL
) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8196 wxString
*arg2
= 0 ;
8198 bool temp2
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8202 (char *) "self",(char *) "location", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= wxString_in_helper(obj1
);
8210 if (arg2
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8240 wxFileSystem
*arg2
= 0 ;
8241 wxString
*arg3
= 0 ;
8243 bool temp3
= false ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "fs",(char *) "location", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8258 PyErr_SetString(PyExc_TypeError
,"null reference");
8262 arg3
= wxString_in_helper(obj2
);
8263 if (arg3
== NULL
) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= wxPyMake_wxObject(result
, 1);
8290 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8293 wxString
*arg2
= 0 ;
8294 int arg3
= (int) 0 ;
8296 bool temp2
= false ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "spec",(char *) "flags", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 arg2
= wxString_in_helper(obj1
);
8309 if (arg2
== NULL
) SWIG_fail
;
8313 arg3
= (int)SWIG_As_int(obj2
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8344 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (arg1
)->FindNext();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8376 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8379 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8381 return Py_BuildValue((char *)"");
8383 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8389 (char *) "self", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (arg1
)->GetName();
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8415 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "self", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->GetExtension();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8447 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (long)(arg1
)->GetType();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_From_long((long)result
);
8473 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (arg1
)->GetMimeType();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8505 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8508 wxString
*arg2
= 0 ;
8510 bool temp2
= false ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "self",(char *) "name", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 arg2
= wxString_in_helper(obj1
);
8522 if (arg2
== NULL
) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8549 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8552 wxString
*arg2
= 0 ;
8553 bool temp2
= false ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "self",(char *) "name", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 arg2
= wxString_in_helper(obj1
);
8565 if (arg2
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 (arg1
)->SetName((wxString
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8593 wxString
*arg2
= 0 ;
8594 bool temp2
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "extension", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetExtension((wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8638 (char *) "self",(char *) "type", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (long)SWIG_As_long(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetType(arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8663 wxString
*arg2
= 0 ;
8664 bool temp2
= false ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8668 (char *) "self",(char *) "mimetype", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 arg2
= wxString_in_helper(obj1
);
8676 if (arg2
== NULL
) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8706 return Py_BuildValue((char *)"");
8708 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxImageHistogram
*result
;
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxImageHistogram
*)new wxImageHistogram();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8730 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 unsigned char arg1
;
8733 unsigned char arg2
;
8734 unsigned char arg3
;
8735 unsigned long result
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8740 (char *) "r",(char *) "g",(char *) "b", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8746 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8748 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8764 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8767 unsigned char *arg2
= (unsigned char *) 0 ;
8768 unsigned char *arg3
= (unsigned char *) 0 ;
8769 unsigned char *arg4
= (unsigned char *) 0 ;
8770 unsigned char arg5
= (unsigned char) 1 ;
8771 unsigned char arg6
= (unsigned char) 0 ;
8772 unsigned char arg7
= (unsigned char) 0 ;
8774 unsigned char temp2
;
8776 unsigned char temp3
;
8778 unsigned char temp4
;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 PyObject
* obj3
= 0 ;
8785 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8788 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8789 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8790 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8816 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8817 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8819 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8820 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8821 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8828 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8831 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8833 return Py_BuildValue((char *)"");
8835 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxString
*arg1
= 0 ;
8838 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8839 int arg3
= (int) -1 ;
8841 bool temp1
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8846 (char *) "name",(char *) "type",(char *) "index", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8851 arg1
= wxString_in_helper(obj0
);
8852 if (arg1
== NULL
) SWIG_fail
;
8856 arg2
= (long)SWIG_As_long(obj1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 arg3
= (int)SWIG_As_int(obj2
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8885 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxImage
*arg1
= (wxImage
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "self", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxString
*arg1
= 0 ;
8913 wxString
*arg2
= 0 ;
8914 int arg3
= (int) -1 ;
8916 bool temp1
= false ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 arg1
= wxString_in_helper(obj0
);
8928 if (arg1
== NULL
) SWIG_fail
;
8932 arg2
= wxString_in_helper(obj1
);
8933 if (arg2
== NULL
) SWIG_fail
;
8937 arg3
= (int)SWIG_As_int(obj2
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8970 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxInputStream
*arg1
= 0 ;
8973 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8974 int arg3
= (int) -1 ;
8976 wxPyInputStream
*temp1
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "stream",(char *) "type",(char *) "index", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8987 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8988 arg1
= temp1
->m_wxis
;
8991 PyErr_Clear(); // clear the failure of the wxPyConvert above
8992 arg1
= wxPyCBInputStream_create(obj0
, false);
8994 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9001 arg2
= (long)SWIG_As_long(obj1
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9005 arg3
= (int)SWIG_As_int(obj2
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9030 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxInputStream
*arg1
= 0 ;
9033 wxString
*arg2
= 0 ;
9034 int arg3
= (int) -1 ;
9036 wxPyInputStream
*temp1
;
9038 bool temp2
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9043 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9048 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9049 arg1
= temp1
->m_wxis
;
9052 PyErr_Clear(); // clear the failure of the wxPyConvert above
9053 arg1
= wxPyCBInputStream_create(obj0
, false);
9055 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9062 arg2
= wxString_in_helper(obj1
);
9063 if (arg2
== NULL
) SWIG_fail
;
9067 arg3
= (int)SWIG_As_int(obj2
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9100 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 int arg1
= (int) 0 ;
9103 int arg2
= (int) 0 ;
9104 bool arg3
= (bool) true ;
9106 PyObject
* obj0
= 0 ;
9107 PyObject
* obj1
= 0 ;
9108 PyObject
* obj2
= 0 ;
9110 (char *) "width",(char *) "height",(char *) "clear", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 arg1
= (int)SWIG_As_int(obj0
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 arg2
= (int)SWIG_As_int(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (bool)SWIG_As_bool(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9140 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxBitmap
*arg1
= 0 ;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "bitmap", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9154 PyErr_SetString(PyExc_TypeError
,"null reference");
9158 if (!wxPyCheckForApp()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9172 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9176 unsigned char *arg3
= (unsigned char *) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9182 (char *) "width",(char *) "height",(char *) "data", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9186 arg1
= (int)SWIG_As_int(obj0
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9188 arg2
= (int)SWIG_As_int(obj1
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9206 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxImage
*arg1
= (wxImage
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9215 (char *) "self",(char *) "width",(char *) "height", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 arg2
= (int)SWIG_As_int(obj1
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9223 arg3
= (int)SWIG_As_int(obj2
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->Create(arg2
,arg3
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 Py_INCREF(Py_None
); resultobj
= Py_None
;
9239 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxImage
*arg1
= (wxImage
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 Py_INCREF(Py_None
); resultobj
= Py_None
;
9264 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxImage
*arg1
= (wxImage
*) 0 ;
9269 SwigValueWrapper
< wxImage
> result
;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "self",(char *) "width",(char *) "height", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (int)SWIG_As_int(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg3
= (int)SWIG_As_int(obj2
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (arg1
)->Scale(arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 wxImage
* resultptr
;
9293 resultptr
= new wxImage((wxImage
&) result
);
9294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9302 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxImage
*arg1
= (wxImage
*) 0 ;
9307 SwigValueWrapper
< wxImage
> result
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9312 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 arg2
= (int)SWIG_As_int(obj1
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9320 arg3
= (int)SWIG_As_int(obj2
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 wxImage
* resultptr
;
9331 resultptr
= new wxImage((wxImage
&) result
);
9332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9340 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxImage
*arg1
= (wxImage
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "width",(char *) "height", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (int)SWIG_As_int(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (int)SWIG_As_int(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9364 result
= (wxImage
*) &_result_ref
;
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9377 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxImage
*arg1
= (wxImage
*) 0 ;
9382 unsigned char arg4
;
9383 unsigned char arg5
;
9384 unsigned char arg6
;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9388 PyObject
* obj3
= 0 ;
9389 PyObject
* obj4
= 0 ;
9390 PyObject
* obj5
= 0 ;
9392 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 arg2
= (int)SWIG_As_int(obj1
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9400 arg3
= (int)SWIG_As_int(obj2
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxImage
*arg1
= (wxImage
*) 0 ;
9427 unsigned char result
;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 PyObject
* obj2
= 0 ;
9432 (char *) "self",(char *) "x",(char *) "y", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 arg2
= (int)SWIG_As_int(obj1
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9440 arg3
= (int)SWIG_As_int(obj2
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9456 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxImage
*arg1
= (wxImage
*) 0 ;
9461 unsigned char result
;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9464 PyObject
* obj2
= 0 ;
9466 (char *) "self",(char *) "x",(char *) "y", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 arg2
= (int)SWIG_As_int(obj1
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9474 arg3
= (int)SWIG_As_int(obj2
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9490 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxImage
*arg1
= (wxImage
*) 0 ;
9495 unsigned char result
;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9500 (char *) "self",(char *) "x",(char *) "y", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 arg2
= (int)SWIG_As_int(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9508 arg3
= (int)SWIG_As_int(obj2
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9524 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxImage
*arg1
= (wxImage
*) 0 ;
9529 unsigned char arg4
;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 PyObject
* obj3
= 0 ;
9535 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (int)SWIG_As_int(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9543 arg3
= (int)SWIG_As_int(obj2
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9545 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxImage
*arg1
= (wxImage
*) 0 ;
9566 unsigned char result
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9571 (char *) "self",(char *) "x",(char *) "y", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 arg2
= (int)SWIG_As_int(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9579 arg3
= (int)SWIG_As_int(obj2
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9595 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxImage
*arg1
= (wxImage
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (bool)(arg1
)->HasAlpha();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxImage
*arg1
= (wxImage
*) 0 ;
9626 byte
*arg2
= (byte
*) 0 ;
9627 byte
*arg3
= (byte
*) 0 ;
9628 byte
*arg4
= (byte
*) 0 ;
9629 byte arg5
= (byte
) 0 ;
9630 byte arg6
= (byte
) 0 ;
9631 byte arg7
= (byte
) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 PyObject
* obj2
= 0 ;
9642 PyObject
* obj3
= 0 ;
9644 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9647 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9648 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9649 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9675 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9676 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9677 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9678 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9679 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9680 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9687 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxImage
*arg1
= (wxImage
*) 0 ;
9690 byte arg2
= (byte
) 128 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "threshold", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxImage
*arg1
= (wxImage
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9732 PyObject
* obj3
= 0 ;
9733 PyObject
* obj4
= 0 ;
9735 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9745 PyErr_SetString(PyExc_TypeError
,"null reference");
9748 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9750 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9752 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxString
*arg1
= 0 ;
9774 bool temp1
= false ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "name", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9782 arg1
= wxString_in_helper(obj0
);
9783 if (arg1
== NULL
) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxString
*arg1
= 0 ;
9813 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9815 bool temp1
= false ;
9816 PyObject
* obj0
= 0 ;
9817 PyObject
* obj1
= 0 ;
9819 (char *) "name",(char *) "type", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9824 arg1
= wxString_in_helper(obj0
);
9825 if (arg1
== NULL
) SWIG_fail
;
9829 arg2
= (long)SWIG_As_long(obj1
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int((int)result
);
9854 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxImage
*arg1
= (wxImage
*) 0 ;
9857 wxString
*arg2
= 0 ;
9858 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9859 int arg4
= (int) -1 ;
9861 bool temp2
= false ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9865 PyObject
* obj3
= 0 ;
9867 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9874 arg2
= wxString_in_helper(obj1
);
9875 if (arg2
== NULL
) SWIG_fail
;
9879 arg3
= (long)SWIG_As_long(obj2
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 arg4
= (int)SWIG_As_int(obj3
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9910 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxImage
*arg1
= (wxImage
*) 0 ;
9913 wxString
*arg2
= 0 ;
9914 wxString
*arg3
= 0 ;
9915 int arg4
= (int) -1 ;
9917 bool temp2
= false ;
9918 bool temp3
= false ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9922 PyObject
* obj3
= 0 ;
9924 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 arg2
= wxString_in_helper(obj1
);
9932 if (arg2
== NULL
) SWIG_fail
;
9936 arg3
= wxString_in_helper(obj2
);
9937 if (arg3
== NULL
) SWIG_fail
;
9941 arg4
= (int)SWIG_As_int(obj3
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxImage
*arg1
= (wxImage
*) 0 ;
9979 wxString
*arg2
= 0 ;
9982 bool temp2
= false ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9985 PyObject
* obj2
= 0 ;
9987 (char *) "self",(char *) "name",(char *) "type", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 arg2
= wxString_in_helper(obj1
);
9995 if (arg2
== NULL
) SWIG_fail
;
9998 arg3
= (int)SWIG_As_int(obj2
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10024 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxImage
*arg1
= (wxImage
*) 0 ;
10027 wxString
*arg2
= 0 ;
10028 wxString
*arg3
= 0 ;
10030 bool temp2
= false ;
10031 bool temp3
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 arg2
= wxString_in_helper(obj1
);
10044 if (arg2
== NULL
) SWIG_fail
;
10048 arg3
= wxString_in_helper(obj2
);
10049 if (arg3
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxInputStream
*arg1
= 0 ;
10088 wxPyInputStream
*temp1
;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "stream", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10097 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10098 arg1
= temp1
->m_wxis
;
10101 PyErr_Clear(); // clear the failure of the wxPyConvert above
10102 arg1
= wxPyCBInputStream_create(obj0
, false);
10103 if (arg1
== NULL
) {
10104 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (bool)wxImage::CanRead(*arg1
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImage
*arg1
= (wxImage
*) 0 ;
10137 wxInputStream
*arg2
= 0 ;
10138 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10139 int arg4
= (int) -1 ;
10141 wxPyInputStream
*temp2
;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 PyObject
* obj2
= 0 ;
10146 PyObject
* obj3
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10156 arg2
= temp2
->m_wxis
;
10159 PyErr_Clear(); // clear the failure of the wxPyConvert above
10160 arg2
= wxPyCBInputStream_create(obj1
, false);
10161 if (arg2
== NULL
) {
10162 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10169 arg3
= (long)SWIG_As_long(obj2
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 arg4
= (int)SWIG_As_int(obj3
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10200 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImage
*arg1
= (wxImage
*) 0 ;
10203 wxInputStream
*arg2
= 0 ;
10204 wxString
*arg3
= 0 ;
10205 int arg4
= (int) -1 ;
10207 wxPyInputStream
*temp2
;
10209 bool temp3
= false ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 PyObject
* obj3
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10223 arg2
= temp2
->m_wxis
;
10226 PyErr_Clear(); // clear the failure of the wxPyConvert above
10227 arg2
= wxPyCBInputStream_create(obj1
, false);
10228 if (arg2
== NULL
) {
10229 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10236 arg3
= wxString_in_helper(obj2
);
10237 if (arg3
== NULL
) SWIG_fail
;
10241 arg4
= (int)SWIG_As_int(obj3
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxImage
*arg1
= (wxImage
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (bool)(arg1
)->Ok();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (int)(arg1
)->GetWidth();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int((int)result
);
10330 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxImage
*arg1
= (wxImage
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetHeight();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int((int)result
);
10356 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImage
*arg1
= (wxImage
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= wxImage_GetSize(arg1
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 wxSize
* resultptr
;
10377 resultptr
= new wxSize((wxSize
&) result
);
10378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10386 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10390 SwigValueWrapper
< wxImage
> result
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "rect", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 wxImage
* resultptr
;
10414 resultptr
= new wxImage((wxImage
&) result
);
10415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10423 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImage
*arg1
= (wxImage
*) 0 ;
10426 SwigValueWrapper
< wxImage
> result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (arg1
)->Copy();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 wxImage
* resultptr
;
10444 resultptr
= new wxImage((wxImage
&) result
);
10445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10453 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxImage
*arg1
= (wxImage
*) 0 ;
10456 wxImage
*arg2
= 0 ;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 PyObject
* obj2
= 0 ;
10462 PyObject
* obj3
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10473 if (arg2
== NULL
) {
10474 PyErr_SetString(PyExc_TypeError
,"null reference");
10477 arg3
= (int)SWIG_As_int(obj2
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10479 arg4
= (int)SWIG_As_int(obj3
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxImage
*arg1
= (wxImage
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (PyObject
*)wxImage_GetData(arg1
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= result
;
10521 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxImage
*arg1
= (wxImage
*) 0 ;
10524 PyObject
*arg2
= (PyObject
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "data", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxImage_SetData(arg1
,arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxImage
*arg1
= (wxImage
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
;
10575 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxImage
*arg1
= (wxImage
*) 0 ;
10578 PyObject
*arg2
= (PyObject
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "data", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 wxImage_SetDataBuffer(arg1
,arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxImage
*arg1
= (wxImage
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= result
;
10629 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxImage
*arg1
= (wxImage
*) 0 ;
10632 PyObject
*arg2
= (PyObject
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "data", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 wxImage_SetAlphaData(arg1
,arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 Py_INCREF(Py_None
); resultobj
= Py_None
;
10657 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxImage
*arg1
= (wxImage
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
;
10683 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxImage
*arg1
= (wxImage
*) 0 ;
10686 PyObject
*arg2
= (PyObject
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "data", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxImage_SetAlphaBuffer(arg1
,arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxImage
*arg1
= (wxImage
*) 0 ;
10714 unsigned char arg2
;
10715 unsigned char arg3
;
10716 unsigned char arg4
;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 PyObject
* obj3
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10730 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxImage
*arg1
= (wxImage
*) 0 ;
10751 unsigned char result
;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (unsigned char)(arg1
)->GetMaskRed();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10774 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxImage
*arg1
= (wxImage
*) 0 ;
10777 unsigned char result
;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (unsigned char)(arg1
)->GetMaskGreen();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10800 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxImage
*arg1
= (wxImage
*) 0 ;
10803 unsigned char result
;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (unsigned char)(arg1
)->GetMaskBlue();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10826 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxImage
*arg1
= (wxImage
*) 0 ;
10829 bool arg2
= (bool) true ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "mask", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (bool)SWIG_As_bool(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetMask(arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxImage
*arg1
= (wxImage
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->HasMask();
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxImage
*arg1
= (wxImage
*) 0 ;
10889 wxPoint
*arg3
= 0 ;
10890 bool arg4
= (bool) true ;
10891 wxPoint
*arg5
= (wxPoint
*) NULL
;
10892 SwigValueWrapper
< wxImage
> result
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 PyObject
* obj3
= 0 ;
10898 PyObject
* obj4
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (double)SWIG_As_double(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10913 arg4
= (bool)SWIG_As_bool(obj3
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 wxImage
* resultptr
;
10929 resultptr
= new wxImage((wxImage
&) result
);
10930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10938 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxImage
*arg1
= (wxImage
*) 0 ;
10941 bool arg2
= (bool) true ;
10942 SwigValueWrapper
< wxImage
> result
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "clockwise", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= (bool)SWIG_As_bool(obj1
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (arg1
)->Rotate90(arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10964 wxImage
* resultptr
;
10965 resultptr
= new wxImage((wxImage
&) result
);
10966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10974 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxImage
*arg1
= (wxImage
*) 0 ;
10977 bool arg2
= (bool) true ;
10978 SwigValueWrapper
< wxImage
> result
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "horizontally", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 arg2
= (bool)SWIG_As_bool(obj1
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (arg1
)->Mirror(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 wxImage
* resultptr
;
11001 resultptr
= new wxImage((wxImage
&) result
);
11002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11010 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxImage
*arg1
= (wxImage
*) 0 ;
11013 unsigned char arg2
;
11014 unsigned char arg3
;
11015 unsigned char arg4
;
11016 unsigned char arg5
;
11017 unsigned char arg6
;
11018 unsigned char arg7
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 PyObject
* obj3
= 0 ;
11023 PyObject
* obj4
= 0 ;
11024 PyObject
* obj5
= 0 ;
11025 PyObject
* obj6
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11033 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11035 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11037 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11039 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11043 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxImage
*arg1
= (wxImage
*) 0 ;
11062 unsigned char arg2
;
11063 unsigned char arg3
;
11064 unsigned char arg4
;
11065 SwigValueWrapper
< wxImage
> result
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11079 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11081 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 wxImage
* resultptr
;
11092 resultptr
= new wxImage((wxImage
&) result
);
11093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11101 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxImage
*arg1
= (wxImage
*) 0 ;
11104 wxString
*arg2
= 0 ;
11105 wxString
*arg3
= 0 ;
11106 bool temp2
= false ;
11107 bool temp3
= false ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self",(char *) "name",(char *) "value", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 arg2
= wxString_in_helper(obj1
);
11120 if (arg2
== NULL
) SWIG_fail
;
11124 arg3
= wxString_in_helper(obj2
);
11125 if (arg3
== NULL
) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxImage
*arg1
= (wxImage
*) 0 ;
11161 wxString
*arg2
= 0 ;
11163 bool temp2
= false ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 PyObject
* obj2
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "name",(char *) "value", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= wxString_in_helper(obj1
);
11176 if (arg2
== NULL
) SWIG_fail
;
11179 arg3
= (int)SWIG_As_int(obj2
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxImage
*arg1
= (wxImage
*) 0 ;
11206 wxString
*arg2
= 0 ;
11208 bool temp2
= false ;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self",(char *) "name", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 arg2
= wxString_in_helper(obj1
);
11220 if (arg2
== NULL
) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11251 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxImage
*arg1
= (wxImage
*) 0 ;
11254 wxString
*arg2
= 0 ;
11256 bool temp2
= false ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "name", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_From_int((int)result
);
11293 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxImage
*arg1
= (wxImage
*) 0 ;
11296 wxString
*arg2
= 0 ;
11298 bool temp2
= false ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "name", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 arg2
= wxString_in_helper(obj1
);
11310 if (arg2
== NULL
) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxImage
*arg1
= (wxImage
*) 0 ;
11340 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11341 unsigned long result
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "stopafter", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11369 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxImage
*arg1
= (wxImage
*) 0 ;
11372 wxImageHistogram
*arg2
= 0 ;
11373 unsigned long result
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "h", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11386 if (arg2
== NULL
) {
11387 PyErr_SetString(PyExc_TypeError
,"null reference");
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11404 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "handler", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 wxImage::AddHandler(arg1
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "handler", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 wxImage::InsertHandler(arg1
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxString
*arg1
= 0 ;
11458 bool temp1
= false ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "name", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11466 arg1
= wxString_in_helper(obj0
);
11467 if (arg1
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11497 char *kwnames
[] = {
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= wxImage::GetImageExtWildcard();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11522 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxImage
*arg1
= (wxImage
*) 0 ;
11525 int arg2
= (int) -1 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "depth", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg2
= (int)SWIG_As_int(obj1
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 if (!wxPyCheckForApp()) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 wxBitmap
* resultptr
;
11550 resultptr
= new wxBitmap((wxBitmap
&) result
);
11551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11559 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxImage
*arg1
= (wxImage
*) 0 ;
11562 unsigned char arg2
;
11563 unsigned char arg3
;
11564 unsigned char arg4
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11579 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 if (!wxPyCheckForApp()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 wxBitmap
* resultptr
;
11593 resultptr
= new wxBitmap((wxBitmap
&) result
);
11594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11602 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11607 return Py_BuildValue((char *)"");
11609 static int _wrap_NullImage_set(PyObject
*) {
11610 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11615 static PyObject
*_wrap_NullImage_get() {
11618 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11623 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11624 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11629 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11634 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11636 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11643 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11644 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11649 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11654 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11656 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11663 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11664 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11669 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11674 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11676 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11683 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11684 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11689 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11694 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11696 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11703 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11704 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11709 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11714 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11716 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11723 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxBMPHandler
*result
;
11726 char *kwnames
[] = {
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxBMPHandler
*)new wxBMPHandler();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11745 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11748 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11750 return Py_BuildValue((char *)"");
11752 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxICOHandler
*result
;
11755 char *kwnames
[] = {
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (wxICOHandler
*)new wxICOHandler();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11774 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11779 return Py_BuildValue((char *)"");
11781 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxCURHandler
*result
;
11784 char *kwnames
[] = {
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxCURHandler
*)new wxCURHandler();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11803 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11806 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11808 return Py_BuildValue((char *)"");
11810 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxANIHandler
*result
;
11813 char *kwnames
[] = {
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxANIHandler
*)new wxANIHandler();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11832 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11835 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11837 return Py_BuildValue((char *)"");
11839 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxPNGHandler
*result
;
11842 char *kwnames
[] = {
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxPNGHandler
*)new wxPNGHandler();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11861 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11866 return Py_BuildValue((char *)"");
11868 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxGIFHandler
*result
;
11871 char *kwnames
[] = {
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxGIFHandler
*)new wxGIFHandler();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11890 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxPCXHandler
*result
;
11900 char *kwnames
[] = {
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxPCXHandler
*)new wxPCXHandler();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11919 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11922 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11924 return Py_BuildValue((char *)"");
11926 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxJPEGHandler
*result
;
11929 char *kwnames
[] = {
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11948 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11951 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11953 return Py_BuildValue((char *)"");
11955 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxPNMHandler
*result
;
11958 char *kwnames
[] = {
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxPNMHandler
*)new wxPNMHandler();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11977 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11980 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11982 return Py_BuildValue((char *)"");
11984 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxXPMHandler
*result
;
11987 char *kwnames
[] = {
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (wxXPMHandler
*)new wxXPMHandler();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12006 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12009 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12011 return Py_BuildValue((char *)"");
12013 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxTIFFHandler
*result
;
12016 char *kwnames
[] = {
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12035 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12038 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12040 return Py_BuildValue((char *)"");
12042 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxImage
*arg1
= 0 ;
12045 wxImage
*arg2
= 0 ;
12046 int arg3
= (int) 236 ;
12047 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 PyObject
* obj2
= 0 ;
12052 PyObject
* obj3
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12061 if (arg1
== NULL
) {
12062 PyErr_SetString(PyExc_TypeError
,"null reference");
12065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12068 if (arg2
== NULL
) {
12069 PyErr_SetString(PyExc_TypeError
,"null reference");
12073 arg3
= (int)SWIG_As_int(obj2
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 arg4
= (int)SWIG_As_int(obj3
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12099 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12101 return Py_BuildValue((char *)"");
12103 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxEvtHandler
*result
;
12106 char *kwnames
[] = {
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (wxEvtHandler
*)new wxEvtHandler();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12125 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12128 wxEvtHandler
*result
;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= wxPyMake_wxObject(result
, 0);
12153 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12156 wxEvtHandler
*result
;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= wxPyMake_wxObject(result
, 0);
12181 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "handler", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetNextHandler(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12213 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "handler", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetPreviousHandler(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12267 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "enabled", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 arg2
= (bool)SWIG_As_bool(obj1
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetEvtHandlerEnabled(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12296 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12299 wxEvent
*arg2
= 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "event", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12313 if (arg2
== NULL
) {
12314 PyErr_SetString(PyExc_TypeError
,"null reference");
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12336 wxEvent
*arg2
= 0 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self",(char *) "event", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12349 if (arg2
== NULL
) {
12350 PyErr_SetString(PyExc_TypeError
,"null reference");
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->AddPendingEvent(*arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->ProcessPendingEvents();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12398 PyObject
*arg5
= (PyObject
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 PyObject
* obj3
= 0 ;
12403 PyObject
* obj4
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 arg2
= (int)SWIG_As_int(obj1
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12413 arg3
= (int)SWIG_As_int(obj2
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12415 arg4
= (int)SWIG_As_int(obj3
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12436 int arg3
= (int) -1 ;
12437 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 PyObject
* obj2
= 0 ;
12442 PyObject
* obj3
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= (int)SWIG_As_int(obj1
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 arg3
= (int)SWIG_As_int(obj2
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12476 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12479 PyObject
*arg2
= (PyObject
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "_self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 wxEvtHandler__setOORInfo(arg1
,arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12507 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12509 return Py_BuildValue((char *)"");
12511 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEventType result
;
12514 char *kwnames
[] = {
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (wxEventType
)wxNewEventType();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_From_int((int)result
);
12533 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxEvent
*arg1
= (wxEvent
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxEvent
*arg1
= (wxEvent
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "typ", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->SetEventType(arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxEvent
*arg1
= (wxEvent
*) 0 ;
12590 wxEventType result
;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_From_int((int)result
);
12613 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxEvent
*arg1
= (wxEvent
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= wxPyMake_wxObject(result
, 0);
12641 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxEvent
*arg1
= (wxEvent
*) 0 ;
12644 wxObject
*arg2
= (wxObject
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "obj", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetEventObject(arg2
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxEvent
*arg1
= (wxEvent
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_From_long((long)result
);
12696 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxEvent
*arg1
= (wxEvent
*) 0 ;
12699 long arg2
= (long) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "ts", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= (long)SWIG_As_long(obj1
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->SetTimestamp(arg2
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxEvent
*arg1
= (wxEvent
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (int)((wxEvent
const *)arg1
)->GetId();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_From_int((int)result
);
12753 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxEvent
*arg1
= (wxEvent
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "Id", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 arg2
= (int)SWIG_As_int(obj1
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->SetId(arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 Py_INCREF(Py_None
); resultobj
= Py_None
;
12782 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxEvent
*arg1
= (wxEvent
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12810 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxEvent
*arg1
= (wxEvent
*) 0 ;
12813 bool arg2
= (bool) true ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "skip", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 arg2
= (bool)SWIG_As_bool(obj1
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 (arg1
)->Skip(arg2
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxEvent
*arg1
= (wxEvent
*) 0 ;
12845 PyObject
* obj0
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12869 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxEvent
*arg1
= (wxEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxEvent
*arg1
= (wxEvent
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (int)(arg1
)->StopPropagation();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_From_int((int)result
);
12923 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxEvent
*arg1
= (wxEvent
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "propagationLevel", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 arg2
= (int)SWIG_As_int(obj1
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->ResumePropagation(arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxEvent
*arg1
= (wxEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxEvent
*)(arg1
)->Clone();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12978 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12981 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12983 return Py_BuildValue((char *)"");
12985 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxEvent
*arg1
= 0 ;
12988 wxPropagationDisabler
*result
;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "event", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12998 if (arg1
== NULL
) {
12999 PyErr_SetString(PyExc_TypeError
,"null reference");
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13016 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13046 return Py_BuildValue((char *)"");
13048 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxEvent
*arg1
= 0 ;
13051 wxPropagateOnce
*result
;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "event", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13061 if (arg1
== NULL
) {
13062 PyErr_SetString(PyExc_TypeError
,"null reference");
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13079 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13107 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13109 return Py_BuildValue((char *)"");
13111 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13114 int arg2
= (int) 0 ;
13115 wxCommandEvent
*result
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "commandType",(char *) "winid", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg2
= (int)SWIG_As_int(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13145 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_From_int((int)result
);
13171 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13174 wxString
*arg2
= 0 ;
13175 bool temp2
= false ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "s", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 arg2
= wxString_in_helper(obj1
);
13187 if (arg2
== NULL
) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetString((wxString
const &)*arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13244 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "extraLong", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 arg2
= (long)SWIG_As_long(obj1
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->SetExtraLong(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_From_long((long)result
);
13355 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "i", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (int)SWIG_As_int(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetInt(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_From_long((long)result
);
13410 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13436 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13441 return Py_BuildValue((char *)"");
13443 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13446 int arg2
= (int) 0 ;
13447 wxNotifyEvent
*result
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "commandType",(char *) "winid", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 arg2
= (int)SWIG_As_int(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13477 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)(arg1
)->IsAllowed();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13555 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13558 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13560 return Py_BuildValue((char *)"");
13562 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13565 int arg2
= (int) 0 ;
13566 int arg3
= (int) 0 ;
13567 int arg4
= (int) 0 ;
13568 wxScrollEvent
*result
;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 PyObject
* obj3
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13579 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 arg2
= (int)SWIG_As_int(obj1
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 arg3
= (int)SWIG_As_int(obj2
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 arg4
= (int)SWIG_As_int(obj3
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13608 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_From_int((int)result
);
13634 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_From_int((int)result
);
13660 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "orient", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 arg2
= (int)SWIG_As_int(obj1
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->SetOrientation(arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "pos", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 arg2
= (int)SWIG_As_int(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetPosition(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 Py_INCREF(Py_None
); resultobj
= Py_None
;
13718 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13721 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13723 return Py_BuildValue((char *)"");
13725 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13728 int arg2
= (int) 0 ;
13729 int arg3
= (int) 0 ;
13730 wxScrollWinEvent
*result
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13740 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13744 arg2
= (int)SWIG_As_int(obj1
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 arg3
= (int)SWIG_As_int(obj2
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13765 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_From_int((int)result
);
13791 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_From_int((int)result
);
13817 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self",(char *) "orient", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 arg2
= (int)SWIG_As_int(obj1
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->SetOrientation(arg2
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "pos", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 arg2
= (int)SWIG_As_int(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->SetPosition(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13878 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13880 return Py_BuildValue((char *)"");
13882 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13885 wxMouseEvent
*result
;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "mouseType", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13893 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= wxPyMake_wxObject(result
, 1);
13912 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13940 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 int arg2
= (int) wxMOUSE_BTN_ANY
;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "but", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 arg2
= (int)SWIG_As_int(obj1
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13977 int arg2
= (int) wxMOUSE_BTN_ANY
;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "but", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 arg2
= (int)SWIG_As_int(obj1
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14008 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14011 int arg2
= (int) wxMOUSE_BTN_ANY
;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "but", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 arg2
= (int)SWIG_As_int(obj1
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14042 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "but", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 arg2
= (int)SWIG_As_int(obj1
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "but", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 arg2
= (int)SWIG_As_int(obj1
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14106 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_From_int((int)result
);
14132 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14216 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14300 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14328 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14440 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14524 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (bool)(arg1
)->LeftIsDown();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (bool)(arg1
)->MiddleIsDown();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14580 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)(arg1
)->RightIsDown();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14720 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (arg1
)->GetPosition();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 wxPoint
* resultptr
;
14741 resultptr
= new wxPoint((wxPoint
&) result
);
14742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14750 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14753 long *arg2
= (long *) 0 ;
14754 long *arg3
= (long *) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self", NULL
14764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14765 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 (arg1
)->GetPosition(arg2
,arg3
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 Py_INCREF(Py_None
); resultobj
= Py_None
;
14777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14778 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14779 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14780 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14787 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self",(char *) "dc", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14804 if (arg2
== NULL
) {
14805 PyErr_SetString(PyExc_TypeError
,"null reference");
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 wxPoint
* resultptr
;
14817 resultptr
= new wxPoint((wxPoint
&) result
);
14818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14826 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_From_int((int)result
);
14852 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_From_int((int)result
);
14878 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_From_int((int)result
);
14904 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int((int)result
);
14930 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_From_int((int)result
);
14956 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "m_x", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 arg2
= (int)SWIG_As_int(obj1
);
14998 if (PyErr_Occurred()) SWIG_fail
;
14999 if (arg1
) (arg1
)->m_x
= arg2
;
15001 Py_INCREF(Py_None
); resultobj
= Py_None
;
15008 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 result
= (int) ((arg1
)->m_x
);
15022 resultobj
= SWIG_From_int((int)result
);
15029 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self",(char *) "m_y", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15042 arg2
= (int)SWIG_As_int(obj1
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15044 if (arg1
) (arg1
)->m_y
= arg2
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 result
= (int) ((arg1
)->m_y
);
15067 resultobj
= SWIG_From_int((int)result
);
15074 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "m_leftDown", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (bool)SWIG_As_bool(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15089 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 result
= (bool) ((arg1
)->m_leftDown
);
15113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15121 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "m_middleDown", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 arg2
= (bool)SWIG_As_bool(obj1
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15136 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 result
= (bool) ((arg1
)->m_middleDown
);
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "m_rightDown", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 arg2
= (bool)SWIG_As_bool(obj1
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15183 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 result
= (bool) ((arg1
)->m_rightDown
);
15207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15215 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "m_controlDown", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 arg2
= (bool)SWIG_As_bool(obj1
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15230 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 result
= (bool) ((arg1
)->m_controlDown
);
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "m_shiftDown", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= (bool)SWIG_As_bool(obj1
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15277 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15279 Py_INCREF(Py_None
); resultobj
= Py_None
;
15286 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 result
= (bool) ((arg1
)->m_shiftDown
);
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "m_altDown", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 arg2
= (bool)SWIG_As_bool(obj1
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15324 if (arg1
) (arg1
)->m_altDown
= arg2
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 result
= (bool) ((arg1
)->m_altDown
);
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "m_metaDown", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 arg2
= (bool)SWIG_As_bool(obj1
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15371 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15373 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 result
= (bool) ((arg1
)->m_metaDown
);
15395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15403 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "m_wheelRotation", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 arg2
= (int)SWIG_As_int(obj1
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15418 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15420 Py_INCREF(Py_None
); resultobj
= Py_None
;
15427 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 result
= (int) ((arg1
)->m_wheelRotation
);
15441 resultobj
= SWIG_From_int((int)result
);
15448 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "m_wheelDelta", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg2
= (int)SWIG_As_int(obj1
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15463 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15465 Py_INCREF(Py_None
); resultobj
= Py_None
;
15472 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 result
= (int) ((arg1
)->m_wheelDelta
);
15486 resultobj
= SWIG_From_int((int)result
);
15493 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "m_linesPerAction", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 arg2
= (int)SWIG_As_int(obj1
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15508 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15510 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 result
= (int) ((arg1
)->m_linesPerAction
);
15531 resultobj
= SWIG_From_int((int)result
);
15538 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15541 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15543 return Py_BuildValue((char *)"");
15545 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 int arg1
= (int) 0 ;
15548 int arg2
= (int) 0 ;
15549 wxSetCursorEvent
*result
;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "x",(char *) "y", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15558 arg1
= (int)SWIG_As_int(obj0
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 arg2
= (int)SWIG_As_int(obj1
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15579 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_From_int((int)result
);
15605 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)result
);
15631 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15634 wxCursor
*arg2
= 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "cursor", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15647 if (arg2
== NULL
) {
15648 PyErr_SetString(PyExc_TypeError
,"null reference");
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15681 result
= (wxCursor
*) &_result_ref
;
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 wxCursor
* resultptr
= new wxCursor(*result
);
15689 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15697 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15728 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15730 return Py_BuildValue((char *)"");
15732 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15735 wxKeyEvent
*result
;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "keyType", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15743 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15760 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15788 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15816 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15844 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15872 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15900 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15928 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_From_int((int)result
);
15954 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_From_int((int)result
);
15980 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15983 unsigned int result
;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16006 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16009 unsigned int result
;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16032 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (arg1
)->GetPosition();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 wxPoint
* resultptr
;
16053 resultptr
= new wxPoint((wxPoint
&) result
);
16054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16062 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16065 long *arg2
= (long *) 0 ;
16066 long *arg3
= (long *) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16077 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 (arg1
)->GetPosition(arg2
,arg3
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16090 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16091 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16092 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16099 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_From_int((int)result
);
16125 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= SWIG_From_int((int)result
);
16151 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "m_x", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 arg2
= (int)SWIG_As_int(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16166 if (arg1
) (arg1
)->m_x
= arg2
;
16168 Py_INCREF(Py_None
); resultobj
= Py_None
;
16175 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 result
= (int) ((arg1
)->m_x
);
16189 resultobj
= SWIG_From_int((int)result
);
16196 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "m_y", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 arg2
= (int)SWIG_As_int(obj1
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16211 if (arg1
) (arg1
)->m_y
= arg2
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16220 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 result
= (int) ((arg1
)->m_y
);
16234 resultobj
= SWIG_From_int((int)result
);
16241 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self",(char *) "m_keyCode", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 arg2
= (long)SWIG_As_long(obj1
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16256 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16265 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 result
= (long) ((arg1
)->m_keyCode
);
16279 resultobj
= SWIG_From_long((long)result
);
16286 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "m_controlDown", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 arg2
= (bool)SWIG_As_bool(obj1
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16301 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16322 result
= (bool) ((arg1
)->m_controlDown
);
16325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16333 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "m_shiftDown", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16346 arg2
= (bool)SWIG_As_bool(obj1
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16348 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 result
= (bool) ((arg1
)->m_shiftDown
);
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "m_altDown", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 arg2
= (bool)SWIG_As_bool(obj1
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16395 if (arg1
) (arg1
)->m_altDown
= arg2
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 result
= (bool) ((arg1
)->m_altDown
);
16419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16427 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self",(char *) "m_metaDown", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16440 arg2
= (bool)SWIG_As_bool(obj1
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16442 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 result
= (bool) ((arg1
)->m_metaDown
);
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "m_scanCode", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 arg2
= (bool)SWIG_As_bool(obj1
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16489 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 result
= (bool) ((arg1
)->m_scanCode
);
16513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16521 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16524 unsigned int arg2
;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "m_rawCode", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16534 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16536 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16548 unsigned int result
;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 result
= (unsigned int) ((arg1
)->m_rawCode
);
16559 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16566 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16569 unsigned int arg2
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "m_rawFlags", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16581 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16593 unsigned int result
;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16604 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16611 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16616 return Py_BuildValue((char *)"");
16618 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16621 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16622 int arg2
= (int) 0 ;
16623 wxSizeEvent
*result
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "sz",(char *) "winid", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16639 arg2
= (int)SWIG_As_int(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16656 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 wxSize
* resultptr
;
16677 resultptr
= new wxSize((wxSize
&) result
);
16678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16686 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 wxRect
* resultptr
;
16707 resultptr
= new wxRect((wxRect
&) result
);
16708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16716 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "rect", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16731 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetRect(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "size", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16762 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 wxSizeEvent_SetSize(arg1
,arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16781 wxSize
*arg2
= (wxSize
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "m_size", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if (arg1
) (arg1
)->m_size
= *arg2
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 result
= (wxSize
*)& ((arg1
)->m_size
);
16816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16823 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16826 wxRect
*arg2
= (wxRect
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "m_rect", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if (arg1
) (arg1
)->m_rect
= *arg2
;
16840 Py_INCREF(Py_None
); resultobj
= Py_None
;
16847 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 result
= (wxRect
*)& ((arg1
)->m_rect
);
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16868 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16873 return Py_BuildValue((char *)"");
16875 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16878 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16879 int arg2
= (int) 0 ;
16880 wxMoveEvent
*result
;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "pos",(char *) "winid", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16896 arg2
= (int)SWIG_As_int(obj1
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16913 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 wxPoint
* resultptr
;
16934 resultptr
= new wxPoint((wxPoint
&) result
);
16935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16943 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 wxRect
* resultptr
;
16964 resultptr
= new wxRect((wxRect
&) result
);
16965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16973 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "rect", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16988 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->SetRect(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "pos", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17018 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17019 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 wxMoveEvent_SetPosition(arg1
,arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17038 wxPoint
*arg2
= (wxPoint
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "m_pos", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if (arg1
) (arg1
)->m_pos
= *arg2
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17059 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17063 PyObject
* obj0
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17080 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17083 wxRect
*arg2
= (wxRect
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self",(char *) "m_rect", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 if (arg1
) (arg1
)->m_rect
= *arg2
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 result
= (wxRect
*)& ((arg1
)->m_rect
);
17118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17125 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17128 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17130 return Py_BuildValue((char *)"");
17132 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 int arg1
= (int) 0 ;
17135 wxPaintEvent
*result
;
17136 PyObject
* obj0
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "Id", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17143 arg1
= (int)SWIG_As_int(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17160 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17165 return Py_BuildValue((char *)"");
17167 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 int arg1
= (int) 0 ;
17170 wxNcPaintEvent
*result
;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "winid", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17178 arg1
= (int)SWIG_As_int(obj0
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17195 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17198 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17200 return Py_BuildValue((char *)"");
17202 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 int arg1
= (int) 0 ;
17205 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17206 wxEraseEvent
*result
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "Id",(char *) "dc", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 arg1
= (int)SWIG_As_int(obj0
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17236 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= wxPyMake_wxObject(result
, 0);
17264 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17267 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17269 return Py_BuildValue((char *)"");
17271 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17274 int arg2
= (int) 0 ;
17275 wxFocusEvent
*result
;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "type",(char *) "winid", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 arg2
= (int)SWIG_As_int(obj1
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17305 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= wxPyMake_wxObject(result
, 0);
17333 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17336 wxWindow
*arg2
= (wxWindow
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "win", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetWindow(arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17365 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17367 return Py_BuildValue((char *)"");
17369 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxWindow
*arg1
= (wxWindow
*) NULL
;
17372 wxChildFocusEvent
*result
;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "win", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17397 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= wxPyMake_wxObject(result
, 0);
17425 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17430 return Py_BuildValue((char *)"");
17432 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17435 bool arg2
= (bool) true ;
17436 int arg3
= (int) 0 ;
17437 wxActivateEvent
*result
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "type",(char *) "active",(char *) "Id", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17447 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 arg2
= (bool)SWIG_As_bool(obj1
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 arg3
= (int)SWIG_As_int(obj2
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17472 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17500 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17505 return Py_BuildValue((char *)"");
17507 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 int arg1
= (int) 0 ;
17510 wxInitDialogEvent
*result
;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "Id", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17518 arg1
= (int)SWIG_As_int(obj0
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17535 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17538 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17540 return Py_BuildValue((char *)"");
17542 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17545 int arg2
= (int) 0 ;
17546 wxMenu
*arg3
= (wxMenu
*) NULL
;
17547 wxMenuEvent
*result
;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 PyObject
* obj2
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "type",(char *) "winid",(char *) "menu", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17557 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 arg2
= (int)SWIG_As_int(obj1
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17582 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17586 PyObject
* obj0
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_From_int((int)result
);
17608 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17636 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= wxPyMake_wxObject(result
, 0);
17664 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17667 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17669 return Py_BuildValue((char *)"");
17671 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17674 int arg2
= (int) 0 ;
17675 wxCloseEvent
*result
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "type",(char *) "winid", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 arg2
= (int)SWIG_As_int(obj1
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17705 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "logOff", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 arg2
= (bool)SWIG_As_bool(obj1
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->SetLoggingOff(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17762 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17765 bool arg2
= (bool) true ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "veto", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 arg2
= (bool)SWIG_As_bool(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->Veto(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "canVeto", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 arg2
= (bool)SWIG_As_bool(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 (arg1
)->SetCanVeto(arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17850 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17883 return Py_BuildValue((char *)"");
17885 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 int arg1
= (int) 0 ;
17888 bool arg2
= (bool) false ;
17889 wxShowEvent
*result
;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "winid",(char *) "show", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 arg1
= (int)SWIG_As_int(obj0
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 arg2
= (bool)SWIG_As_bool(obj1
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17919 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "show", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (bool)SWIG_As_bool(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetShow(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17976 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17981 return Py_BuildValue((char *)"");
17983 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 int arg1
= (int) 0 ;
17986 bool arg2
= (bool) true ;
17987 wxIconizeEvent
*result
;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "id",(char *) "iconized", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 arg1
= (int)SWIG_As_int(obj0
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 arg2
= (bool)SWIG_As_bool(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18017 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)(arg1
)->Iconized();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18045 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18048 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18050 return Py_BuildValue((char *)"");
18052 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 int arg1
= (int) 0 ;
18055 wxMaximizeEvent
*result
;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "id", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18063 arg1
= (int)SWIG_As_int(obj0
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18080 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18083 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18085 return Py_BuildValue((char *)"");
18087 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetPosition();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxPoint
* resultptr
;
18108 resultptr
= new wxPoint((wxPoint
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18117 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)(arg1
)->GetNumberOfFiles();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_From_int((int)result
);
18143 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
;
18169 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18174 return Py_BuildValue((char *)"");
18176 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 int arg1
= (int) 0 ;
18179 wxUpdateUIEvent
*result
;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "commandId", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18187 arg1
= (int)SWIG_As_int(obj0
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18204 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18232 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18260 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18292 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18320 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18348 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18376 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "check", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 arg2
= (bool)SWIG_As_bool(obj1
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->Check(arg2
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 Py_INCREF(Py_None
); resultobj
= Py_None
;
18405 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "enable", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 arg2
= (bool)SWIG_As_bool(obj1
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->Enable(arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18437 wxString
*arg2
= 0 ;
18438 bool temp2
= false ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "text", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= wxString_in_helper(obj1
);
18450 if (arg2
== NULL
) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetText((wxString
const &)*arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18475 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "updateInterval", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18484 arg1
= (long)SWIG_As_long(obj0
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 Py_INCREF(Py_None
); resultobj
= Py_None
;
18500 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18503 char *kwnames
[] = {
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_From_long((long)result
);
18522 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxWindow
*arg1
= (wxWindow
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "win", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18550 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 char *kwnames
[] = {
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 wxUpdateUIEvent::ResetUpdateTime();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "mode", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18580 arg1
= (int)SWIG_As_int(obj0
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 Py_INCREF(Py_None
); resultobj
= Py_None
;
18596 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18599 char *kwnames
[] = {
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (int)wxUpdateUIEvent::GetMode();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_From_int((int)result
);
18618 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18621 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18623 return Py_BuildValue((char *)"");
18625 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxSysColourChangedEvent
*result
;
18628 char *kwnames
[] = {
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18647 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18650 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18652 return Py_BuildValue((char *)"");
18654 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 int arg1
= (int) 0 ;
18657 wxWindow
*arg2
= (wxWindow
*) NULL
;
18658 wxMouseCaptureChangedEvent
*result
;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "winid",(char *) "gainedCapture", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18667 arg1
= (int)SWIG_As_int(obj0
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18688 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= wxPyMake_wxObject(result
, 0);
18716 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18719 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18721 return Py_BuildValue((char *)"");
18723 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDisplayChangedEvent
*result
;
18726 char *kwnames
[] = {
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18745 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18748 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18750 return Py_BuildValue((char *)"");
18752 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 int arg1
= (int) 0 ;
18755 wxPaletteChangedEvent
*result
;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "id", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18763 arg1
= (int)SWIG_As_int(obj0
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18780 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18783 wxWindow
*arg2
= (wxWindow
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "win", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 (arg1
)->SetChangedWindow(arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 Py_INCREF(Py_None
); resultobj
= Py_None
;
18809 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= wxPyMake_wxObject(result
, 0);
18837 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18842 return Py_BuildValue((char *)"");
18844 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 int arg1
= (int) 0 ;
18847 wxQueryNewPaletteEvent
*result
;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "winid", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18855 arg1
= (int)SWIG_As_int(obj0
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18872 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "realized", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 arg2
= (bool)SWIG_As_bool(obj1
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->SetPaletteRealized(arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18929 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxNavigationKeyEvent
*result
;
18939 char *kwnames
[] = {
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18958 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "forward", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 arg2
= (bool)SWIG_As_bool(obj1
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetDirection(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19043 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "ischange", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= (bool)SWIG_As_bool(obj1
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetWindowChange(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "flags", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= (long)SWIG_As_long(obj1
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetFlags(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= wxPyMake_wxObject(result
, 0);
19129 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19132 wxWindow
*arg2
= (wxWindow
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "win", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->SetCurrentFocus(arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19161 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19163 return Py_BuildValue((char *)"");
19165 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxWindow
*arg1
= (wxWindow
*) NULL
;
19168 wxWindowCreateEvent
*result
;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "win", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19193 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19197 PyObject
* obj0
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= wxPyMake_wxObject(result
, 0);
19221 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19224 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19226 return Py_BuildValue((char *)"");
19228 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxWindow
*arg1
= (wxWindow
*) NULL
;
19231 wxWindowDestroyEvent
*result
;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "win", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19256 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= wxPyMake_wxObject(result
, 0);
19284 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19287 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19289 return Py_BuildValue((char *)"");
19291 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19294 int arg2
= (int) 0 ;
19295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19297 wxContextMenuEvent
*result
;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "type",(char *) "winid",(char *) "pt", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19308 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 arg2
= (int)SWIG_As_int(obj1
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19335 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19351 result
= (wxPoint
*) &_result_ref
;
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19364 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19367 wxPoint
*arg2
= 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "pos", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19399 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19401 return Py_BuildValue((char *)"");
19403 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxIdleEvent
*result
;
19406 char *kwnames
[] = {
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (wxIdleEvent
*)new wxIdleEvent();
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19425 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19428 bool arg2
= (bool) true ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "needMore", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 arg2
= (bool)SWIG_As_bool(obj1
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->RequestMore(arg2
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19484 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "mode", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19493 arg1
= (int)SWIG_As_int(obj0
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19512 char *kwnames
[] = {
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (int)wxIdleEvent::GetMode();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_From_int((int)result
);
19531 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxWindow
*arg1
= (wxWindow
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "win", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (bool)wxIdleEvent::CanSend(arg1
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19562 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19564 return Py_BuildValue((char *)"");
19566 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 int arg1
= (int) 0 ;
19569 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "winid",(char *) "commandType", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 arg1
= (int)SWIG_As_int(obj0
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19600 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 Py_INCREF(Py_None
); resultobj
= Py_None
;
19625 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19628 PyObject
*arg2
= (PyObject
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetSelf(arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (PyObject
*)(arg1
)->GetSelf();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= result
;
19679 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19684 return Py_BuildValue((char *)"");
19686 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19689 int arg2
= (int) 0 ;
19690 wxPyCommandEvent
*result
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "commandType",(char *) "id", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 arg2
= (int)SWIG_As_int(obj1
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19720 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 Py_INCREF(Py_None
); resultobj
= Py_None
;
19745 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19748 PyObject
*arg2
= (PyObject
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self",(char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->SetSelf(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (PyObject
*)(arg1
)->GetSelf();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= result
;
19799 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19802 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19804 return Py_BuildValue((char *)"");
19806 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19809 char *kwnames
[] = {
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxPyApp
*)new_wxPyApp();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19828 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19856 PyObject
*arg2
= (PyObject
*) 0 ;
19857 PyObject
*arg3
= (PyObject
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 PyObject
* obj2
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "self",(char *) "_class", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19916 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19919 wxString
*arg2
= 0 ;
19920 bool temp2
= false ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self",(char *) "name", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 arg2
= wxString_in_helper(obj1
);
19932 if (arg2
== NULL
) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 (arg1
)->SetAppName((wxString
const &)*arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19989 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19992 wxString
*arg2
= 0 ;
19993 bool temp2
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "name", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 arg2
= wxString_in_helper(obj1
);
20005 if (arg2
== NULL
) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->SetClassName((wxString
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 Py_INCREF(Py_None
); resultobj
= Py_None
;
20030 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20046 result
= (wxString
*) &_result_ref
;
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20065 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20068 wxString
*arg2
= 0 ;
20069 bool temp2
= false ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "name", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20080 arg2
= wxString_in_helper(obj1
);
20081 if (arg2
== NULL
) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20109 wxAppTraits
*result
;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20132 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->ProcessPendingEvents();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20157 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20160 bool arg2
= (bool) false ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "onlyIfNeeded", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 arg2
= (bool)SWIG_As_bool(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (bool)(arg1
)->Yield(arg2
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20191 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->WakeUpIdle();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 char *kwnames
[] = {
20222 (char *) "self", NULL
20225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (int)(arg1
)->MainLoop();
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_From_int((int)result
);
20242 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 Py_INCREF(Py_None
); resultobj
= Py_None
;
20267 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20270 PyObject
* obj0
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 (arg1
)->ExitMainLoop();
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 Py_INCREF(Py_None
); resultobj
= Py_None
;
20292 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",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 result
= (bool)(arg1
)->Pending();
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20320 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (bool)(arg1
)->Dispatch();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20348 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (bool)(arg1
)->ProcessIdle();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20379 wxWindow
*arg2
= (wxWindow
*) 0 ;
20380 wxIdleEvent
*arg3
= 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 PyObject
* obj2
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "win",(char *) "event", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20397 if (arg3
== NULL
) {
20398 PyErr_SetString(PyExc_TypeError
,"null reference");
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20417 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20445 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20448 wxWindow
*arg2
= (wxWindow
*) 0 ;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self",(char *) "win", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 (arg1
)->SetTopWindow(arg2
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 Py_INCREF(Py_None
); resultobj
= Py_None
;
20474 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= wxPyMake_wxObject(result
, 0);
20502 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "flag", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 arg2
= (bool)SWIG_As_bool(obj1
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 (arg1
)->SetExitOnFrameDelete(arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 Py_INCREF(Py_None
); resultobj
= Py_None
;
20531 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20559 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "flag", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 arg2
= (bool)SWIG_As_bool(obj1
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 (arg1
)->SetUseBestVisual(arg2
);
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 Py_INCREF(Py_None
); resultobj
= Py_None
;
20588 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20616 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "mode", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 arg2
= (int)SWIG_As_int(obj1
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 (arg1
)->SetPrintMode(arg2
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 Py_INCREF(Py_None
); resultobj
= Py_None
;
20645 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 char *kwnames
[] = {
20651 (char *) "self", NULL
20654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= SWIG_From_int((int)result
);
20671 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self",(char *) "mode", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 arg2
= (int)SWIG_As_int(obj1
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->SetAssertMode(arg2
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 Py_INCREF(Py_None
); resultobj
= Py_None
;
20700 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (int)(arg1
)->GetAssertMode();
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_From_int((int)result
);
20726 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20729 char *kwnames
[] = {
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20750 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20753 char *kwnames
[] = {
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= SWIG_From_long((long)result
);
20772 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20775 char *kwnames
[] = {
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_From_long((long)result
);
20794 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20797 char *kwnames
[] = {
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (long)wxPyApp::GetMacExitMenuItemId();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_From_long((long)result
);
20816 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20819 char *kwnames
[] = {
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= wxPyApp::GetMacHelpMenuTitleName();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20844 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20847 PyObject
* obj0
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "val", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20853 arg1
= (bool)SWIG_As_bool(obj0
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 Py_INCREF(Py_None
); resultobj
= Py_None
;
20869 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "val", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20878 arg1
= (long)SWIG_As_long(obj0
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 wxPyApp::SetMacAboutMenuItemId(arg1
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20897 PyObject
* obj0
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "val", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20903 arg1
= (long)SWIG_As_long(obj0
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 Py_INCREF(Py_None
); resultobj
= Py_None
;
20919 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "val", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20928 arg1
= (long)SWIG_As_long(obj0
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 wxPyApp::SetMacExitMenuItemId(arg1
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 Py_INCREF(Py_None
); resultobj
= Py_None
;
20944 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxString
*arg1
= 0 ;
20947 bool temp1
= false ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "val", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20955 arg1
= wxString_in_helper(obj0
);
20956 if (arg1
== NULL
) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 (arg1
)->_BootstrapApp();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 Py_INCREF(Py_None
); resultobj
= Py_None
;
21006 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21009 char *kwnames
[] = {
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (int)wxPyApp::GetComCtl32Version();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_From_int((int)result
);
21028 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21031 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21033 return Py_BuildValue((char *)"");
21035 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 char *kwnames
[] = {
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 Py_INCREF(Py_None
); resultobj
= Py_None
;
21056 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21059 char *kwnames
[] = {
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (bool)wxYield();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21080 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21083 char *kwnames
[] = {
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (bool)wxYieldIfNeeded();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21104 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxWindow
*arg1
= (wxWindow
*) NULL
;
21107 bool arg2
= (bool) false ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "win",(char *) "onlyIfNeeded", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 arg2
= (bool)SWIG_As_bool(obj1
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (bool)wxSafeYield(arg1
,arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21140 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 char *kwnames
[] = {
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21164 wxEvent
*arg2
= 0 ;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "dest",(char *) "event", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21177 if (arg2
== NULL
) {
21178 PyErr_SetString(PyExc_TypeError
,"null reference");
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 wxPostEvent(arg1
,*arg2
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 char *kwnames
[] = {
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21219 char *kwnames
[] = {
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxPyApp
*)wxPyGetApp();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= wxPyMake_wxObject(result
, 0);
21240 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxEventLoop
*result
;
21243 char *kwnames
[] = {
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxEventLoop
*)new wxEventLoop();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21262 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",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();
21301 result
= (int)(arg1
)->Run();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_From_int((int)result
);
21313 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21316 int arg2
= (int) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "rc", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 arg2
= (int)SWIG_As_int(obj1
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 (arg1
)->Exit(arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 Py_INCREF(Py_None
); resultobj
= Py_None
;
21344 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21348 PyObject
* obj0
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21372 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (bool)(arg1
)->Dispatch();
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21400 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21428 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxEventLoop
*result
;
21431 char *kwnames
[] = {
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21450 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "loop", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 wxEventLoop::SetActive(arg1
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 Py_INCREF(Py_None
); resultobj
= Py_None
;
21475 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 int arg1
= (int) 0 ;
21485 int arg2
= (int) 0 ;
21486 int arg3
= (int) 0 ;
21487 wxAcceleratorEntry
*result
;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21497 arg1
= (int)SWIG_As_int(obj0
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 arg2
= (int)SWIG_As_int(obj1
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 arg3
= (int)SWIG_As_int(obj2
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21522 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 PyObject
* obj3
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 arg2
= (int)SWIG_As_int(obj1
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21566 arg3
= (int)SWIG_As_int(obj2
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21568 arg4
= (int)SWIG_As_int(obj3
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 (arg1
)->Set(arg2
,arg3
,arg4
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (int)(arg1
)->GetFlags();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_From_int((int)result
);
21610 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(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_GetKeyCode",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
)->GetKeyCode();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_From_int((int)result
);
21636 static PyObject
*_wrap_AcceleratorEntry_GetCommand(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_GetCommand",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
)->GetCommand();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_int((int)result
);
21662 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21665 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21667 return Py_BuildValue((char *)"");
21669 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21672 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21673 wxAcceleratorTable
*result
;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21681 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21682 if (arg2
) arg1
= PyList_Size(obj0
);
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21705 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 Py_INCREF(Py_None
); resultobj
= Py_None
;
21730 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21734 PyObject
* obj0
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",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();
21744 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21761 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21763 return Py_BuildValue((char *)"");
21765 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21766 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21771 static PyObject
*_wrap_NullAcceleratorTable_get() {
21774 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21779 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxString
*arg1
= 0 ;
21782 wxAcceleratorEntry
*result
;
21783 bool temp1
= false ;
21784 PyObject
* obj0
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "label", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21791 arg1
= wxString_in_helper(obj0
);
21792 if (arg1
== NULL
) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21817 static int _wrap_PanelNameStr_set(PyObject
*) {
21818 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21823 static PyObject
*_wrap_PanelNameStr_get() {
21828 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21830 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21837 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxVisualAttributes
*result
;
21840 char *kwnames
[] = {
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21859 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 delete_wxVisualAttributes(arg1
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 Py_INCREF(Py_None
); resultobj
= Py_None
;
21884 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21887 wxFont
*arg2
= (wxFont
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "font", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if (arg1
) (arg1
)->font
= *arg2
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 result
= (wxFont
*)& ((arg1
)->font
);
21922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21929 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21932 wxColour
*arg2
= (wxColour
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "colFg", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 if (arg1
) (arg1
)->colFg
= *arg2
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21953 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 result
= (wxColour
*)& ((arg1
)->colFg
);
21967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21974 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21977 wxColour
*arg2
= (wxColour
*) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "colBg", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 if (arg1
) (arg1
)->colBg
= *arg2
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 result
= (wxColour
*)& ((arg1
)->colBg
);
22012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22019 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22022 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22024 return Py_BuildValue((char *)"");
22026 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxWindow
*arg1
= (wxWindow
*) 0 ;
22029 int arg2
= (int) (int)-1 ;
22030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22034 long arg5
= (long) 0 ;
22035 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22036 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22040 bool temp6
= false ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj4
= 0 ;
22046 PyObject
* obj5
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 arg2
= (int)SWIG_As_int(obj1
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22071 arg5
= (long)SWIG_As_long(obj4
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22076 arg6
= wxString_in_helper(obj5
);
22077 if (arg6
== NULL
) SWIG_fail
;
22082 if (!wxPyCheckForApp()) SWIG_fail
;
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22104 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22107 char *kwnames
[] = {
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22113 if (!wxPyCheckForApp()) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (wxWindow
*)new wxWindow();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22127 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxWindow
*arg1
= (wxWindow
*) 0 ;
22130 wxWindow
*arg2
= (wxWindow
*) 0 ;
22131 int arg3
= (int) (int)-1 ;
22132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22136 long arg6
= (long) 0 ;
22137 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22142 bool temp7
= false ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 PyObject
* obj2
= 0 ;
22146 PyObject
* obj3
= 0 ;
22147 PyObject
* obj4
= 0 ;
22148 PyObject
* obj5
= 0 ;
22149 PyObject
* obj6
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 arg3
= (int)SWIG_As_int(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22176 arg6
= (long)SWIG_As_long(obj5
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22181 arg7
= wxString_in_helper(obj6
);
22182 if (arg7
== NULL
) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22210 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxWindow
*arg1
= (wxWindow
*) 0 ;
22213 bool arg2
= (bool) false ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self",(char *) "force", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 arg2
= (bool)SWIG_As_bool(obj1
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (bool)(arg1
)->Close(arg2
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22244 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxWindow
*arg1
= (wxWindow
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->Destroy();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxWindow
*arg1
= (wxWindow
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (bool)(arg1
)->DestroyChildren();
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22300 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxWindow
*arg1
= (wxWindow
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22328 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxWindow
*arg1
= (wxWindow
*) 0 ;
22331 wxString
*arg2
= 0 ;
22332 bool temp2
= false ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "title", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22343 arg2
= wxString_in_helper(obj1
);
22344 if (arg2
== NULL
) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->SetTitle((wxString
const &)*arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 Py_INCREF(Py_None
); resultobj
= Py_None
;
22369 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= ((wxWindow
const *)arg1
)->GetTitle();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22401 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxWindow
*arg1
= (wxWindow
*) 0 ;
22404 wxString
*arg2
= 0 ;
22405 bool temp2
= false ;
22406 PyObject
* obj0
= 0 ;
22407 PyObject
* obj1
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self",(char *) "label", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 arg2
= wxString_in_helper(obj1
);
22417 if (arg2
== NULL
) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 (arg1
)->SetLabel((wxString
const &)*arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 Py_INCREF(Py_None
); resultobj
= Py_None
;
22442 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxWindow
*arg1
= (wxWindow
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= ((wxWindow
const *)arg1
)->GetLabel();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22474 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 wxString
*arg2
= 0 ;
22478 bool temp2
= false ;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "name", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 arg2
= wxString_in_helper(obj1
);
22490 if (arg2
== NULL
) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 (arg1
)->SetName((wxString
const &)*arg2
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 Py_INCREF(Py_None
); resultobj
= Py_None
;
22515 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= ((wxWindow
const *)arg1
)->GetName();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22547 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxWindow
*arg1
= (wxWindow
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "variant", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 arg2
= (int)SWIG_As_int(obj1
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxWindow
*arg1
= (wxWindow
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_From_int((int)result
);
22602 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "winid", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 arg2
= (int)SWIG_As_int(obj1
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetId(arg2
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22631 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (int)((wxWindow
const *)arg1
)->GetId();
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_From_int((int)result
);
22657 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22660 char *kwnames
[] = {
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (int)wxWindow::NewControlId();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_From_int((int)result
);
22679 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22683 PyObject
* obj0
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "winid", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22689 arg1
= (int)SWIG_As_int(obj0
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 result
= (int)wxWindow::NextControlId(arg1
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_From_int((int)result
);
22705 static PyObject
*_wrap_Window_PrevControlId(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_PrevControlId",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::PrevControlId(arg1
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_From_int((int)result
);
22731 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxWindow
*arg1
= (wxWindow
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "size", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 (arg1
)->SetSize((wxSize
const &)*arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 Py_INCREF(Py_None
); resultobj
= Py_None
;
22763 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxWindow
*arg1
= (wxWindow
*) 0 ;
22770 int arg6
= (int) wxSIZE_AUTO
;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 PyObject
* obj2
= 0 ;
22774 PyObject
* obj3
= 0 ;
22775 PyObject
* obj4
= 0 ;
22776 PyObject
* obj5
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 arg2
= (int)SWIG_As_int(obj1
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22786 arg3
= (int)SWIG_As_int(obj2
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22788 arg4
= (int)SWIG_As_int(obj3
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg5
= (int)SWIG_As_int(obj4
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 arg6
= (int)SWIG_As_int(obj5
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 Py_INCREF(Py_None
); resultobj
= Py_None
;
22810 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxWindow
*arg1
= (wxWindow
*) 0 ;
22814 int arg3
= (int) wxSIZE_AUTO
;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 PyObject
* obj2
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22831 arg3
= (int)SWIG_As_int(obj2
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 Py_INCREF(Py_None
); resultobj
= Py_None
;
22848 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxWindow
*arg1
= (wxWindow
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 PyObject
* obj2
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "width",(char *) "height", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 arg2
= (int)SWIG_As_int(obj1
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22865 arg3
= (int)SWIG_As_int(obj2
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 (arg1
)->SetSize(arg2
,arg3
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 Py_INCREF(Py_None
); resultobj
= Py_None
;
22881 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxWindow
*arg1
= (wxWindow
*) 0 ;
22884 wxPoint
*arg2
= 0 ;
22885 int arg3
= (int) wxSIZE_USE_EXISTING
;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 PyObject
* obj2
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self",(char *) "pt",(char *) "flags", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22902 arg3
= (int)SWIG_As_int(obj2
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 Py_INCREF(Py_None
); resultobj
= Py_None
;
22919 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxWindow
*arg1
= (wxWindow
*) 0 ;
22924 int arg4
= (int) wxSIZE_USE_EXISTING
;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 PyObject
* obj3
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 arg2
= (int)SWIG_As_int(obj1
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22938 arg3
= (int)SWIG_As_int(obj2
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 arg4
= (int)SWIG_As_int(obj3
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 (arg1
)->Move(arg2
,arg3
,arg4
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 Py_INCREF(Py_None
); resultobj
= Py_None
;
22958 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22962 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "size", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxWindow
*arg1
= (wxWindow
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxWindow
*arg1
= (wxWindow
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 Py_INCREF(Py_None
); resultobj
= Py_None
;
23043 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxWindow
*arg1
= (wxWindow
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self",(char *) "size", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 Py_INCREF(Py_None
); resultobj
= Py_None
;
23075 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxWindow
*arg1
= (wxWindow
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 PyObject
* obj2
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "width",(char *) "height", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 arg2
= (int)SWIG_As_int(obj1
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23092 arg3
= (int)SWIG_As_int(obj2
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 (arg1
)->SetClientSize(arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23108 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxWindow
*arg1
= (wxWindow
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self",(char *) "rect", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxWindow
*arg1
= (wxWindow
*) 0 ;
23144 PyObject
* obj0
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (arg1
)->GetPosition();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23160 wxPoint
* resultptr
;
23161 resultptr
= new wxPoint((wxPoint
&) result
);
23162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23170 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxWindow
*arg1
= (wxWindow
*) 0 ;
23173 int *arg2
= (int *) 0 ;
23174 int *arg3
= (int *) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23185 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 (arg1
)->GetPosition(arg2
,arg3
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 Py_INCREF(Py_None
); resultobj
= Py_None
;
23197 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23198 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23199 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23200 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23207 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxWindow
*arg1
= (wxWindow
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= ((wxWindow
const *)arg1
)->GetSize();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 wxSize
* resultptr
;
23228 resultptr
= new wxSize((wxSize
&) result
);
23229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23237 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxWindow
*arg1
= (wxWindow
*) 0 ;
23240 int *arg2
= (int *) 0 ;
23241 int *arg3
= (int *) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self", NULL
23251 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23252 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 Py_INCREF(Py_None
); resultobj
= Py_None
;
23264 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23265 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23266 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23267 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23274 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxWindow
*arg1
= (wxWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= ((wxWindow
const *)arg1
)->GetRect();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 wxRect
* resultptr
;
23295 resultptr
= new wxRect((wxRect
&) result
);
23296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23304 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxWindow
*arg1
= (wxWindow
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 wxSize
* resultptr
;
23325 resultptr
= new wxSize((wxSize
&) result
);
23326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23334 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxWindow
*arg1
= (wxWindow
*) 0 ;
23337 int *arg2
= (int *) 0 ;
23338 int *arg3
= (int *) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self", NULL
23348 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23349 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23362 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23363 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23364 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23371 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 wxPoint
* resultptr
;
23392 resultptr
= new wxPoint((wxPoint
&) result
);
23393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23401 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 wxRect
* resultptr
;
23422 resultptr
= new wxRect((wxRect
&) result
);
23423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23431 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 wxSize
* resultptr
;
23452 resultptr
= new wxSize((wxSize
&) result
);
23453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23461 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 int *arg2
= (int *) 0 ;
23465 int *arg3
= (int *) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self", NULL
23475 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23476 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 Py_INCREF(Py_None
); resultobj
= Py_None
;
23488 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23489 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23490 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23491 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23498 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->InvalidateBestSize();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 Py_INCREF(Py_None
); resultobj
= Py_None
;
23523 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxWindow
*arg1
= (wxWindow
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",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 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 wxSize
* resultptr
;
23544 resultptr
= new wxSize((wxSize
&) result
);
23545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23553 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxWindow
*arg1
= (wxWindow
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23573 wxSize
* resultptr
;
23574 resultptr
= new wxSize((wxSize
&) result
);
23575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23583 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxWindow
*arg1
= (wxWindow
*) 0 ;
23586 int arg2
= (int) wxBOTH
;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "direction", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 arg2
= (int)SWIG_As_int(obj1
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->Center(arg2
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 Py_INCREF(Py_None
); resultobj
= Py_None
;
23614 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxWindow
*arg1
= (wxWindow
*) 0 ;
23617 int arg2
= (int) wxBOTH
;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "dir", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 arg2
= (int)SWIG_As_int(obj1
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->CenterOnScreen(arg2
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxWindow
*arg1
= (wxWindow
*) 0 ;
23648 int arg2
= (int) wxBOTH
;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "dir", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23659 arg2
= (int)SWIG_As_int(obj1
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->CenterOnParent(arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 Py_INCREF(Py_None
); resultobj
= Py_None
;
23676 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxWindow
*arg1
= (wxWindow
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 Py_INCREF(Py_None
); resultobj
= Py_None
;
23701 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxWindow
*arg1
= (wxWindow
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->FitInside();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxWindow
*arg1
= (wxWindow
*) 0 ;
23731 int arg4
= (int) -1 ;
23732 int arg5
= (int) -1 ;
23733 int arg6
= (int) -1 ;
23734 int arg7
= (int) -1 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 PyObject
* obj4
= 0 ;
23740 PyObject
* obj5
= 0 ;
23741 PyObject
* obj6
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 arg2
= (int)SWIG_As_int(obj1
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23751 arg3
= (int)SWIG_As_int(obj2
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 arg4
= (int)SWIG_As_int(obj3
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23758 arg5
= (int)SWIG_As_int(obj4
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 arg6
= (int)SWIG_As_int(obj5
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23766 arg7
= (int)SWIG_As_int(obj6
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxWindow
*arg1
= (wxWindow
*) 0 ;
23787 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23788 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23789 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23790 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 PyObject
* obj2
= 0 ;
23797 PyObject
* obj3
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23812 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 Py_INCREF(Py_None
); resultobj
= Py_None
;
23835 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 int arg4
= (int) -1 ;
23841 int arg5
= (int) -1 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 PyObject
* obj2
= 0 ;
23845 PyObject
* obj3
= 0 ;
23846 PyObject
* obj4
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 arg2
= (int)SWIG_As_int(obj1
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23856 arg3
= (int)SWIG_As_int(obj2
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 arg4
= (int)SWIG_As_int(obj3
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 arg5
= (int)SWIG_As_int(obj4
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 Py_INCREF(Py_None
); resultobj
= Py_None
;
23880 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxWindow
*arg1
= (wxWindow
*) 0 ;
23884 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23885 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 PyObject
* obj2
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23905 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 Py_INCREF(Py_None
); resultobj
= Py_None
;
23922 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 wxSize
* resultptr
;
23943 resultptr
= new wxSize((wxSize
&) result
);
23944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23952 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxWindow
*arg1
= (wxWindow
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 wxSize
* resultptr
;
23973 resultptr
= new wxSize((wxSize
&) result
);
23974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23982 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxWindow
*arg1
= (wxWindow
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "minSize", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxWindow
*arg1
= (wxWindow
*) 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "maxSize", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24046 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxWindow
*arg1
= (wxWindow
*) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= SWIG_From_int((int)result
);
24072 static PyObject
*_wrap_Window_GetMinHeight(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_GetMinHeight",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
)->GetMinHeight();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_From_int((int)result
);
24098 static PyObject
*_wrap_Window_GetMaxWidth(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_GetMaxWidth",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
)->GetMaxWidth();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_From_int((int)result
);
24124 static PyObject
*_wrap_Window_GetMaxHeight(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_GetMaxHeight",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
)->GetMaxHeight();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_From_int((int)result
);
24150 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxWindow
*arg1
= (wxWindow
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "size", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 Py_INCREF(Py_None
); resultobj
= Py_None
;
24182 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxWindow
*arg1
= (wxWindow
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "w",(char *) "h", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24197 arg2
= (int)SWIG_As_int(obj1
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24199 arg3
= (int)SWIG_As_int(obj2
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->SetVirtualSize(arg2
,arg3
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 wxSize
* resultptr
;
24236 resultptr
= new wxSize((wxSize
&) result
);
24237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24245 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxWindow
*arg1
= (wxWindow
*) 0 ;
24248 int *arg2
= (int *) 0 ;
24249 int *arg3
= (int *) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24260 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 Py_INCREF(Py_None
); resultobj
= Py_None
;
24272 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24273 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24274 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24275 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24282 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxWindow
*arg1
= (wxWindow
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24302 wxSize
* resultptr
;
24303 resultptr
= new wxSize((wxSize
&) result
);
24304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24312 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxWindow
*arg1
= (wxWindow
*) 0 ;
24315 bool arg2
= (bool) true ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "show", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 arg2
= (bool)SWIG_As_bool(obj1
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (bool)(arg1
)->Show(arg2
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24346 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxWindow
*arg1
= (wxWindow
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (bool)(arg1
)->Hide();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24374 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxWindow
*arg1
= (wxWindow
*) 0 ;
24377 bool arg2
= (bool) true ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "enable", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 arg2
= (bool)SWIG_As_bool(obj1
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= (bool)(arg1
)->Enable(arg2
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24408 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxWindow
*arg1
= (wxWindow
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (bool)(arg1
)->Disable();
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24436 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxWindow
*arg1
= (wxWindow
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24464 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxWindow
*arg1
= (wxWindow
*) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24492 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxWindow
*arg1
= (wxWindow
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "style", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 arg2
= (long)SWIG_As_long(obj1
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 (arg1
)->SetWindowStyleFlag(arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 Py_INCREF(Py_None
); resultobj
= Py_None
;
24521 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxWindow
*arg1
= (wxWindow
*) 0 ;
24525 PyObject
* obj0
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_From_long((long)result
);
24547 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxWindow
*arg1
= (wxWindow
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "flag", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 arg2
= (int)SWIG_As_int(obj1
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24579 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxWindow
*arg1
= (wxWindow
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24607 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxWindow
*arg1
= (wxWindow
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "exStyle", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 arg2
= (long)SWIG_As_long(obj1
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->SetExtraStyle(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxWindow
*arg1
= (wxWindow
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_From_long((long)result
);
24662 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxWindow
*arg1
= (wxWindow
*) 0 ;
24665 bool arg2
= (bool) true ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "modal", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24676 arg2
= (bool)SWIG_As_bool(obj1
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->MakeModal(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxWindow
*arg1
= (wxWindow
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "enableTheme", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 arg2
= (bool)SWIG_As_bool(obj1
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 (arg1
)->SetThemeEnabled(arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 Py_INCREF(Py_None
); resultobj
= Py_None
;
24722 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24750 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxWindow
*arg1
= (wxWindow
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetFocus();
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->SetFocusFromKbd();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24800 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24803 char *kwnames
[] = {
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24809 if (!wxPyCheckForApp()) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxWindow
*)wxWindow::FindFocus();
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= wxPyMake_wxObject(result
, 0);
24825 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
;
24827 wxWindow
*arg1
= (wxWindow
*) 0 ;
24829 PyObject
* obj0
= 0 ;
24830 char *kwnames
[] = {
24831 (char *) "self", NULL
24834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24853 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxWindow
*arg1
= (wxWindow
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24881 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxWindow
*arg1
= (wxWindow
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= wxPyMake_wxObject(result
, 0);
24909 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxWindow
*arg1
= (wxWindow
*) 0 ;
24912 wxWindow
*arg2
= (wxWindow
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self",(char *) "child", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= wxPyMake_wxObject(result
, 0);
24941 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxWindow
*arg1
= (wxWindow
*) 0 ;
24944 wxWindow
*arg2
= (wxWindow
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 PyObject
* obj1
= 0 ;
24947 char *kwnames
[] = {
24948 (char *) "self",(char *) "win", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->SetTmpDefaultItem(arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxWindow
*arg1
= (wxWindow
*) 0 ;
24973 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "self",(char *) "flags", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 arg2
= (int)SWIG_As_int(obj1
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (bool)(arg1
)->Navigate(arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25004 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxWindow
*arg1
= (wxWindow
*) 0 ;
25007 wxWindow
*arg2
= (wxWindow
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "win", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->MoveAfterInTabOrder(arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 Py_INCREF(Py_None
); resultobj
= Py_None
;
25033 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxWindow
*arg1
= (wxWindow
*) 0 ;
25036 wxWindow
*arg2
= (wxWindow
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self",(char *) "win", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 (arg1
)->MoveBeforeInTabOrder(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 Py_INCREF(Py_None
); resultobj
= Py_None
;
25062 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxWindow
*arg1
= (wxWindow
*) 0 ;
25066 PyObject
* obj0
= 0 ;
25067 char *kwnames
[] = {
25068 (char *) "self", NULL
25071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
;
25088 static PyObject
*_wrap_Window_GetParent(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_GetParent",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
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= wxPyMake_wxObject(result
, 0);
25116 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= wxPyMake_wxObject(result
, 0);
25144 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxWindow
*arg1
= (wxWindow
*) 0 ;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25172 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxWindow
*arg1
= (wxWindow
*) 0 ;
25175 wxWindow
*arg2
= (wxWindow
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "newParent", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (bool)(arg1
)->Reparent(arg2
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25204 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxWindow
*arg1
= (wxWindow
*) 0 ;
25207 wxWindow
*arg2
= (wxWindow
*) 0 ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "child", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 (arg1
)->AddChild(arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 Py_INCREF(Py_None
); resultobj
= Py_None
;
25233 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25236 wxWindow
*arg2
= (wxWindow
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "child", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->RemoveChild(arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxWindow
*arg1
= (wxWindow
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "winid", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 arg2
= (long)SWIG_As_long(obj1
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= wxPyMake_wxObject(result
, 0);
25294 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxWindow
*arg1
= (wxWindow
*) 0 ;
25297 wxString
*arg2
= 0 ;
25299 bool temp2
= false ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self",(char *) "name", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 arg2
= wxString_in_helper(obj1
);
25311 if (arg2
== NULL
) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= wxPyMake_wxObject(result
, 0);
25338 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxWindow
*arg1
= (wxWindow
*) 0 ;
25341 wxEvtHandler
*result
;
25342 PyObject
* obj0
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= wxPyMake_wxObject(result
, 0);
25366 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxWindow
*arg1
= (wxWindow
*) 0 ;
25369 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "handler", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 (arg1
)->SetEventHandler(arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 Py_INCREF(Py_None
); resultobj
= Py_None
;
25395 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxWindow
*arg1
= (wxWindow
*) 0 ;
25398 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "handler", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 (arg1
)->PushEventHandler(arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxWindow
*arg1
= (wxWindow
*) 0 ;
25427 bool arg2
= (bool) false ;
25428 wxEvtHandler
*result
;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "deleteHandler", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25439 arg2
= (bool)SWIG_As_bool(obj1
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= wxPyMake_wxObject(result
, 0);
25458 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self",(char *) "handler", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25490 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxWindow
*arg1
= (wxWindow
*) 0 ;
25493 wxValidator
*arg2
= 0 ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "validator", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25506 if (arg2
== NULL
) {
25507 PyErr_SetString(PyExc_TypeError
,"null reference");
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25524 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxWindow
*arg1
= (wxWindow
*) 0 ;
25527 wxValidator
*result
;
25528 PyObject
* obj0
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 result
= (wxValidator
*)(arg1
)->GetValidator();
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= wxPyMake_wxObject(result
, 0);
25552 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxWindow
*arg1
= (wxWindow
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (bool)(arg1
)->Validate();
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25580 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (bool)(arg1
)->TransferDataToWindow();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25608 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxWindow
*arg1
= (wxWindow
*) 0 ;
25612 PyObject
* obj0
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (bool)(arg1
)->TransferDataFromWindow();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25636 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxWindow
*arg1
= (wxWindow
*) 0 ;
25639 PyObject
* obj0
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 (arg1
)->InitDialog();
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 wxAcceleratorTable
*arg2
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "accel", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25677 if (arg2
== NULL
) {
25678 PyErr_SetString(PyExc_TypeError
,"null reference");
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 Py_INCREF(Py_None
); resultobj
= Py_None
;
25695 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxWindow
*arg1
= (wxWindow
*) 0 ;
25698 wxAcceleratorTable
*result
;
25699 PyObject
* obj0
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25721 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 PyObject
* obj2
= 0 ;
25731 PyObject
* obj3
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25739 arg2
= (int)SWIG_As_int(obj1
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25741 arg3
= (int)SWIG_As_int(obj2
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25743 arg4
= (int)SWIG_As_int(obj3
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25761 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "hotkeyId", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 arg2
= (int)SWIG_As_int(obj1
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25793 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxWindow
*arg1
= (wxWindow
*) 0 ;
25796 wxPoint
*arg2
= 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "pt", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 wxPoint
* resultptr
;
25821 resultptr
= new wxPoint((wxPoint
&) result
);
25822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25830 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxWindow
*arg1
= (wxWindow
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "sz", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 wxSize
* resultptr
;
25858 resultptr
= new wxSize((wxSize
&) result
);
25859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25867 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxWindow
*arg1
= (wxWindow
*) 0 ;
25870 wxPoint
*arg2
= 0 ;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "pt", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 wxPoint
* resultptr
;
25895 resultptr
= new wxPoint((wxPoint
&) result
);
25896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25904 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxWindow
*arg1
= (wxWindow
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "sz", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 wxSize
* resultptr
;
25932 resultptr
= new wxSize((wxSize
&) result
);
25933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25941 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 wxPoint
*arg2
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "pt", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 wxPoint
* resultptr
;
25969 resultptr
= new wxPoint((wxPoint
&) result
);
25970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25978 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "sz", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 wxSize
* resultptr
;
26006 resultptr
= new wxSize((wxSize
&) result
);
26007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26015 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxWindow
*arg1
= (wxWindow
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 PyObject
* obj2
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "x",(char *) "y", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 arg2
= (int)SWIG_As_int(obj1
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26032 arg3
= (int)SWIG_As_int(obj2
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->WarpPointer(arg2
,arg3
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxWindow
*arg1
= (wxWindow
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 (arg1
)->CaptureMouse();
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 Py_INCREF(Py_None
); resultobj
= Py_None
;
26073 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxWindow
*arg1
= (wxWindow
*) 0 ;
26076 PyObject
* obj0
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->ReleaseMouse();
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 Py_INCREF(Py_None
); resultobj
= Py_None
;
26098 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26101 char *kwnames
[] = {
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26107 if (!wxPyCheckForApp()) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (wxWindow
*)wxWindow::GetCapture();
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= wxPyMake_wxObject(result
, 0);
26123 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxWindow
*arg1
= (wxWindow
*) 0 ;
26127 PyObject
* obj0
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "self", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26151 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxWindow
*arg1
= (wxWindow
*) 0 ;
26154 bool arg2
= (bool) true ;
26155 wxRect
*arg3
= (wxRect
*) NULL
;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 PyObject
* obj2
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 arg2
= (bool)SWIG_As_bool(obj1
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 Py_INCREF(Py_None
); resultobj
= Py_None
;
26188 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxWindow
*arg1
= (wxWindow
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "rect", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 Py_INCREF(Py_None
); resultobj
= Py_None
;
26220 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxWindow
*arg1
= (wxWindow
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 Py_INCREF(Py_None
); resultobj
= Py_None
;
26245 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxWindow
*arg1
= (wxWindow
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->ClearBackground();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxWindow
*arg1
= (wxWindow
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 Py_INCREF(Py_None
); resultobj
= Py_None
;
26295 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 Py_INCREF(Py_None
); resultobj
= Py_None
;
26320 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
;
26322 wxWindow
*arg1
= (wxWindow
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 PyObject
* obj1
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "dc", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26336 if (arg2
== NULL
) {
26337 PyErr_SetString(PyExc_TypeError
,"null reference");
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 (arg1
)->PrepareDC(*arg2
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 Py_INCREF(Py_None
); resultobj
= Py_None
;
26354 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxWindow
*arg1
= (wxWindow
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26370 result
= (wxRegion
*) &_result_ref
;
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26383 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxRect
* resultptr
;
26404 resultptr
= new wxRect((wxRect
&) result
);
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26413 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26418 int arg4
= (int) 1 ;
26419 int arg5
= (int) 1 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 PyObject
* obj2
= 0 ;
26424 PyObject
* obj3
= 0 ;
26425 PyObject
* obj4
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26433 arg2
= (int)SWIG_As_int(obj1
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26435 arg3
= (int)SWIG_As_int(obj2
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 arg4
= (int)SWIG_As_int(obj3
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 arg5
= (int)SWIG_As_int(obj4
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26461 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxWindow
*arg1
= (wxWindow
*) 0 ;
26464 wxPoint
*arg2
= 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self",(char *) "pt", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26496 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxWindow
*arg1
= (wxWindow
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "rect", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26531 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxWindow
*arg1
= (wxWindow
*) 0 ;
26534 wxVisualAttributes result
;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 wxVisualAttributes
* resultptr
;
26552 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26561 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26564 wxVisualAttributes result
;
26565 PyObject
* obj0
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "variant", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26572 arg1
= (int)SWIG_As_int(obj0
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 if (!wxPyCheckForApp()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 wxVisualAttributes
* resultptr
;
26585 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26594 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxWindow
*arg1
= (wxWindow
*) 0 ;
26597 wxColour
*arg2
= 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self",(char *) "colour", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26629 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxWindow
*arg1
= (wxWindow
*) 0 ;
26632 wxColour
*arg2
= 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self",(char *) "colour", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 Py_INCREF(Py_None
); resultobj
= Py_None
;
26661 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
;
26663 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 wxColour
*arg2
= 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self",(char *) "colour", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26696 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxWindow
*arg1
= (wxWindow
*) 0 ;
26699 wxColour
*arg2
= 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "self",(char *) "colour", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 Py_INCREF(Py_None
); resultobj
= Py_None
;
26728 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxWindow
*arg1
= (wxWindow
*) 0 ;
26732 PyObject
* obj0
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26748 wxColour
* resultptr
;
26749 resultptr
= new wxColour((wxColour
&) result
);
26750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26758 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxWindow
*arg1
= (wxWindow
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 wxColour
* resultptr
;
26779 resultptr
= new wxColour((wxColour
&) result
);
26780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26788 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxWindow
*arg1
= (wxWindow
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self",(char *) "style", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26802 arg2
= (int)SWIG_As_int(obj1
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26820 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_From_int((int)result
);
26846 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxWindow
*arg1
= (wxWindow
*) 0 ;
26849 wxCursor
*arg2
= 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "cursor", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26863 if (arg2
== NULL
) {
26864 PyErr_SetString(PyExc_TypeError
,"null reference");
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26883 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxWindow
*arg1
= (wxWindow
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (arg1
)->GetCursor();
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26903 wxCursor
* resultptr
;
26904 resultptr
= new wxCursor((wxCursor
&) result
);
26905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26913 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxWindow
*arg1
= (wxWindow
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "font", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26930 if (arg2
== NULL
) {
26931 PyErr_SetString(PyExc_TypeError
,"null reference");
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26950 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxWindow
*arg1
= (wxWindow
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "font", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26966 if (arg2
== NULL
) {
26967 PyErr_SetString(PyExc_TypeError
,"null reference");
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26977 Py_INCREF(Py_None
); resultobj
= Py_None
;
26984 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxWindow
*arg1
= (wxWindow
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (arg1
)->GetFont();
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27004 wxFont
* resultptr
;
27005 resultptr
= new wxFont((wxFont
&) result
);
27006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27014 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxWindow
*arg1
= (wxWindow
*) 0 ;
27017 wxCaret
*arg2
= (wxCaret
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self",(char *) "caret", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->SetCaret(arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 Py_INCREF(Py_None
); resultobj
= Py_None
;
27043 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxWindow
*arg1
= (wxWindow
*) 0 ;
27047 PyObject
* obj0
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27069 static PyObject
*_wrap_Window_GetCharHeight(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_GetCharHeight",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
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_From_int((int)result
);
27095 static PyObject
*_wrap_Window_GetCharWidth(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_GetCharWidth",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
)->GetCharWidth();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_From_int((int)result
);
27121 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxWindow
*arg1
= (wxWindow
*) 0 ;
27124 wxString
*arg2
= 0 ;
27125 int *arg3
= (int *) 0 ;
27126 int *arg4
= (int *) 0 ;
27127 bool temp2
= false ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self",(char *) "string", NULL
27138 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27139 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 arg2
= wxString_in_helper(obj1
);
27145 if (arg2
== NULL
) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27155 Py_INCREF(Py_None
); resultobj
= Py_None
;
27156 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27157 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27158 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27159 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27174 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxWindow
*arg1
= (wxWindow
*) 0 ;
27177 wxString
*arg2
= 0 ;
27178 int *arg3
= (int *) 0 ;
27179 int *arg4
= (int *) 0 ;
27180 int *arg5
= (int *) 0 ;
27181 int *arg6
= (int *) 0 ;
27182 wxFont
*arg7
= (wxFont
*) NULL
;
27183 bool temp2
= false ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 PyObject
* obj2
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "string",(char *) "font", NULL
27199 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27200 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27201 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27202 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27207 arg2
= wxString_in_helper(obj1
);
27208 if (arg2
== NULL
) SWIG_fail
;
27212 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 Py_INCREF(Py_None
); resultobj
= Py_None
;
27223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27225 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27226 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27227 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27228 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27229 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27230 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27245 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxWindow
*arg1
= (wxWindow
*) 0 ;
27248 int *arg2
= (int *) 0 ;
27249 int *arg3
= (int *) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "x",(char *) "y", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27266 temp2
= SWIG_As_int(obj1
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 res2
= SWIG_NEWOBJ
;
27273 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27274 temp3
= SWIG_As_int(obj2
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 res3
= SWIG_NEWOBJ
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27289 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27298 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27301 int *arg2
= (int *) 0 ;
27302 int *arg3
= (int *) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 PyObject
* obj2
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "x",(char *) "y", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27318 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27319 temp2
= SWIG_As_int(obj1
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 res2
= SWIG_NEWOBJ
;
27326 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27327 temp3
= SWIG_As_int(obj2
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 res3
= SWIG_NEWOBJ
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 Py_INCREF(Py_None
); resultobj
= Py_None
;
27341 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27342 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27344 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27351 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
;
27353 wxWindow
*arg1
= (wxWindow
*) 0 ;
27354 wxPoint
*arg2
= 0 ;
27357 PyObject
* obj0
= 0 ;
27358 PyObject
* obj1
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self",(char *) "pt", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 wxPoint
* resultptr
;
27379 resultptr
= new wxPoint((wxPoint
&) result
);
27380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27388 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxWindow
*arg1
= (wxWindow
*) 0 ;
27391 wxPoint
*arg2
= 0 ;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "pt", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 wxPoint
* resultptr
;
27416 resultptr
= new wxPoint((wxPoint
&) result
);
27417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27425 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 PyObject
* obj2
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "x",(char *) "y", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 arg2
= (int)SWIG_As_int(obj1
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27443 arg3
= (int)SWIG_As_int(obj2
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_From_int((int)result
);
27459 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxWindow
*arg1
= (wxWindow
*) 0 ;
27462 wxPoint
*arg2
= 0 ;
27465 PyObject
* obj0
= 0 ;
27466 PyObject
* obj1
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self",(char *) "pt", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_From_int((int)result
);
27492 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27493 PyObject
*resultobj
;
27494 wxWindow
*arg1
= (wxWindow
*) 0 ;
27497 PyObject
* obj0
= 0 ;
27498 PyObject
* obj1
= 0 ;
27500 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 arg2
= (long)SWIG_As_long(obj1
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= SWIG_From_int((int)result
);
27519 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27520 PyObject
*resultobj
;
27521 wxWindow
*arg1
= (wxWindow
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27525 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= SWIG_From_int((int)result
);
27542 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27547 argc
= PyObject_Length(args
);
27548 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27549 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27555 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27563 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27570 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27578 _v
= SWIG_Check_long(argv
[1]);
27580 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27585 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27590 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxWindow
*arg1
= (wxWindow
*) 0 ;
27593 long arg2
= (long) wxUPDATE_UI_NONE
;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "flags", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 arg2
= (long)SWIG_As_long(obj1
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->UpdateWindowUI(arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27621 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
;
27623 wxWindow
*arg1
= (wxWindow
*) 0 ;
27624 wxMenu
*arg2
= (wxMenu
*) 0 ;
27625 int arg3
= (int) -1 ;
27626 int arg4
= (int) -1 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 PyObject
* obj3
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 arg3
= (int)SWIG_As_int(obj2
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27646 arg4
= (int)SWIG_As_int(obj3
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27665 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxWindow
*arg1
= (wxWindow
*) 0 ;
27668 wxMenu
*arg2
= (wxMenu
*) 0 ;
27669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 PyObject
* obj2
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self",(char *) "menu",(char *) "pos", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27707 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxWindow
*arg1
= (wxWindow
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (long)wxWindow_GetHandle(arg1
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= SWIG_From_long((long)result
);
27733 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 PyObject
* obj1
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "self",(char *) "handle", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 arg2
= (long)SWIG_As_long(obj1
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 wxWindow_AssociateHandle(arg1
,arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27762 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxWindow
*arg1
= (wxWindow
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 (arg1
)->DissociateHandle();
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 Py_INCREF(Py_None
); resultobj
= Py_None
;
27787 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 wxPaintEvent
*arg2
= 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "event", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27803 if (arg2
== NULL
) {
27804 PyErr_SetString(PyExc_TypeError
,"null reference");
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 (arg1
)->OnPaint(*arg2
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 Py_INCREF(Py_None
); resultobj
= Py_None
;
27821 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxWindow
*arg1
= (wxWindow
*) 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "self",(char *) "orient", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27835 arg2
= (int)SWIG_As_int(obj1
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27853 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxWindow
*arg1
= (wxWindow
*) 0 ;
27860 bool arg6
= (bool) true ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 PyObject
* obj2
= 0 ;
27864 PyObject
* obj3
= 0 ;
27865 PyObject
* obj4
= 0 ;
27866 PyObject
* obj5
= 0 ;
27867 char *kwnames
[] = {
27868 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 arg2
= (int)SWIG_As_int(obj1
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27876 arg3
= (int)SWIG_As_int(obj2
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27878 arg4
= (int)SWIG_As_int(obj3
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27880 arg5
= (int)SWIG_As_int(obj4
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 arg6
= (bool)SWIG_As_bool(obj5
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 bool arg4
= (bool) true ;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27908 PyObject
* obj2
= 0 ;
27909 PyObject
* obj3
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27917 arg2
= (int)SWIG_As_int(obj1
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27919 arg3
= (int)SWIG_As_int(obj2
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 arg4
= (bool)SWIG_As_bool(obj3
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxWindow
*arg1
= (wxWindow
*) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 PyObject
* obj1
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self",(char *) "orientation", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27953 arg2
= (int)SWIG_As_int(obj1
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_From_int((int)result
);
27969 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxWindow
*arg1
= (wxWindow
*) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "orientation", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 arg2
= (int)SWIG_As_int(obj1
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 resultobj
= SWIG_From_int((int)result
);
27999 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxWindow
*arg1
= (wxWindow
*) 0 ;
28004 PyObject
* obj0
= 0 ;
28005 PyObject
* obj1
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "orientation", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 arg2
= (int)SWIG_As_int(obj1
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_From_int((int)result
);
28029 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxWindow
*arg1
= (wxWindow
*) 0 ;
28034 wxRect
*arg4
= (wxRect
*) NULL
;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 PyObject
* obj2
= 0 ;
28038 PyObject
* obj3
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 arg2
= (int)SWIG_As_int(obj1
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28048 arg3
= (int)SWIG_As_int(obj2
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 Py_INCREF(Py_None
); resultobj
= Py_None
;
28068 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28069 PyObject
*resultobj
;
28070 wxWindow
*arg1
= (wxWindow
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "lines", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 arg2
= (int)SWIG_As_int(obj1
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (bool)(arg1
)->ScrollLines(arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28100 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxWindow
*arg1
= (wxWindow
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char *kwnames
[] = {
28108 (char *) "self",(char *) "pages", NULL
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28114 arg2
= (int)SWIG_As_int(obj1
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (bool)(arg1
)->ScrollPages(arg2
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28132 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxWindow
*arg1
= (wxWindow
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (bool)(arg1
)->LineUp();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28160 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxWindow
*arg1
= (wxWindow
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28174 result
= (bool)(arg1
)->LineDown();
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28188 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxWindow
*arg1
= (wxWindow
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 result
= (bool)(arg1
)->PageUp();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28216 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
;
28218 wxWindow
*arg1
= (wxWindow
*) 0 ;
28220 PyObject
* obj0
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (bool)(arg1
)->PageDown();
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28244 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxWindow
*arg1
= (wxWindow
*) 0 ;
28247 wxString
*arg2
= 0 ;
28248 bool temp2
= false ;
28249 PyObject
* obj0
= 0 ;
28250 PyObject
* obj1
= 0 ;
28251 char *kwnames
[] = {
28252 (char *) "self",(char *) "text", NULL
28255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28259 arg2
= wxString_in_helper(obj1
);
28260 if (arg2
== NULL
) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 Py_INCREF(Py_None
); resultobj
= Py_None
;
28285 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxWindow
*arg1
= (wxWindow
*) 0 ;
28288 wxString
*arg2
= 0 ;
28289 bool temp2
= false ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self",(char *) "text", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28300 arg2
= wxString_in_helper(obj1
);
28301 if (arg2
== NULL
) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 Py_INCREF(Py_None
); resultobj
= Py_None
;
28326 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxWindow
*arg1
= (wxWindow
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28358 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxWindow
*arg1
= (wxWindow
*) 0 ;
28361 wxString
*arg2
= 0 ;
28362 bool temp2
= false ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "tip", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28373 arg2
= wxString_in_helper(obj1
);
28374 if (arg2
== NULL
) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 Py_INCREF(Py_None
); resultobj
= Py_None
;
28399 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxWindow
*arg1
= (wxWindow
*) 0 ;
28402 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self",(char *) "tip", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 (arg1
)->SetToolTip(arg2
);
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 Py_INCREF(Py_None
); resultobj
= Py_None
;
28428 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
;
28430 wxWindow
*arg1
= (wxWindow
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= wxPyMake_wxObject(result
, 0);
28456 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxWindow
*arg1
= (wxWindow
*) 0 ;
28459 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "self",(char *) "dropTarget", NULL
28466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28470 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->SetDropTarget(arg2
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 Py_INCREF(Py_None
); resultobj
= Py_None
;
28485 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
;
28487 wxWindow
*arg1
= (wxWindow
*) 0 ;
28488 wxPyDropTarget
*result
;
28489 PyObject
* obj0
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28511 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxWindow
*arg1
= (wxWindow
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "accept", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 arg2
= (bool)SWIG_As_bool(obj1
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->DragAcceptFiles(arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28543 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "constraints", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 (arg1
)->SetConstraints(arg2
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 Py_INCREF(Py_None
); resultobj
= Py_None
;
28569 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxWindow
*arg1
= (wxWindow
*) 0 ;
28572 wxLayoutConstraints
*result
;
28573 PyObject
* obj0
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28595 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxWindow
*arg1
= (wxWindow
*) 0 ;
28599 PyObject
* obj0
= 0 ;
28600 PyObject
* obj1
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self",(char *) "autoLayout", NULL
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 arg2
= (bool)SWIG_As_bool(obj1
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 (arg1
)->SetAutoLayout(arg2
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 Py_INCREF(Py_None
); resultobj
= Py_None
;
28624 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxWindow
*arg1
= (wxWindow
*) 0 ;
28628 PyObject
* obj0
= 0 ;
28629 char *kwnames
[] = {
28630 (char *) "self", NULL
28633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28652 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxWindow
*arg1
= (wxWindow
*) 0 ;
28656 PyObject
* obj0
= 0 ;
28657 char *kwnames
[] = {
28658 (char *) "self", NULL
28661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (bool)(arg1
)->Layout();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28680 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxWindow
*arg1
= (wxWindow
*) 0 ;
28683 wxSizer
*arg2
= (wxSizer
*) 0 ;
28684 bool arg3
= (bool) true ;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 PyObject
* obj2
= 0 ;
28688 char *kwnames
[] = {
28689 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 arg3
= (bool)SWIG_As_bool(obj2
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 (arg1
)->SetSizer(arg2
,arg3
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 Py_INCREF(Py_None
); resultobj
= Py_None
;
28715 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxWindow
*arg1
= (wxWindow
*) 0 ;
28718 wxSizer
*arg2
= (wxSizer
*) 0 ;
28719 bool arg3
= (bool) true ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 PyObject
* obj2
= 0 ;
28723 char *kwnames
[] = {
28724 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28733 arg3
= (bool)SWIG_As_bool(obj2
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 Py_INCREF(Py_None
); resultobj
= Py_None
;
28750 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxWindow
*arg1
= (wxWindow
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= wxPyMake_wxSizer(result
, 0);
28778 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
;
28780 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 wxSizer
*arg2
= (wxSizer
*) 0 ;
28782 PyObject
* obj0
= 0 ;
28783 PyObject
* obj1
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self",(char *) "sizer", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->SetContainingSizer(arg2
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxWindow
*arg1
= (wxWindow
*) 0 ;
28811 PyObject
* obj0
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= wxPyMake_wxSizer(result
, 0);
28835 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxWindow
*arg1
= (wxWindow
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 (arg1
)->InheritAttributes();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 Py_INCREF(Py_None
); resultobj
= Py_None
;
28860 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxWindow
*arg1
= (wxWindow
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "self", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28888 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28891 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28893 return Py_BuildValue((char *)"");
28895 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28898 wxWindow
*arg2
= (wxWindow
*) NULL
;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "id",(char *) "parent", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28907 arg1
= (long)SWIG_As_long(obj0
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28914 if (!wxPyCheckForApp()) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= wxPyMake_wxObject(result
, 0);
28930 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
;
28932 wxString
*arg1
= 0 ;
28933 wxWindow
*arg2
= (wxWindow
*) NULL
;
28935 bool temp1
= false ;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "name",(char *) "parent", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28944 arg1
= wxString_in_helper(obj0
);
28945 if (arg1
== NULL
) SWIG_fail
;
28949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28953 if (!wxPyCheckForApp()) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= wxPyMake_wxObject(result
, 0);
28977 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxString
*arg1
= 0 ;
28980 wxWindow
*arg2
= (wxWindow
*) NULL
;
28982 bool temp1
= false ;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "label",(char *) "parent", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28991 arg1
= wxString_in_helper(obj0
);
28992 if (arg1
== NULL
) SWIG_fail
;
28996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29000 if (!wxPyCheckForApp()) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= wxPyMake_wxObject(result
, 0);
29024 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxWindow
*arg1
= (wxWindow
*) 0 ;
29027 unsigned long arg2
;
29029 PyObject
* obj0
= 0 ;
29030 PyObject
* obj1
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "parent",(char *) "_hWnd", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29038 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= wxPyMake_wxObject(result
, 0);
29056 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxValidator
*result
;
29059 char *kwnames
[] = {
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxValidator
*)new wxValidator();
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29078 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
;
29080 wxValidator
*arg1
= (wxValidator
*) 0 ;
29081 wxValidator
*result
;
29082 PyObject
* obj0
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self", NULL
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxValidator
*)(arg1
)->Clone();
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= wxPyMake_wxObject(result
, 0);
29106 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxValidator
*arg1
= (wxValidator
*) 0 ;
29109 wxWindow
*arg2
= (wxWindow
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char *kwnames
[] = {
29114 (char *) "self",(char *) "parent", NULL
29117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (bool)(arg1
)->Validate(arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29138 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxValidator
*arg1
= (wxValidator
*) 0 ;
29142 PyObject
* obj0
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "self", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (bool)(arg1
)->TransferToWindow();
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29166 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
;
29168 wxValidator
*arg1
= (wxValidator
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (bool)(arg1
)->TransferFromWindow();
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29194 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxValidator
*arg1
= (wxValidator
*) 0 ;
29198 PyObject
* obj0
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxWindow
*)(arg1
)->GetWindow();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= wxPyMake_wxObject(result
, 0);
29222 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxValidator
*arg1
= (wxValidator
*) 0 ;
29225 wxWindow
*arg2
= (wxWindow
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "window", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 (arg1
)->SetWindow(arg2
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 Py_INCREF(Py_None
); resultobj
= Py_None
;
29251 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
;
29254 char *kwnames
[] = {
29258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (bool)wxValidator::IsSilent();
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29275 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 int arg1
= (int) true ;
29278 PyObject
* obj0
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "doIt", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29285 arg1
= (int)SWIG_As_int(obj0
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 wxValidator::SetBellOnError(arg1
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29305 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29307 return Py_BuildValue((char *)"");
29309 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
;
29311 wxPyValidator
*result
;
29312 char *kwnames
[] = {
29316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (wxPyValidator
*)new wxPyValidator();
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29331 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29334 PyObject
*arg2
= (PyObject
*) 0 ;
29335 PyObject
*arg3
= (PyObject
*) 0 ;
29336 int arg4
= (int) true ;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 PyObject
* obj2
= 0 ;
29340 PyObject
* obj3
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 arg4
= (int)SWIG_As_int(obj3
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 Py_INCREF(Py_None
); resultobj
= Py_None
;
29368 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29371 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29373 return Py_BuildValue((char *)"");
29375 static int _wrap_DefaultValidator_set(PyObject
*) {
29376 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29381 static PyObject
*_wrap_DefaultValidator_get() {
29384 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29389 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29392 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29393 long arg2
= (long) 0 ;
29395 bool temp1
= false ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 char *kwnames
[] = {
29399 (char *) "title",(char *) "style", NULL
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29405 arg1
= wxString_in_helper(obj0
);
29406 if (arg1
== NULL
) SWIG_fail
;
29411 arg2
= (long)SWIG_As_long(obj1
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 if (!wxPyCheckForApp()) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29437 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxMenu
*arg1
= (wxMenu
*) 0 ;
29441 wxString
*arg3
= 0 ;
29442 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29444 int arg5
= (int) wxITEM_NORMAL
;
29445 wxMenuItem
*result
;
29446 bool temp3
= false ;
29447 bool temp4
= false ;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 PyObject
* obj2
= 0 ;
29451 PyObject
* obj3
= 0 ;
29452 PyObject
* obj4
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29460 arg2
= (int)SWIG_As_int(obj1
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 arg3
= wxString_in_helper(obj2
);
29464 if (arg3
== NULL
) SWIG_fail
;
29469 arg4
= wxString_in_helper(obj3
);
29470 if (arg4
== NULL
) SWIG_fail
;
29475 arg5
= (int)SWIG_As_int(obj4
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= wxPyMake_wxObject(result
, 0);
29510 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
;
29512 wxMenu
*arg1
= (wxMenu
*) 0 ;
29513 wxMenuItem
*result
;
29514 PyObject
* obj0
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= wxPyMake_wxObject(result
, 0);
29538 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxMenu
*arg1
= (wxMenu
*) 0 ;
29542 wxString
*arg3
= 0 ;
29543 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29544 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29545 wxMenuItem
*result
;
29546 bool temp3
= false ;
29547 bool temp4
= false ;
29548 PyObject
* obj0
= 0 ;
29549 PyObject
* obj1
= 0 ;
29550 PyObject
* obj2
= 0 ;
29551 PyObject
* obj3
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29559 arg2
= (int)SWIG_As_int(obj1
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 arg3
= wxString_in_helper(obj2
);
29563 if (arg3
== NULL
) SWIG_fail
;
29568 arg4
= wxString_in_helper(obj3
);
29569 if (arg4
== NULL
) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= wxPyMake_wxObject(result
, 0);
29605 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxMenu
*arg1
= (wxMenu
*) 0 ;
29609 wxString
*arg3
= 0 ;
29610 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29612 wxMenuItem
*result
;
29613 bool temp3
= false ;
29614 bool temp4
= false ;
29615 PyObject
* obj0
= 0 ;
29616 PyObject
* obj1
= 0 ;
29617 PyObject
* obj2
= 0 ;
29618 PyObject
* obj3
= 0 ;
29619 char *kwnames
[] = {
29620 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29626 arg2
= (int)SWIG_As_int(obj1
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 arg3
= wxString_in_helper(obj2
);
29630 if (arg3
== NULL
) SWIG_fail
;
29635 arg4
= wxString_in_helper(obj3
);
29636 if (arg4
== NULL
) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= wxPyMake_wxObject(result
, 0);
29672 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxMenu
*arg1
= (wxMenu
*) 0 ;
29676 wxString
*arg3
= 0 ;
29677 wxMenu
*arg4
= (wxMenu
*) 0 ;
29678 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29679 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29680 wxMenuItem
*result
;
29681 bool temp3
= false ;
29682 bool temp5
= false ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 PyObject
* obj3
= 0 ;
29687 PyObject
* obj4
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29695 arg2
= (int)SWIG_As_int(obj1
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 arg3
= wxString_in_helper(obj2
);
29699 if (arg3
== NULL
) SWIG_fail
;
29702 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 arg5
= wxString_in_helper(obj4
);
29707 if (arg5
== NULL
) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= wxPyMake_wxObject(result
, 0);
29743 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
;
29745 wxMenu
*arg1
= (wxMenu
*) 0 ;
29746 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29747 wxMenuItem
*result
;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "item", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= wxPyMake_wxObject(result
, 0);
29775 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29776 PyObject
*resultobj
;
29777 wxMenu
*arg1
= (wxMenu
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 Py_INCREF(Py_None
); resultobj
= Py_None
;
29800 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxMenu
*arg1
= (wxMenu
*) 0 ;
29804 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29805 wxMenuItem
*result
;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 PyObject
* obj2
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "pos",(char *) "item", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29816 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= wxPyMake_wxObject(result
, 0);
29836 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxMenu
*arg1
= (wxMenu
*) 0 ;
29841 wxString
*arg4
= 0 ;
29842 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29843 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29844 int arg6
= (int) wxITEM_NORMAL
;
29845 wxMenuItem
*result
;
29846 bool temp4
= false ;
29847 bool temp5
= false ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 PyObject
* obj3
= 0 ;
29852 PyObject
* obj4
= 0 ;
29853 PyObject
* obj5
= 0 ;
29854 char *kwnames
[] = {
29855 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29861 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29863 arg3
= (int)SWIG_As_int(obj2
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29866 arg4
= wxString_in_helper(obj3
);
29867 if (arg4
== NULL
) SWIG_fail
;
29872 arg5
= wxString_in_helper(obj4
);
29873 if (arg5
== NULL
) SWIG_fail
;
29878 arg6
= (int)SWIG_As_int(obj5
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= wxPyMake_wxObject(result
, 0);
29913 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
;
29915 wxMenu
*arg1
= (wxMenu
*) 0 ;
29917 wxMenuItem
*result
;
29918 PyObject
* obj0
= 0 ;
29919 PyObject
* obj1
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "pos", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= wxPyMake_wxObject(result
, 0);
29945 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
;
29947 wxMenu
*arg1
= (wxMenu
*) 0 ;
29950 wxString
*arg4
= 0 ;
29951 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29952 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29953 wxMenuItem
*result
;
29954 bool temp4
= false ;
29955 bool temp5
= false ;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 PyObject
* obj2
= 0 ;
29959 PyObject
* obj3
= 0 ;
29960 PyObject
* obj4
= 0 ;
29961 char *kwnames
[] = {
29962 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29968 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29970 arg3
= (int)SWIG_As_int(obj2
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 arg4
= wxString_in_helper(obj3
);
29974 if (arg4
== NULL
) SWIG_fail
;
29979 arg5
= wxString_in_helper(obj4
);
29980 if (arg5
== NULL
) SWIG_fail
;
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= wxPyMake_wxObject(result
, 0);
30016 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxMenu
*arg1
= (wxMenu
*) 0 ;
30021 wxString
*arg4
= 0 ;
30022 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30023 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30024 wxMenuItem
*result
;
30025 bool temp4
= false ;
30026 bool temp5
= false ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 PyObject
* obj2
= 0 ;
30030 PyObject
* obj3
= 0 ;
30031 PyObject
* obj4
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30039 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30041 arg3
= (int)SWIG_As_int(obj2
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 arg4
= wxString_in_helper(obj3
);
30045 if (arg4
== NULL
) SWIG_fail
;
30050 arg5
= wxString_in_helper(obj4
);
30051 if (arg5
== NULL
) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= wxPyMake_wxObject(result
, 0);
30087 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxMenu
*arg1
= (wxMenu
*) 0 ;
30092 wxString
*arg4
= 0 ;
30093 wxMenu
*arg5
= (wxMenu
*) 0 ;
30094 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30095 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30096 wxMenuItem
*result
;
30097 bool temp4
= false ;
30098 bool temp6
= false ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 PyObject
* obj2
= 0 ;
30102 PyObject
* obj3
= 0 ;
30103 PyObject
* obj4
= 0 ;
30104 PyObject
* obj5
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30112 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30114 arg3
= (int)SWIG_As_int(obj2
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30117 arg4
= wxString_in_helper(obj3
);
30118 if (arg4
== NULL
) SWIG_fail
;
30121 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30125 arg6
= wxString_in_helper(obj5
);
30126 if (arg6
== NULL
) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= wxPyMake_wxObject(result
, 0);
30162 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxMenu
*arg1
= (wxMenu
*) 0 ;
30165 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30166 wxMenuItem
*result
;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 char *kwnames
[] = {
30170 (char *) "self",(char *) "item", NULL
30173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= wxPyMake_wxObject(result
, 0);
30194 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxMenu
*arg1
= (wxMenu
*) 0 ;
30198 wxString
*arg3
= 0 ;
30199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30201 int arg5
= (int) wxITEM_NORMAL
;
30202 wxMenuItem
*result
;
30203 bool temp3
= false ;
30204 bool temp4
= false ;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 PyObject
* obj3
= 0 ;
30209 PyObject
* obj4
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30217 arg2
= (int)SWIG_As_int(obj1
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 arg3
= wxString_in_helper(obj2
);
30221 if (arg3
== NULL
) SWIG_fail
;
30226 arg4
= wxString_in_helper(obj3
);
30227 if (arg4
== NULL
) SWIG_fail
;
30232 arg5
= (int)SWIG_As_int(obj4
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= wxPyMake_wxObject(result
, 0);
30267 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxMenu
*arg1
= (wxMenu
*) 0 ;
30270 wxMenuItem
*result
;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= wxPyMake_wxObject(result
, 0);
30295 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxMenu
*arg1
= (wxMenu
*) 0 ;
30299 wxString
*arg3
= 0 ;
30300 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30301 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30302 wxMenuItem
*result
;
30303 bool temp3
= false ;
30304 bool temp4
= false ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 PyObject
* obj2
= 0 ;
30308 PyObject
* obj3
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30316 arg2
= (int)SWIG_As_int(obj1
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 arg3
= wxString_in_helper(obj2
);
30320 if (arg3
== NULL
) SWIG_fail
;
30325 arg4
= wxString_in_helper(obj3
);
30326 if (arg4
== NULL
) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= wxPyMake_wxObject(result
, 0);
30362 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxMenu
*arg1
= (wxMenu
*) 0 ;
30366 wxString
*arg3
= 0 ;
30367 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30368 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30369 wxMenuItem
*result
;
30370 bool temp3
= false ;
30371 bool temp4
= false ;
30372 PyObject
* obj0
= 0 ;
30373 PyObject
* obj1
= 0 ;
30374 PyObject
* obj2
= 0 ;
30375 PyObject
* obj3
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30383 arg2
= (int)SWIG_As_int(obj1
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 arg3
= wxString_in_helper(obj2
);
30387 if (arg3
== NULL
) SWIG_fail
;
30392 arg4
= wxString_in_helper(obj3
);
30393 if (arg4
== NULL
) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= wxPyMake_wxObject(result
, 0);
30429 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
;
30431 wxMenu
*arg1
= (wxMenu
*) 0 ;
30433 wxString
*arg3
= 0 ;
30434 wxMenu
*arg4
= (wxMenu
*) 0 ;
30435 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30436 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30437 wxMenuItem
*result
;
30438 bool temp3
= false ;
30439 bool temp5
= false ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 PyObject
* obj2
= 0 ;
30443 PyObject
* obj3
= 0 ;
30444 PyObject
* obj4
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 arg2
= (int)SWIG_As_int(obj1
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 arg3
= wxString_in_helper(obj2
);
30456 if (arg3
== NULL
) SWIG_fail
;
30459 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 arg5
= wxString_in_helper(obj4
);
30464 if (arg5
== NULL
) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= wxPyMake_wxObject(result
, 0);
30500 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxMenu
*arg1
= (wxMenu
*) 0 ;
30504 wxMenuItem
*result
;
30505 PyObject
* obj0
= 0 ;
30506 PyObject
* obj1
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "id", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30514 arg2
= (int)SWIG_As_int(obj1
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= wxPyMake_wxObject(result
, 0);
30532 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30533 PyObject
*resultobj
;
30534 wxMenu
*arg1
= (wxMenu
*) 0 ;
30535 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30536 wxMenuItem
*result
;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 char *kwnames
[] = {
30540 (char *) "self",(char *) "item", NULL
30543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= wxPyMake_wxObject(result
, 0);
30564 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxMenu
*arg1
= (wxMenu
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "id", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30578 arg2
= (int)SWIG_As_int(obj1
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (bool)(arg1
)->Delete(arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30596 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
;
30598 wxMenu
*arg1
= (wxMenu
*) 0 ;
30599 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char *kwnames
[] = {
30604 (char *) "self",(char *) "item", NULL
30607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 result
= (bool)(arg1
)->Delete(arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30628 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxMenu
*arg1
= (wxMenu
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 wxMenu_Destroy(arg1
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
;
30655 wxMenu
*arg1
= (wxMenu
*) 0 ;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char *kwnames
[] = {
30661 (char *) "self",(char *) "id", NULL
30664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 arg2
= (int)SWIG_As_int(obj1
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 result
= (bool)(arg1
)->Destroy(arg2
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30685 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxMenu
*arg1
= (wxMenu
*) 0 ;
30688 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30690 PyObject
* obj0
= 0 ;
30691 PyObject
* obj1
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self",(char *) "item", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (bool)(arg1
)->Destroy(arg2
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30717 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxMenu
*arg1
= (wxMenu
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30743 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxMenu
*arg1
= (wxMenu
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "self", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= result
;
30769 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30770 PyObject
*resultobj
;
30771 wxMenu
*arg1
= (wxMenu
*) 0 ;
30772 wxString
*arg2
= 0 ;
30774 bool temp2
= false ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self",(char *) "item", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30785 arg2
= wxString_in_helper(obj1
);
30786 if (arg2
== NULL
) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= SWIG_From_int((int)result
);
30811 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxMenu
*arg1
= (wxMenu
*) 0 ;
30815 wxMenuItem
*result
;
30816 PyObject
* obj0
= 0 ;
30817 PyObject
* obj1
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self",(char *) "id", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30825 arg2
= (int)SWIG_As_int(obj1
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= wxPyMake_wxObject(result
, 0);
30843 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxMenu
*arg1
= (wxMenu
*) 0 ;
30847 wxMenuItem
*result
;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "self",(char *) "position", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30857 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= wxPyMake_wxObject(result
, 0);
30875 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxMenu
*arg1
= (wxMenu
*) 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 PyObject
* obj2
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self",(char *) "id",(char *) "enable", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 arg2
= (int)SWIG_As_int(obj1
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30892 arg3
= (bool)SWIG_As_bool(obj2
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 (arg1
)->Enable(arg2
,arg3
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 Py_INCREF(Py_None
); resultobj
= Py_None
;
30908 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxMenu
*arg1
= (wxMenu
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 char *kwnames
[] = {
30916 (char *) "self",(char *) "id", NULL
30919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30922 arg2
= (int)SWIG_As_int(obj1
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30940 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30942 wxMenu
*arg1
= (wxMenu
*) 0 ;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 PyObject
* obj2
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "self",(char *) "id",(char *) "check", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30955 arg2
= (int)SWIG_As_int(obj1
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30957 arg3
= (bool)SWIG_As_bool(obj2
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 (arg1
)->Check(arg2
,arg3
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 Py_INCREF(Py_None
); resultobj
= Py_None
;
30973 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxMenu
*arg1
= (wxMenu
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 PyObject
* obj1
= 0 ;
30980 char *kwnames
[] = {
30981 (char *) "self",(char *) "id", NULL
30984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30987 arg2
= (int)SWIG_As_int(obj1
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30991 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31005 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
;
31007 wxMenu
*arg1
= (wxMenu
*) 0 ;
31009 wxString
*arg3
= 0 ;
31010 bool temp3
= false ;
31011 PyObject
* obj0
= 0 ;
31012 PyObject
* obj1
= 0 ;
31013 PyObject
* obj2
= 0 ;
31014 char *kwnames
[] = {
31015 (char *) "self",(char *) "id",(char *) "label", NULL
31018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31021 arg2
= (int)SWIG_As_int(obj1
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 arg3
= wxString_in_helper(obj2
);
31025 if (arg3
== NULL
) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 Py_INCREF(Py_None
); resultobj
= Py_None
;
31050 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
;
31052 wxMenu
*arg1
= (wxMenu
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 char *kwnames
[] = {
31058 (char *) "self",(char *) "id", NULL
31061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31064 arg2
= (int)SWIG_As_int(obj1
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31086 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxMenu
*arg1
= (wxMenu
*) 0 ;
31090 wxString
*arg3
= 0 ;
31091 bool temp3
= false ;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 PyObject
* obj2
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self",(char *) "id",(char *) "helpString", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31102 arg2
= (int)SWIG_As_int(obj1
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 arg3
= wxString_in_helper(obj2
);
31106 if (arg3
== NULL
) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 Py_INCREF(Py_None
); resultobj
= Py_None
;
31131 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxMenu
*arg1
= (wxMenu
*) 0 ;
31136 PyObject
* obj0
= 0 ;
31137 PyObject
* obj1
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "self",(char *) "id", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 arg2
= (int)SWIG_As_int(obj1
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31167 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
;
31169 wxMenu
*arg1
= (wxMenu
*) 0 ;
31170 wxString
*arg2
= 0 ;
31171 bool temp2
= false ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 char *kwnames
[] = {
31175 (char *) "self",(char *) "title", NULL
31178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31182 arg2
= wxString_in_helper(obj1
);
31183 if (arg2
== NULL
) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 (arg1
)->SetTitle((wxString
const &)*arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 Py_INCREF(Py_None
); resultobj
= Py_None
;
31208 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxMenu
*arg1
= (wxMenu
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= ((wxMenu
const *)arg1
)->GetTitle();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31240 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
;
31242 wxMenu
*arg1
= (wxMenu
*) 0 ;
31243 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "handler", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 (arg1
)->SetEventHandler(arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 Py_INCREF(Py_None
); resultobj
= Py_None
;
31269 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxMenu
*arg1
= (wxMenu
*) 0 ;
31272 wxEvtHandler
*result
;
31273 PyObject
* obj0
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= wxPyMake_wxObject(result
, 0);
31297 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxMenu
*arg1
= (wxMenu
*) 0 ;
31300 wxWindow
*arg2
= (wxWindow
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char *kwnames
[] = {
31304 (char *) "self",(char *) "win", NULL
31307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->SetInvokingWindow(arg2
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxMenu
*arg1
= (wxMenu
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= wxPyMake_wxObject(result
, 0);
31354 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
;
31356 wxMenu
*arg1
= (wxMenu
*) 0 ;
31358 PyObject
* obj0
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= SWIG_From_long((long)result
);
31380 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31381 PyObject
*resultobj
;
31382 wxMenu
*arg1
= (wxMenu
*) 0 ;
31383 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self",(char *) "source", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->UpdateUI(arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31411 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
;
31413 wxMenu
*arg1
= (wxMenu
*) 0 ;
31415 PyObject
* obj0
= 0 ;
31416 char *kwnames
[] = {
31417 (char *) "self", NULL
31420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= wxPyMake_wxObject(result
, 0);
31439 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenu
*arg1
= (wxMenu
*) 0 ;
31442 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 char *kwnames
[] = {
31446 (char *) "self",(char *) "menubar", NULL
31449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->Attach(arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 Py_INCREF(Py_None
); resultobj
= Py_None
;
31468 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
;
31470 wxMenu
*arg1
= (wxMenu
*) 0 ;
31471 PyObject
* obj0
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 Py_INCREF(Py_None
); resultobj
= Py_None
;
31493 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
;
31495 wxMenu
*arg1
= (wxMenu
*) 0 ;
31497 PyObject
* obj0
= 0 ;
31498 char *kwnames
[] = {
31499 (char *) "self", NULL
31502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxMenu
*arg1
= (wxMenu
*) 0 ;
31524 wxMenu
*arg2
= (wxMenu
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 PyObject
* obj1
= 0 ;
31527 char *kwnames
[] = {
31528 (char *) "self",(char *) "parent", NULL
31531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 (arg1
)->SetParent(arg2
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 Py_INCREF(Py_None
); resultobj
= Py_None
;
31550 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31551 PyObject
*resultobj
;
31552 wxMenu
*arg1
= (wxMenu
*) 0 ;
31554 PyObject
* obj0
= 0 ;
31555 char *kwnames
[] = {
31556 (char *) "self", NULL
31559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31566 wxPyEndAllowThreads(__tstate
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= wxPyMake_wxObject(result
, 0);
31578 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31581 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31583 return Py_BuildValue((char *)"");
31585 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 long arg1
= (long) 0 ;
31589 PyObject
* obj0
= 0 ;
31590 char *kwnames
[] = {
31591 (char *) "style", NULL
31594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31596 arg1
= (long)SWIG_As_long(obj0
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31600 if (!wxPyCheckForApp()) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31614 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31617 wxMenu
*arg2
= (wxMenu
*) 0 ;
31618 wxString
*arg3
= 0 ;
31620 bool temp3
= false ;
31621 PyObject
* obj0
= 0 ;
31622 PyObject
* obj1
= 0 ;
31623 PyObject
* obj2
= 0 ;
31624 char *kwnames
[] = {
31625 (char *) "self",(char *) "menu",(char *) "title", NULL
31628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31634 arg3
= wxString_in_helper(obj2
);
31635 if (arg3
== NULL
) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31662 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31666 wxMenu
*arg3
= (wxMenu
*) 0 ;
31667 wxString
*arg4
= 0 ;
31669 bool temp4
= false ;
31670 PyObject
* obj0
= 0 ;
31671 PyObject
* obj1
= 0 ;
31672 PyObject
* obj2
= 0 ;
31673 PyObject
* obj3
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31681 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31683 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31686 arg4
= wxString_in_helper(obj3
);
31687 if (arg4
== NULL
) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31714 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31718 PyObject
* obj0
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31740 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self",(char *) "pos", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) 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
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxObject(result
, 0);
31772 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31776 wxMenu
*arg3
= (wxMenu
*) 0 ;
31777 wxString
*arg4
= 0 ;
31779 bool temp4
= false ;
31780 PyObject
* obj0
= 0 ;
31781 PyObject
* obj1
= 0 ;
31782 PyObject
* obj2
= 0 ;
31783 PyObject
* obj3
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31791 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31796 arg4
= wxString_in_helper(obj3
);
31797 if (arg4
== NULL
) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 resultobj
= wxPyMake_wxObject(result
, 0);
31824 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
;
31826 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "self",(char *) "pos", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31838 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31842 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31844 wxPyEndAllowThreads(__tstate
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31848 resultobj
= wxPyMake_wxObject(result
, 0);
31856 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31857 PyObject
*resultobj
;
31858 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 PyObject
* obj1
= 0 ;
31863 PyObject
* obj2
= 0 ;
31864 char *kwnames
[] = {
31865 (char *) "self",(char *) "pos",(char *) "enable", NULL
31868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31871 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31873 arg3
= (bool)SWIG_As_bool(obj2
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 (arg1
)->EnableTop(arg2
,arg3
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 Py_INCREF(Py_None
); resultobj
= Py_None
;
31889 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31894 PyObject
* obj0
= 0 ;
31895 PyObject
* obj1
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self",(char *) "pos", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31903 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31921 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
;
31923 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31925 wxString
*arg3
= 0 ;
31926 bool temp3
= false ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 PyObject
* obj2
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self",(char *) "pos",(char *) "label", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31937 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 arg3
= wxString_in_helper(obj2
);
31941 if (arg3
== NULL
) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 Py_INCREF(Py_None
); resultobj
= Py_None
;
31966 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
;
31968 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 char *kwnames
[] = {
31974 (char *) "self",(char *) "pos", NULL
31977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31980 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32002 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
;
32004 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32005 wxString
*arg2
= 0 ;
32006 wxString
*arg3
= 0 ;
32008 bool temp2
= false ;
32009 bool temp3
= false ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 PyObject
* obj2
= 0 ;
32013 char *kwnames
[] = {
32014 (char *) "self",(char *) "menu",(char *) "item", NULL
32017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32021 arg2
= wxString_in_helper(obj1
);
32022 if (arg2
== NULL
) SWIG_fail
;
32026 arg3
= wxString_in_helper(obj2
);
32027 if (arg3
== NULL
) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_From_int((int)result
);
32060 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
;
32062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32064 wxMenuItem
*result
;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self",(char *) "id", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32074 arg2
= (int)SWIG_As_int(obj1
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= wxPyMake_wxObject(result
, 0);
32092 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
;
32094 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32095 wxString
*arg2
= 0 ;
32097 bool temp2
= false ;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char *kwnames
[] = {
32101 (char *) "self",(char *) "title", NULL
32104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32108 arg2
= wxString_in_helper(obj1
);
32109 if (arg2
== NULL
) SWIG_fail
;
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32116 wxPyEndAllowThreads(__tstate
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32119 resultobj
= SWIG_From_int((int)result
);
32134 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32135 PyObject
*resultobj
;
32136 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 PyObject
* obj2
= 0 ;
32142 char *kwnames
[] = {
32143 (char *) "self",(char *) "id",(char *) "enable", NULL
32146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32149 arg2
= (int)SWIG_As_int(obj1
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32151 arg3
= (bool)SWIG_As_bool(obj2
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 (arg1
)->Enable(arg2
,arg3
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 Py_INCREF(Py_None
); resultobj
= Py_None
;
32167 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
;
32169 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 PyObject
* obj2
= 0 ;
32175 char *kwnames
[] = {
32176 (char *) "self",(char *) "id",(char *) "check", NULL
32179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32182 arg2
= (int)SWIG_As_int(obj1
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32184 arg3
= (bool)SWIG_As_bool(obj2
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 (arg1
)->Check(arg2
,arg3
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 Py_INCREF(Py_None
); resultobj
= Py_None
;
32200 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32205 PyObject
* obj0
= 0 ;
32206 PyObject
* obj1
= 0 ;
32207 char *kwnames
[] = {
32208 (char *) "self",(char *) "id", NULL
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32214 arg2
= (int)SWIG_As_int(obj1
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32232 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
;
32234 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self",(char *) "id", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32246 arg2
= (int)SWIG_As_int(obj1
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32264 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
;
32266 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32268 wxString
*arg3
= 0 ;
32269 bool temp3
= false ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 PyObject
* obj2
= 0 ;
32273 char *kwnames
[] = {
32274 (char *) "self",(char *) "id",(char *) "label", NULL
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32280 arg2
= (int)SWIG_As_int(obj1
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 arg3
= wxString_in_helper(obj2
);
32284 if (arg3
== NULL
) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 Py_INCREF(Py_None
); resultobj
= Py_None
;
32309 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
;
32311 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32314 PyObject
* obj0
= 0 ;
32315 PyObject
* obj1
= 0 ;
32316 char *kwnames
[] = {
32317 (char *) "self",(char *) "id", NULL
32320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32323 arg2
= (int)SWIG_As_int(obj1
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32345 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32349 wxString
*arg3
= 0 ;
32350 bool temp3
= false ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 PyObject
* obj2
= 0 ;
32354 char *kwnames
[] = {
32355 (char *) "self",(char *) "id",(char *) "helpString", NULL
32358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32361 arg2
= (int)SWIG_As_int(obj1
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32364 arg3
= wxString_in_helper(obj2
);
32365 if (arg3
== NULL
) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 Py_INCREF(Py_None
); resultobj
= Py_None
;
32390 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 char *kwnames
[] = {
32398 (char *) "self",(char *) "id", NULL
32401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32404 arg2
= (int)SWIG_As_int(obj1
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32426 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32430 PyObject
* obj0
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self", NULL
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= wxPyMake_wxObject(result
, 0);
32454 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32458 PyObject
* obj0
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32482 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
;
32484 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32485 wxFrame
*arg2
= (wxFrame
*) 0 ;
32486 PyObject
* obj0
= 0 ;
32487 PyObject
* obj1
= 0 ;
32488 char *kwnames
[] = {
32489 (char *) "self",(char *) "frame", NULL
32492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->Attach(arg2
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 Py_INCREF(Py_None
); resultobj
= Py_None
;
32511 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32514 PyObject
* obj0
= 0 ;
32515 char *kwnames
[] = {
32516 (char *) "self", NULL
32519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 Py_INCREF(Py_None
); resultobj
= Py_None
;
32536 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32539 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32541 return Py_BuildValue((char *)"");
32543 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
;
32545 wxMenu
*arg1
= (wxMenu
*) NULL
;
32546 int arg2
= (int) wxID_ANY
;
32547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32549 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32550 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32551 int arg5
= (int) wxITEM_NORMAL
;
32552 wxMenu
*arg6
= (wxMenu
*) NULL
;
32553 wxMenuItem
*result
;
32554 bool temp3
= false ;
32555 bool temp4
= false ;
32556 PyObject
* obj0
= 0 ;
32557 PyObject
* obj1
= 0 ;
32558 PyObject
* obj2
= 0 ;
32559 PyObject
* obj3
= 0 ;
32560 PyObject
* obj4
= 0 ;
32561 PyObject
* obj5
= 0 ;
32562 char *kwnames
[] = {
32563 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32572 arg2
= (int)SWIG_As_int(obj1
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32577 arg3
= wxString_in_helper(obj2
);
32578 if (arg3
== NULL
) SWIG_fail
;
32584 arg4
= wxString_in_helper(obj3
);
32585 if (arg4
== NULL
) SWIG_fail
;
32590 arg5
= (int)SWIG_As_int(obj4
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32594 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32605 resultobj
= wxPyMake_wxObject(result
, 1);
32629 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
;
32631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32633 PyObject
* obj0
= 0 ;
32634 char *kwnames
[] = {
32635 (char *) "self", NULL
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= wxPyMake_wxObject(result
, 0);
32657 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
;
32659 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32660 wxMenu
*arg2
= (wxMenu
*) 0 ;
32661 PyObject
* obj0
= 0 ;
32662 PyObject
* obj1
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self",(char *) "menu", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 (arg1
)->SetMenu(arg2
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 Py_INCREF(Py_None
); resultobj
= Py_None
;
32686 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
;
32688 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32690 PyObject
* obj0
= 0 ;
32691 PyObject
* obj1
= 0 ;
32692 char *kwnames
[] = {
32693 (char *) "self",(char *) "id", NULL
32696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32699 arg2
= (int)SWIG_As_int(obj1
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 (arg1
)->SetId(arg2
);
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 Py_INCREF(Py_None
); resultobj
= Py_None
;
32715 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
;
32717 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32719 PyObject
* obj0
= 0 ;
32720 char *kwnames
[] = {
32721 (char *) "self", NULL
32724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 resultobj
= SWIG_From_int((int)result
);
32741 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32745 PyObject
* obj0
= 0 ;
32746 char *kwnames
[] = {
32747 (char *) "self", NULL
32750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32769 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32770 PyObject
*resultobj
;
32771 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32772 wxString
*arg2
= 0 ;
32773 bool temp2
= false ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 char *kwnames
[] = {
32777 (char *) "self",(char *) "str", NULL
32780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32784 arg2
= wxString_in_helper(obj1
);
32785 if (arg2
== NULL
) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 (arg1
)->SetText((wxString
const &)*arg2
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 Py_INCREF(Py_None
); resultobj
= Py_None
;
32810 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32814 PyObject
* obj0
= 0 ;
32815 char *kwnames
[] = {
32816 (char *) "self", NULL
32819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32842 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
;
32844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32846 PyObject
* obj0
= 0 ;
32847 char *kwnames
[] = {
32848 (char *) "self", NULL
32851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32858 result
= (wxString
*) &_result_ref
;
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32868 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32877 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
;
32879 wxString
*arg1
= 0 ;
32881 bool temp1
= false ;
32882 PyObject
* obj0
= 0 ;
32883 char *kwnames
[] = {
32884 (char *) "text", NULL
32887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32889 arg1
= wxString_in_helper(obj0
);
32890 if (arg1
== NULL
) SWIG_fail
;
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32921 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
;
32923 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32925 PyObject
* obj0
= 0 ;
32926 char *kwnames
[] = {
32927 (char *) "self", NULL
32930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= SWIG_From_int((int)result
);
32947 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 PyObject
* obj1
= 0 ;
32953 char *kwnames
[] = {
32954 (char *) "self",(char *) "kind", NULL
32957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32960 arg2
= (int)SWIG_As_int(obj1
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 (arg1
)->SetKind((wxItemKind
)arg2
);
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 Py_INCREF(Py_None
); resultobj
= Py_None
;
32976 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
;
32978 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 char *kwnames
[] = {
32983 (char *) "self",(char *) "checkable", NULL
32986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32989 arg2
= (bool)SWIG_As_bool(obj1
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 (arg1
)->SetCheckable(arg2
);
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 Py_INCREF(Py_None
); resultobj
= Py_None
;
33005 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
;
33007 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 char *kwnames
[] = {
33011 (char *) "self", NULL
33014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33033 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 char *kwnames
[] = {
33039 (char *) "self", NULL
33042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33061 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33064 wxMenu
*arg2
= (wxMenu
*) 0 ;
33065 PyObject
* obj0
= 0 ;
33066 PyObject
* obj1
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self",(char *) "menu", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->SetSubMenu(arg2
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= wxPyMake_wxObject(result
, 0);
33118 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33121 bool arg2
= (bool) true ;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 char *kwnames
[] = {
33125 (char *) "self",(char *) "enable", NULL
33128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33132 arg2
= (bool)SWIG_As_bool(obj1
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 (arg1
)->Enable(arg2
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 Py_INCREF(Py_None
); resultobj
= Py_None
;
33149 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
;
33151 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33153 PyObject
* obj0
= 0 ;
33154 char *kwnames
[] = {
33155 (char *) "self", NULL
33158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33177 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
;
33179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33180 bool arg2
= (bool) true ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self",(char *) "check", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33191 arg2
= (bool)SWIG_As_bool(obj1
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33196 (arg1
)->Check(arg2
);
33198 wxPyEndAllowThreads(__tstate
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33201 Py_INCREF(Py_None
); resultobj
= Py_None
;
33208 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
;
33210 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33212 PyObject
* obj0
= 0 ;
33213 char *kwnames
[] = {
33214 (char *) "self", NULL
33217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33236 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33237 PyObject
*resultobj
;
33238 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33239 PyObject
* obj0
= 0 ;
33240 char *kwnames
[] = {
33241 (char *) "self", NULL
33244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33254 Py_INCREF(Py_None
); resultobj
= Py_None
;
33261 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
;
33263 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33264 wxString
*arg2
= 0 ;
33265 bool temp2
= false ;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "self",(char *) "str", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33276 arg2
= wxString_in_helper(obj1
);
33277 if (arg2
== NULL
) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->SetHelp((wxString
const &)*arg2
);
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33287 Py_INCREF(Py_None
); resultobj
= Py_None
;
33302 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33303 PyObject
*resultobj
;
33304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33306 PyObject
* obj0
= 0 ;
33307 char *kwnames
[] = {
33308 (char *) "self", NULL
33311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33318 result
= (wxString
*) &_result_ref
;
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33326 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33328 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33337 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
;
33339 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33340 wxAcceleratorEntry
*result
;
33341 PyObject
* obj0
= 0 ;
33342 char *kwnames
[] = {
33343 (char *) "self", NULL
33346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33353 wxPyEndAllowThreads(__tstate
);
33354 if (PyErr_Occurred()) SWIG_fail
;
33356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33363 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33364 PyObject
*resultobj
;
33365 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33366 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33367 PyObject
* obj0
= 0 ;
33368 PyObject
* obj1
= 0 ;
33369 char *kwnames
[] = {
33370 (char *) "self",(char *) "accel", NULL
33373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33380 (arg1
)->SetAccel(arg2
);
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 Py_INCREF(Py_None
); resultobj
= Py_None
;
33392 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
;
33394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33396 PyObject
* obj0
= 0 ;
33397 PyObject
* obj1
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self",(char *) "font", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33408 if (arg2
== NULL
) {
33409 PyErr_SetString(PyExc_TypeError
,"null reference");
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 (arg1
)->SetFont((wxFont
const &)*arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 Py_INCREF(Py_None
); resultobj
= Py_None
;
33426 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
;
33428 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33430 PyObject
* obj0
= 0 ;
33431 char *kwnames
[] = {
33432 (char *) "self", NULL
33435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 result
= (arg1
)->GetFont();
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33446 wxFont
* resultptr
;
33447 resultptr
= new wxFont((wxFont
&) result
);
33448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33456 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33459 wxColour
*arg2
= 0 ;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 char *kwnames
[] = {
33464 (char *) "self",(char *) "colText", NULL
33467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 Py_INCREF(Py_None
); resultobj
= Py_None
;
33488 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33489 PyObject
*resultobj
;
33490 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33492 PyObject
* obj0
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 result
= (arg1
)->GetTextColour();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33508 wxColour
* resultptr
;
33509 resultptr
= new wxColour((wxColour
&) result
);
33510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33518 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33521 wxColour
*arg2
= 0 ;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "colBack", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 Py_INCREF(Py_None
); resultobj
= Py_None
;
33550 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
;
33552 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33554 PyObject
* obj0
= 0 ;
33555 char *kwnames
[] = {
33556 (char *) "self", NULL
33559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 result
= (arg1
)->GetBackgroundColour();
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33570 wxColour
* resultptr
;
33571 resultptr
= new wxColour((wxColour
&) result
);
33572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33580 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
;
33582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33583 wxBitmap
*arg2
= 0 ;
33584 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33585 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 PyObject
* obj2
= 0 ;
33589 char *kwnames
[] = {
33590 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33599 if (arg2
== NULL
) {
33600 PyErr_SetString(PyExc_TypeError
,"null reference");
33604 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33607 if (arg3
== NULL
) {
33608 PyErr_SetString(PyExc_TypeError
,"null reference");
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 Py_INCREF(Py_None
); resultobj
= Py_None
;
33626 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
;
33628 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33629 wxBitmap
*arg2
= 0 ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self",(char *) "bmpDisabled", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33642 if (arg2
== NULL
) {
33643 PyErr_SetString(PyExc_TypeError
,"null reference");
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33650 wxPyEndAllowThreads(__tstate
);
33651 if (PyErr_Occurred()) SWIG_fail
;
33653 Py_INCREF(Py_None
); resultobj
= Py_None
;
33660 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33661 PyObject
*resultobj
;
33662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33664 PyObject
* obj0
= 0 ;
33665 char *kwnames
[] = {
33666 (char *) "self", NULL
33669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33676 result
= (wxBitmap
*) &_result_ref
;
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33683 wxBitmap
* resultptr
= new wxBitmap(*result
);
33684 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33692 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 char *kwnames
[] = {
33699 (char *) "self",(char *) "nWidth", NULL
33702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33705 arg2
= (int)SWIG_As_int(obj1
);
33706 if (PyErr_Occurred()) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 (arg1
)->SetMarginWidth(arg2
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33714 Py_INCREF(Py_None
); resultobj
= Py_None
;
33721 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33722 PyObject
*resultobj
;
33723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33725 PyObject
* obj0
= 0 ;
33726 char *kwnames
[] = {
33727 (char *) "self", NULL
33730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33735 result
= (int)(arg1
)->GetMarginWidth();
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_From_int((int)result
);
33747 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
;
33750 char *kwnames
[] = {
33754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 resultobj
= SWIG_From_int((int)result
);
33769 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
;
33771 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33773 PyObject
* obj0
= 0 ;
33774 char *kwnames
[] = {
33775 (char *) "self", NULL
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (bool)(arg1
)->IsOwnerDrawn();
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33797 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
;
33799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33800 bool arg2
= (bool) true ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 char *kwnames
[] = {
33804 (char *) "self",(char *) "ownerDrawn", NULL
33807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33811 arg2
= (bool)SWIG_As_bool(obj1
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->SetOwnerDrawn(arg2
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 Py_INCREF(Py_None
); resultobj
= Py_None
;
33828 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
;
33830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33831 PyObject
* obj0
= 0 ;
33832 char *kwnames
[] = {
33833 (char *) "self", NULL
33836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 (arg1
)->ResetOwnerDrawn();
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33846 Py_INCREF(Py_None
); resultobj
= Py_None
;
33853 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33854 PyObject
*resultobj
;
33855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33856 wxBitmap
*arg2
= 0 ;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 char *kwnames
[] = {
33860 (char *) "self",(char *) "bitmap", NULL
33863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33869 if (arg2
== NULL
) {
33870 PyErr_SetString(PyExc_TypeError
,"null reference");
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 Py_INCREF(Py_None
); resultobj
= Py_None
;
33887 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33891 PyObject
* obj0
= 0 ;
33892 char *kwnames
[] = {
33893 (char *) "self", NULL
33896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33903 result
= (wxBitmap
*) &_result_ref
;
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33910 wxBitmap
* resultptr
= new wxBitmap(*result
);
33911 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33919 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33922 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33924 return Py_BuildValue((char *)"");
33926 static int _wrap_ControlNameStr_set(PyObject
*) {
33927 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33932 static PyObject
*_wrap_ControlNameStr_get() {
33937 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33939 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33946 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
;
33948 wxWindow
*arg1
= (wxWindow
*) 0 ;
33949 int arg2
= (int) -1 ;
33950 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33951 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33952 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33953 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33954 long arg5
= (long) 0 ;
33955 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33956 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33957 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33962 bool temp7
= false ;
33963 PyObject
* obj0
= 0 ;
33964 PyObject
* obj1
= 0 ;
33965 PyObject
* obj2
= 0 ;
33966 PyObject
* obj3
= 0 ;
33967 PyObject
* obj4
= 0 ;
33968 PyObject
* obj5
= 0 ;
33969 PyObject
* obj6
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33978 arg2
= (int)SWIG_As_int(obj1
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33994 arg5
= (long)SWIG_As_long(obj4
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33998 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34001 if (arg6
== NULL
) {
34002 PyErr_SetString(PyExc_TypeError
,"null reference");
34008 arg7
= wxString_in_helper(obj6
);
34009 if (arg7
== NULL
) SWIG_fail
;
34014 if (!wxPyCheckForApp()) SWIG_fail
;
34015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34016 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34036 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
;
34039 char *kwnames
[] = {
34043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34045 if (!wxPyCheckForApp()) SWIG_fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= (wxControl
*)new wxControl();
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34059 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
;
34061 wxControl
*arg1
= (wxControl
*) 0 ;
34062 wxWindow
*arg2
= (wxWindow
*) 0 ;
34063 int arg3
= (int) -1 ;
34064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34068 long arg6
= (long) 0 ;
34069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34071 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34076 bool temp8
= false ;
34077 PyObject
* obj0
= 0 ;
34078 PyObject
* obj1
= 0 ;
34079 PyObject
* obj2
= 0 ;
34080 PyObject
* obj3
= 0 ;
34081 PyObject
* obj4
= 0 ;
34082 PyObject
* obj5
= 0 ;
34083 PyObject
* obj6
= 0 ;
34084 PyObject
* obj7
= 0 ;
34085 char *kwnames
[] = {
34086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34095 arg3
= (int)SWIG_As_int(obj2
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34111 arg6
= (long)SWIG_As_long(obj5
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34115 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34118 if (arg7
== NULL
) {
34119 PyErr_SetString(PyExc_TypeError
,"null reference");
34125 arg8
= wxString_in_helper(obj7
);
34126 if (arg8
== NULL
) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34154 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
;
34156 wxControl
*arg1
= (wxControl
*) 0 ;
34157 wxCommandEvent
*arg2
= 0 ;
34158 PyObject
* obj0
= 0 ;
34159 PyObject
* obj1
= 0 ;
34160 char *kwnames
[] = {
34161 (char *) "self",(char *) "event", NULL
34164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34170 if (arg2
== NULL
) {
34171 PyErr_SetString(PyExc_TypeError
,"null reference");
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->Command(*arg2
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 Py_INCREF(Py_None
); resultobj
= Py_None
;
34188 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
;
34190 wxControl
*arg1
= (wxControl
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 char *kwnames
[] = {
34194 (char *) "self", NULL
34197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (arg1
)->GetLabel();
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34220 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxControl
*arg1
= (wxControl
*) 0 ;
34223 wxString
*arg2
= 0 ;
34224 bool temp2
= false ;
34225 PyObject
* obj0
= 0 ;
34226 PyObject
* obj1
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self",(char *) "label", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34235 arg2
= wxString_in_helper(obj1
);
34236 if (arg2
== NULL
) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 (arg1
)->SetLabel((wxString
const &)*arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 Py_INCREF(Py_None
); resultobj
= Py_None
;
34261 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34264 wxVisualAttributes result
;
34265 PyObject
* obj0
= 0 ;
34266 char *kwnames
[] = {
34267 (char *) "variant", NULL
34270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34272 arg1
= (int)SWIG_As_int(obj0
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34276 if (!wxPyCheckForApp()) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34284 wxVisualAttributes
* resultptr
;
34285 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34294 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34297 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34299 return Py_BuildValue((char *)"");
34301 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
;
34303 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34304 wxString
*arg2
= 0 ;
34305 PyObject
*arg3
= (PyObject
*) NULL
;
34307 bool temp2
= false ;
34308 PyObject
* obj0
= 0 ;
34309 PyObject
* obj1
= 0 ;
34310 PyObject
* obj2
= 0 ;
34311 char *kwnames
[] = {
34312 (char *) "self",(char *) "item",(char *) "clientData", NULL
34315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34319 arg2
= wxString_in_helper(obj1
);
34320 if (arg2
== NULL
) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_From_int((int)result
);
34348 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
;
34350 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34351 wxArrayString
*arg2
= 0 ;
34352 bool temp2
= false ;
34353 PyObject
* obj0
= 0 ;
34354 PyObject
* obj1
= 0 ;
34355 char *kwnames
[] = {
34356 (char *) "self",(char *) "strings", NULL
34359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34363 if (! PySequence_Check(obj1
)) {
34364 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34367 arg2
= new wxArrayString
;
34369 int i
, len
=PySequence_Length(obj1
);
34370 for (i
=0; i
<len
; i
++) {
34371 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34373 PyObject
* str
= PyObject_Unicode(item
);
34375 PyObject
* str
= PyObject_Str(item
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34378 arg2
->Add(Py2wxString(str
));
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 (arg1
)->Append((wxArrayString
const &)*arg2
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 Py_INCREF(Py_None
); resultobj
= Py_None
;
34392 if (temp2
) delete arg2
;
34397 if (temp2
) delete arg2
;
34403 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34406 wxString
*arg2
= 0 ;
34408 PyObject
*arg4
= (PyObject
*) NULL
;
34410 bool temp2
= false ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 PyObject
* obj2
= 0 ;
34414 PyObject
* obj3
= 0 ;
34415 char *kwnames
[] = {
34416 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34423 arg2
= wxString_in_helper(obj1
);
34424 if (arg2
== NULL
) SWIG_fail
;
34427 arg3
= (int)SWIG_As_int(obj2
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= SWIG_From_int((int)result
);
34454 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
;
34456 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34457 PyObject
* obj0
= 0 ;
34458 char *kwnames
[] = {
34459 (char *) "self", NULL
34462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34472 Py_INCREF(Py_None
); resultobj
= Py_None
;
34479 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34480 PyObject
*resultobj
;
34481 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34483 PyObject
* obj0
= 0 ;
34484 PyObject
* obj1
= 0 ;
34485 char *kwnames
[] = {
34486 (char *) "self",(char *) "n", NULL
34489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34492 arg2
= (int)SWIG_As_int(obj1
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 (arg1
)->Delete(arg2
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34501 Py_INCREF(Py_None
); resultobj
= Py_None
;
34508 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34512 PyObject
* obj0
= 0 ;
34513 char *kwnames
[] = {
34514 (char *) "self", NULL
34517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_From_int((int)result
);
34534 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
;
34536 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34538 PyObject
* obj0
= 0 ;
34539 char *kwnames
[] = {
34540 (char *) "self", NULL
34543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34562 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34563 PyObject
*resultobj
;
34564 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 char *kwnames
[] = {
34570 (char *) "self",(char *) "n", NULL
34573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34576 arg2
= (int)SWIG_As_int(obj1
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34598 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
;
34600 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34601 wxArrayString result
;
34602 PyObject
* obj0
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34612 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= wxArrayString2PyList_helper(result
);
34626 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34630 wxString
*arg3
= 0 ;
34631 bool temp3
= false ;
34632 PyObject
* obj0
= 0 ;
34633 PyObject
* obj1
= 0 ;
34634 PyObject
* obj2
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self",(char *) "n",(char *) "s", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34642 arg2
= (int)SWIG_As_int(obj1
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34645 arg3
= wxString_in_helper(obj2
);
34646 if (arg3
== NULL
) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34674 wxString
*arg2
= 0 ;
34676 bool temp2
= false ;
34677 PyObject
* obj0
= 0 ;
34678 PyObject
* obj1
= 0 ;
34679 char *kwnames
[] = {
34680 (char *) "self",(char *) "s", NULL
34683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34687 arg2
= wxString_in_helper(obj1
);
34688 if (arg2
== NULL
) SWIG_fail
;
34692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34693 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34695 wxPyEndAllowThreads(__tstate
);
34696 if (PyErr_Occurred()) SWIG_fail
;
34698 resultobj
= SWIG_From_int((int)result
);
34713 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34717 PyObject
* obj0
= 0 ;
34718 PyObject
* obj1
= 0 ;
34719 char *kwnames
[] = {
34720 (char *) "self",(char *) "n", NULL
34723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34726 arg2
= (int)SWIG_As_int(obj1
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 (arg1
)->Select(arg2
);
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34735 Py_INCREF(Py_None
); resultobj
= Py_None
;
34742 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
;
34744 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34746 PyObject
* obj0
= 0 ;
34747 char *kwnames
[] = {
34748 (char *) "self", NULL
34751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 resultobj
= SWIG_From_int((int)result
);
34768 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 char *kwnames
[] = {
34774 (char *) "self", NULL
34777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34800 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34805 PyObject
* obj0
= 0 ;
34806 PyObject
* obj1
= 0 ;
34807 char *kwnames
[] = {
34808 (char *) "self",(char *) "n", NULL
34811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34814 arg2
= (int)SWIG_As_int(obj1
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= result
;
34830 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
;
34832 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34834 PyObject
*arg3
= (PyObject
*) 0 ;
34835 PyObject
* obj0
= 0 ;
34836 PyObject
* obj1
= 0 ;
34837 PyObject
* obj2
= 0 ;
34838 char *kwnames
[] = {
34839 (char *) "self",(char *) "n",(char *) "clientData", NULL
34842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34845 arg2
= (int)SWIG_As_int(obj1
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34855 Py_INCREF(Py_None
); resultobj
= Py_None
;
34862 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34865 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34867 return Py_BuildValue((char *)"");
34869 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34872 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34874 return Py_BuildValue((char *)"");
34876 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34877 PyObject
*resultobj
;
34878 wxSizerItem
*result
;
34879 char *kwnames
[] = {
34883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (wxSizerItem
*)new wxSizerItem();
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34898 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
;
34900 wxWindow
*arg1
= (wxWindow
*) 0 ;
34904 PyObject
*arg5
= (PyObject
*) NULL
;
34905 wxSizerItem
*result
;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 PyObject
* obj3
= 0 ;
34910 PyObject
* obj4
= 0 ;
34911 char *kwnames
[] = {
34912 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34918 arg2
= (int)SWIG_As_int(obj1
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34920 arg3
= (int)SWIG_As_int(obj2
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34922 arg4
= (int)SWIG_As_int(obj3
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34941 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
;
34948 PyObject
*arg6
= (PyObject
*) NULL
;
34949 wxSizerItem
*result
;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 PyObject
* obj2
= 0 ;
34953 PyObject
* obj3
= 0 ;
34954 PyObject
* obj4
= 0 ;
34955 PyObject
* obj5
= 0 ;
34956 char *kwnames
[] = {
34957 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34961 arg1
= (int)SWIG_As_int(obj0
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34963 arg2
= (int)SWIG_As_int(obj1
);
34964 if (PyErr_Occurred()) SWIG_fail
;
34965 arg3
= (int)SWIG_As_int(obj2
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34967 arg4
= (int)SWIG_As_int(obj3
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34969 arg5
= (int)SWIG_As_int(obj4
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34988 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34989 PyObject
*resultobj
;
34990 wxSizer
*arg1
= (wxSizer
*) 0 ;
34994 PyObject
*arg5
= (PyObject
*) NULL
;
34995 wxSizerItem
*result
;
34996 PyObject
* obj0
= 0 ;
34997 PyObject
* obj1
= 0 ;
34998 PyObject
* obj2
= 0 ;
34999 PyObject
* obj3
= 0 ;
35000 PyObject
* obj4
= 0 ;
35001 char *kwnames
[] = {
35002 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35008 arg2
= (int)SWIG_As_int(obj1
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35010 arg3
= (int)SWIG_As_int(obj2
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35012 arg4
= (int)SWIG_As_int(obj3
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35031 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
;
35033 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35034 PyObject
* obj0
= 0 ;
35035 char *kwnames
[] = {
35036 (char *) "self", NULL
35039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 (arg1
)->DeleteWindows();
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 Py_INCREF(Py_None
); resultobj
= Py_None
;
35056 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35059 PyObject
* obj0
= 0 ;
35060 char *kwnames
[] = {
35061 (char *) "self", NULL
35064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->DetachSizer();
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35074 Py_INCREF(Py_None
); resultobj
= Py_None
;
35081 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35082 PyObject
*resultobj
;
35083 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35085 PyObject
* obj0
= 0 ;
35086 char *kwnames
[] = {
35087 (char *) "self", NULL
35090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= (arg1
)->GetSize();
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35101 wxSize
* resultptr
;
35102 resultptr
= new wxSize((wxSize
&) result
);
35103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35111 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35112 PyObject
*resultobj
;
35113 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35115 PyObject
* obj0
= 0 ;
35116 char *kwnames
[] = {
35117 (char *) "self", NULL
35120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 result
= (arg1
)->CalcMin();
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35131 wxSize
* resultptr
;
35132 resultptr
= new wxSize((wxSize
&) result
);
35133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35141 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
;
35143 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35148 PyObject
* obj0
= 0 ;
35149 PyObject
* obj1
= 0 ;
35150 PyObject
* obj2
= 0 ;
35151 char *kwnames
[] = {
35152 (char *) "self",(char *) "pos",(char *) "size", NULL
35155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35158 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35159 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35161 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35162 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 (arg1
)->SetDimension(arg2
,arg3
);
35168 wxPyEndAllowThreads(__tstate
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35171 Py_INCREF(Py_None
); resultobj
= Py_None
;
35178 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
;
35180 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35182 PyObject
* obj0
= 0 ;
35183 char *kwnames
[] = {
35184 (char *) "self", NULL
35187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 result
= (arg1
)->GetMinSize();
35194 wxPyEndAllowThreads(__tstate
);
35195 if (PyErr_Occurred()) SWIG_fail
;
35198 wxSize
* resultptr
;
35199 resultptr
= new wxSize((wxSize
&) result
);
35200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35208 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35209 PyObject
*resultobj
;
35210 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 char *kwnames
[] = {
35214 (char *) "self", NULL
35217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35228 wxSize
* resultptr
;
35229 resultptr
= new wxSize((wxSize
&) result
);
35230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35238 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 char *kwnames
[] = {
35247 (char *) "self",(char *) "x",(char *) "y", NULL
35250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35253 arg2
= (int)SWIG_As_int(obj1
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35255 arg3
= (int)SWIG_As_int(obj2
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35259 (arg1
)->SetInitSize(arg2
,arg3
);
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35264 Py_INCREF(Py_None
); resultobj
= Py_None
;
35271 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35272 PyObject
*resultobj
;
35273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 PyObject
* obj2
= 0 ;
35279 char *kwnames
[] = {
35280 (char *) "self",(char *) "width",(char *) "height", NULL
35283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35286 arg2
= (int)SWIG_As_int(obj1
);
35287 if (PyErr_Occurred()) SWIG_fail
;
35288 arg3
= (int)SWIG_As_int(obj2
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 (arg1
)->SetRatio(arg2
,arg3
);
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 Py_INCREF(Py_None
); resultobj
= Py_None
;
35304 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35305 PyObject
*resultobj
;
35306 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35309 PyObject
* obj0
= 0 ;
35310 PyObject
* obj1
= 0 ;
35311 char *kwnames
[] = {
35312 (char *) "self",(char *) "size", NULL
35315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35318 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35319 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 (arg1
)->SetRatio(arg2
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35328 Py_INCREF(Py_None
); resultobj
= Py_None
;
35335 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35336 PyObject
*resultobj
;
35337 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35339 PyObject
* obj0
= 0 ;
35340 PyObject
* obj1
= 0 ;
35341 char *kwnames
[] = {
35342 (char *) "self",(char *) "ratio", NULL
35345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35348 arg2
= (float)SWIG_As_float(obj1
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 (arg1
)->SetRatio(arg2
);
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 Py_INCREF(Py_None
); resultobj
= Py_None
;
35364 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35365 PyObject
*resultobj
;
35366 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35368 PyObject
* obj0
= 0 ;
35369 char *kwnames
[] = {
35370 (char *) "self", NULL
35373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 result
= (float)(arg1
)->GetRatio();
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= SWIG_From_float((float)result
);
35390 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35394 PyObject
* obj0
= 0 ;
35395 char *kwnames
[] = {
35396 (char *) "self", NULL
35399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (bool)(arg1
)->IsWindow();
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35418 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
;
35420 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35422 PyObject
* obj0
= 0 ;
35423 char *kwnames
[] = {
35424 (char *) "self", NULL
35427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 result
= (bool)(arg1
)->IsSizer();
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35446 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35447 PyObject
*resultobj
;
35448 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35450 PyObject
* obj0
= 0 ;
35451 char *kwnames
[] = {
35452 (char *) "self", NULL
35455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 result
= (bool)(arg1
)->IsSpacer();
35462 wxPyEndAllowThreads(__tstate
);
35463 if (PyErr_Occurred()) SWIG_fail
;
35466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35474 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
;
35476 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 char *kwnames
[] = {
35481 (char *) "self",(char *) "proportion", NULL
35484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35487 arg2
= (int)SWIG_As_int(obj1
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 (arg1
)->SetProportion(arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 Py_INCREF(Py_None
); resultobj
= Py_None
;
35503 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 char *kwnames
[] = {
35509 (char *) "self", NULL
35512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (int)(arg1
)->GetProportion();
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= SWIG_From_int((int)result
);
35529 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35530 PyObject
*resultobj
;
35531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35533 PyObject
* obj0
= 0 ;
35534 PyObject
* obj1
= 0 ;
35535 char *kwnames
[] = {
35536 (char *) "self",(char *) "flag", NULL
35539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35542 arg2
= (int)SWIG_As_int(obj1
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 (arg1
)->SetFlag(arg2
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 Py_INCREF(Py_None
); resultobj
= Py_None
;
35558 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
;
35560 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35562 PyObject
* obj0
= 0 ;
35563 char *kwnames
[] = {
35564 (char *) "self", NULL
35567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35572 result
= (int)(arg1
)->GetFlag();
35574 wxPyEndAllowThreads(__tstate
);
35575 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= SWIG_From_int((int)result
);
35584 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35585 PyObject
*resultobj
;
35586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35588 PyObject
* obj0
= 0 ;
35589 PyObject
* obj1
= 0 ;
35590 char *kwnames
[] = {
35591 (char *) "self",(char *) "border", NULL
35594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35597 arg2
= (int)SWIG_As_int(obj1
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 (arg1
)->SetBorder(arg2
);
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 Py_INCREF(Py_None
); resultobj
= Py_None
;
35613 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 char *kwnames
[] = {
35619 (char *) "self", NULL
35622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= (int)(arg1
)->GetBorder();
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= SWIG_From_int((int)result
);
35639 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
;
35641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (wxWindow
*)(arg1
)->GetWindow();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= wxPyMake_wxObject(result
, 0);
35667 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
;
35669 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35670 wxWindow
*arg2
= (wxWindow
*) 0 ;
35671 PyObject
* obj0
= 0 ;
35672 PyObject
* obj1
= 0 ;
35673 char *kwnames
[] = {
35674 (char *) "self",(char *) "window", NULL
35677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 (arg1
)->SetWindow(arg2
);
35686 wxPyEndAllowThreads(__tstate
);
35687 if (PyErr_Occurred()) SWIG_fail
;
35689 Py_INCREF(Py_None
); resultobj
= Py_None
;
35696 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35697 PyObject
*resultobj
;
35698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 char *kwnames
[] = {
35702 (char *) "self", NULL
35705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35710 result
= (wxSizer
*)(arg1
)->GetSizer();
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35716 resultobj
= wxPyMake_wxSizer(result
, 0);
35724 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
;
35726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35727 wxSizer
*arg2
= (wxSizer
*) 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self",(char *) "sizer", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 (arg1
)->SetSizer(arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35746 Py_INCREF(Py_None
); resultobj
= Py_None
;
35753 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
;
35755 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35757 PyObject
* obj0
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35769 result
= (wxSize
*) &_result_ref
;
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35782 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
;
35784 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35787 PyObject
* obj0
= 0 ;
35788 PyObject
* obj1
= 0 ;
35789 char *kwnames
[] = {
35790 (char *) "self",(char *) "size", NULL
35793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 Py_INCREF(Py_None
); resultobj
= Py_None
;
35814 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
;
35816 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 char *kwnames
[] = {
35821 (char *) "self",(char *) "show", NULL
35824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35827 arg2
= (bool)SWIG_As_bool(obj1
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35831 (arg1
)->Show(arg2
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 Py_INCREF(Py_None
); resultobj
= Py_None
;
35843 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
;
35845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35847 PyObject
* obj0
= 0 ;
35848 char *kwnames
[] = {
35849 (char *) "self", NULL
35852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 result
= (bool)(arg1
)->IsShown();
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35871 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35872 PyObject
*resultobj
;
35873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35875 PyObject
* obj0
= 0 ;
35876 char *kwnames
[] = {
35877 (char *) "self", NULL
35880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 result
= (arg1
)->GetPosition();
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35891 wxPoint
* resultptr
;
35892 resultptr
= new wxPoint((wxPoint
&) result
);
35893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35901 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35905 PyObject
* obj0
= 0 ;
35906 char *kwnames
[] = {
35907 (char *) "self", NULL
35910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= result
;
35927 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35930 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35932 return Py_BuildValue((char *)"");
35934 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
;
35936 wxSizer
*arg1
= (wxSizer
*) 0 ;
35937 PyObject
*arg2
= (PyObject
*) 0 ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 char *kwnames
[] = {
35941 (char *) "self",(char *) "_self", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 wxSizer__setOORInfo(arg1
,arg2
);
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 Py_INCREF(Py_None
); resultobj
= Py_None
;
35962 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
;
35964 wxSizer
*arg1
= (wxSizer
*) 0 ;
35965 PyObject
*arg2
= (PyObject
*) 0 ;
35966 int arg3
= (int) 0 ;
35967 int arg4
= (int) 0 ;
35968 int arg5
= (int) 0 ;
35969 PyObject
*arg6
= (PyObject
*) NULL
;
35970 PyObject
* obj0
= 0 ;
35971 PyObject
* obj1
= 0 ;
35972 PyObject
* obj2
= 0 ;
35973 PyObject
* obj3
= 0 ;
35974 PyObject
* obj4
= 0 ;
35975 PyObject
* obj5
= 0 ;
35976 char *kwnames
[] = {
35977 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35985 arg3
= (int)SWIG_As_int(obj2
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35989 arg4
= (int)SWIG_As_int(obj3
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35993 arg5
= (int)SWIG_As_int(obj4
);
35994 if (PyErr_Occurred()) SWIG_fail
;
36000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36001 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36003 wxPyEndAllowThreads(__tstate
);
36004 if (PyErr_Occurred()) SWIG_fail
;
36006 Py_INCREF(Py_None
); resultobj
= Py_None
;
36013 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
;
36015 wxSizer
*arg1
= (wxSizer
*) 0 ;
36017 PyObject
*arg3
= (PyObject
*) 0 ;
36018 int arg4
= (int) 0 ;
36019 int arg5
= (int) 0 ;
36020 int arg6
= (int) 0 ;
36021 PyObject
*arg7
= (PyObject
*) NULL
;
36022 PyObject
* obj0
= 0 ;
36023 PyObject
* obj1
= 0 ;
36024 PyObject
* obj2
= 0 ;
36025 PyObject
* obj3
= 0 ;
36026 PyObject
* obj4
= 0 ;
36027 PyObject
* obj5
= 0 ;
36028 PyObject
* obj6
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36036 arg2
= (int)SWIG_As_int(obj1
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36040 arg4
= (int)SWIG_As_int(obj3
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 arg5
= (int)SWIG_As_int(obj4
);
36045 if (PyErr_Occurred()) SWIG_fail
;
36048 arg6
= (int)SWIG_As_int(obj5
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 Py_INCREF(Py_None
); resultobj
= Py_None
;
36068 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 wxSizer
*arg1
= (wxSizer
*) 0 ;
36071 PyObject
*arg2
= (PyObject
*) 0 ;
36072 int arg3
= (int) 0 ;
36073 int arg4
= (int) 0 ;
36074 int arg5
= (int) 0 ;
36075 PyObject
*arg6
= (PyObject
*) NULL
;
36076 PyObject
* obj0
= 0 ;
36077 PyObject
* obj1
= 0 ;
36078 PyObject
* obj2
= 0 ;
36079 PyObject
* obj3
= 0 ;
36080 PyObject
* obj4
= 0 ;
36081 PyObject
* obj5
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36091 arg3
= (int)SWIG_As_int(obj2
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36095 arg4
= (int)SWIG_As_int(obj3
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36099 arg5
= (int)SWIG_As_int(obj4
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 Py_INCREF(Py_None
); resultobj
= Py_None
;
36119 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36120 PyObject
*resultobj
;
36121 wxSizer
*arg1
= (wxSizer
*) 0 ;
36122 PyObject
*arg2
= (PyObject
*) 0 ;
36124 PyObject
* obj0
= 0 ;
36125 PyObject
* obj1
= 0 ;
36126 char *kwnames
[] = {
36127 (char *) "self",(char *) "item", NULL
36130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36150 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
;
36152 wxSizer
*arg1
= (wxSizer
*) 0 ;
36153 PyObject
*arg2
= (PyObject
*) 0 ;
36155 PyObject
* obj0
= 0 ;
36156 PyObject
* obj1
= 0 ;
36157 char *kwnames
[] = {
36158 (char *) "self",(char *) "item", NULL
36161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36181 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
;
36183 wxSizer
*arg1
= (wxSizer
*) 0 ;
36184 PyObject
*arg2
= (PyObject
*) 0 ;
36187 PyObject
* obj0
= 0 ;
36188 PyObject
* obj1
= 0 ;
36189 PyObject
* obj2
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self",(char *) "item",(char *) "size", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36200 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 Py_INCREF(Py_None
); resultobj
= Py_None
;
36216 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
;
36218 wxSizer
*arg1
= (wxSizer
*) 0 ;
36219 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36220 PyObject
* obj0
= 0 ;
36221 PyObject
* obj1
= 0 ;
36222 char *kwnames
[] = {
36223 (char *) "self",(char *) "item", NULL
36226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36238 Py_INCREF(Py_None
); resultobj
= Py_None
;
36245 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36246 PyObject
*resultobj
;
36247 wxSizer
*arg1
= (wxSizer
*) 0 ;
36249 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 PyObject
* obj2
= 0 ;
36253 char *kwnames
[] = {
36254 (char *) "self",(char *) "index",(char *) "item", NULL
36257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36260 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36262 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->Insert(arg2
,arg3
);
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 Py_INCREF(Py_None
); resultobj
= Py_None
;
36278 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36279 PyObject
*resultobj
;
36280 wxSizer
*arg1
= (wxSizer
*) 0 ;
36281 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self",(char *) "item", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36295 (arg1
)->Prepend(arg2
);
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 Py_INCREF(Py_None
); resultobj
= Py_None
;
36307 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36309 wxSizer
*arg1
= (wxSizer
*) 0 ;
36314 PyObject
* obj0
= 0 ;
36315 PyObject
* obj1
= 0 ;
36316 PyObject
* obj2
= 0 ;
36317 PyObject
* obj3
= 0 ;
36318 PyObject
* obj4
= 0 ;
36319 char *kwnames
[] = {
36320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36326 arg2
= (int)SWIG_As_int(obj1
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36328 arg3
= (int)SWIG_As_int(obj2
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36330 arg4
= (int)SWIG_As_int(obj3
);
36331 if (PyErr_Occurred()) SWIG_fail
;
36332 arg5
= (int)SWIG_As_int(obj4
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36336 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36338 wxPyEndAllowThreads(__tstate
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36341 Py_INCREF(Py_None
); resultobj
= Py_None
;
36348 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36349 PyObject
*resultobj
;
36350 wxSizer
*arg1
= (wxSizer
*) 0 ;
36353 PyObject
* obj0
= 0 ;
36354 PyObject
* obj1
= 0 ;
36355 char *kwnames
[] = {
36356 (char *) "self",(char *) "size", NULL
36359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 Py_INCREF(Py_None
); resultobj
= Py_None
;
36380 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
;
36382 wxSizer
*arg1
= (wxSizer
*) 0 ;
36384 PyObject
* obj0
= 0 ;
36385 char *kwnames
[] = {
36386 (char *) "self", NULL
36389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36394 result
= (arg1
)->GetSize();
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36400 wxSize
* resultptr
;
36401 resultptr
= new wxSize((wxSize
&) result
);
36402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36410 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
;
36412 wxSizer
*arg1
= (wxSizer
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 char *kwnames
[] = {
36416 (char *) "self", NULL
36419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 result
= (arg1
)->GetPosition();
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36430 wxPoint
* resultptr
;
36431 resultptr
= new wxPoint((wxPoint
&) result
);
36432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36440 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
;
36442 wxSizer
*arg1
= (wxSizer
*) 0 ;
36444 PyObject
* obj0
= 0 ;
36445 char *kwnames
[] = {
36446 (char *) "self", NULL
36449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36454 result
= (arg1
)->GetMinSize();
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36460 wxSize
* resultptr
;
36461 resultptr
= new wxSize((wxSize
&) result
);
36462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36470 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
;
36472 wxSizer
*arg1
= (wxSizer
*) 0 ;
36473 PyObject
* obj0
= 0 ;
36474 char *kwnames
[] = {
36475 (char *) "self", NULL
36478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36483 (arg1
)->RecalcSizes();
36485 wxPyEndAllowThreads(__tstate
);
36486 if (PyErr_Occurred()) SWIG_fail
;
36488 Py_INCREF(Py_None
); resultobj
= Py_None
;
36495 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36496 PyObject
*resultobj
;
36497 wxSizer
*arg1
= (wxSizer
*) 0 ;
36499 PyObject
* obj0
= 0 ;
36500 char *kwnames
[] = {
36501 (char *) "self", NULL
36504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (arg1
)->CalcMin();
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36515 wxSize
* resultptr
;
36516 resultptr
= new wxSize((wxSize
&) result
);
36517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36525 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
;
36527 wxSizer
*arg1
= (wxSizer
*) 0 ;
36528 PyObject
* obj0
= 0 ;
36529 char *kwnames
[] = {
36530 (char *) "self", NULL
36533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 wxPyEndAllowThreads(__tstate
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36543 Py_INCREF(Py_None
); resultobj
= Py_None
;
36550 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36551 PyObject
*resultobj
;
36552 wxSizer
*arg1
= (wxSizer
*) 0 ;
36553 wxWindow
*arg2
= (wxWindow
*) 0 ;
36555 PyObject
* obj0
= 0 ;
36556 PyObject
* obj1
= 0 ;
36557 char *kwnames
[] = {
36558 (char *) "self",(char *) "window", NULL
36561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 result
= (arg1
)->Fit(arg2
);
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36574 wxSize
* resultptr
;
36575 resultptr
= new wxSize((wxSize
&) result
);
36576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36584 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
;
36586 wxSizer
*arg1
= (wxSizer
*) 0 ;
36587 wxWindow
*arg2
= (wxWindow
*) 0 ;
36588 PyObject
* obj0
= 0 ;
36589 PyObject
* obj1
= 0 ;
36590 char *kwnames
[] = {
36591 (char *) "self",(char *) "window", NULL
36594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 (arg1
)->FitInside(arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 Py_INCREF(Py_None
); resultobj
= Py_None
;
36613 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
;
36615 wxSizer
*arg1
= (wxSizer
*) 0 ;
36616 wxWindow
*arg2
= (wxWindow
*) 0 ;
36617 PyObject
* obj0
= 0 ;
36618 PyObject
* obj1
= 0 ;
36619 char *kwnames
[] = {
36620 (char *) "self",(char *) "window", NULL
36623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 (arg1
)->SetSizeHints(arg2
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 Py_INCREF(Py_None
); resultobj
= Py_None
;
36642 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
;
36644 wxSizer
*arg1
= (wxSizer
*) 0 ;
36645 wxWindow
*arg2
= (wxWindow
*) 0 ;
36646 PyObject
* obj0
= 0 ;
36647 PyObject
* obj1
= 0 ;
36648 char *kwnames
[] = {
36649 (char *) "self",(char *) "window", NULL
36652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 (arg1
)->SetVirtualSizeHints(arg2
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36664 Py_INCREF(Py_None
); resultobj
= Py_None
;
36671 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36672 PyObject
*resultobj
;
36673 wxSizer
*arg1
= (wxSizer
*) 0 ;
36674 bool arg2
= (bool) false ;
36675 PyObject
* obj0
= 0 ;
36676 PyObject
* obj1
= 0 ;
36677 char *kwnames
[] = {
36678 (char *) "self",(char *) "deleteWindows", NULL
36681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36685 arg2
= (bool)SWIG_As_bool(obj1
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 (arg1
)->Clear(arg2
);
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 Py_INCREF(Py_None
); resultobj
= Py_None
;
36702 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxSizer
*arg1
= (wxSizer
*) 0 ;
36705 PyObject
* obj0
= 0 ;
36706 char *kwnames
[] = {
36707 (char *) "self", NULL
36710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 (arg1
)->DeleteWindows();
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 Py_INCREF(Py_None
); resultobj
= Py_None
;
36727 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxSizer
*arg1
= (wxSizer
*) 0 ;
36731 PyObject
* obj0
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "self", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36741 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36746 resultobj
= result
;
36753 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36754 PyObject
*resultobj
;
36755 wxSizer
*arg1
= (wxSizer
*) 0 ;
36756 PyObject
*arg2
= (PyObject
*) 0 ;
36757 bool arg3
= (bool) true ;
36758 bool arg4
= (bool) false ;
36760 PyObject
* obj0
= 0 ;
36761 PyObject
* obj1
= 0 ;
36762 PyObject
* obj2
= 0 ;
36763 PyObject
* obj3
= 0 ;
36764 char *kwnames
[] = {
36765 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36773 arg3
= (bool)SWIG_As_bool(obj2
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36777 arg4
= (bool)SWIG_As_bool(obj3
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36784 wxPyEndAllowThreads(__tstate
);
36785 if (PyErr_Occurred()) SWIG_fail
;
36788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36796 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxSizer
*arg1
= (wxSizer
*) 0 ;
36799 PyObject
*arg2
= (PyObject
*) 0 ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self",(char *) "item", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36827 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36828 PyObject
*resultobj
;
36829 wxSizer
*arg1
= (wxSizer
*) 0 ;
36831 PyObject
* obj0
= 0 ;
36832 PyObject
* obj1
= 0 ;
36833 char *kwnames
[] = {
36834 (char *) "self",(char *) "show", NULL
36837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36840 arg2
= (bool)SWIG_As_bool(obj1
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 (arg1
)->ShowItems(arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 Py_INCREF(Py_None
); resultobj
= Py_None
;
36856 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36859 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36861 return Py_BuildValue((char *)"");
36863 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36864 PyObject
*resultobj
;
36866 char *kwnames
[] = {
36870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (wxPySizer
*)new wxPySizer();
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36885 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
;
36887 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36888 PyObject
*arg2
= (PyObject
*) 0 ;
36889 PyObject
*arg3
= (PyObject
*) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 PyObject
* obj2
= 0 ;
36893 char *kwnames
[] = {
36894 (char *) "self",(char *) "self",(char *) "_class", NULL
36897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36909 Py_INCREF(Py_None
); resultobj
= Py_None
;
36916 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36919 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36921 return Py_BuildValue((char *)"");
36923 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 int arg1
= (int) wxHORIZONTAL
;
36926 wxBoxSizer
*result
;
36927 PyObject
* obj0
= 0 ;
36928 char *kwnames
[] = {
36929 (char *) "orient", NULL
36932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36934 arg1
= (int)SWIG_As_int(obj0
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36951 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
;
36953 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36955 PyObject
* obj0
= 0 ;
36956 char *kwnames
[] = {
36957 (char *) "self", NULL
36960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (int)(arg1
)->GetOrientation();
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_From_int((int)result
);
36977 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
;
36979 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "self",(char *) "orient", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36990 arg2
= (int)SWIG_As_int(obj1
);
36991 if (PyErr_Occurred()) SWIG_fail
;
36993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36994 (arg1
)->SetOrientation(arg2
);
36996 wxPyEndAllowThreads(__tstate
);
36997 if (PyErr_Occurred()) SWIG_fail
;
36999 Py_INCREF(Py_None
); resultobj
= Py_None
;
37006 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37009 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37011 return Py_BuildValue((char *)"");
37013 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
;
37015 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37016 int arg2
= (int) wxHORIZONTAL
;
37017 wxStaticBoxSizer
*result
;
37018 PyObject
* obj0
= 0 ;
37019 PyObject
* obj1
= 0 ;
37020 char *kwnames
[] = {
37021 (char *) "box",(char *) "orient", NULL
37024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37028 arg2
= (int)SWIG_As_int(obj1
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37045 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
;
37047 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37048 wxStaticBox
*result
;
37049 PyObject
* obj0
= 0 ;
37050 char *kwnames
[] = {
37051 (char *) "self", NULL
37054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37065 resultobj
= wxPyMake_wxObject(result
, 0);
37073 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37076 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37078 return Py_BuildValue((char *)"");
37080 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
;
37082 int arg1
= (int) 1 ;
37083 int arg2
= (int) 0 ;
37084 int arg3
= (int) 0 ;
37085 int arg4
= (int) 0 ;
37086 wxGridSizer
*result
;
37087 PyObject
* obj0
= 0 ;
37088 PyObject
* obj1
= 0 ;
37089 PyObject
* obj2
= 0 ;
37090 PyObject
* obj3
= 0 ;
37091 char *kwnames
[] = {
37092 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37097 arg1
= (int)SWIG_As_int(obj0
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37101 arg2
= (int)SWIG_As_int(obj1
);
37102 if (PyErr_Occurred()) SWIG_fail
;
37105 arg3
= (int)SWIG_As_int(obj2
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37109 arg4
= (int)SWIG_As_int(obj3
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37114 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37126 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
;
37128 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37130 PyObject
* obj0
= 0 ;
37131 PyObject
* obj1
= 0 ;
37132 char *kwnames
[] = {
37133 (char *) "self",(char *) "cols", NULL
37136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37139 arg2
= (int)SWIG_As_int(obj1
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37143 (arg1
)->SetCols(arg2
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37148 Py_INCREF(Py_None
); resultobj
= Py_None
;
37155 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37156 PyObject
*resultobj
;
37157 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37159 PyObject
* obj0
= 0 ;
37160 PyObject
* obj1
= 0 ;
37161 char *kwnames
[] = {
37162 (char *) "self",(char *) "rows", NULL
37165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37168 arg2
= (int)SWIG_As_int(obj1
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37172 (arg1
)->SetRows(arg2
);
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37177 Py_INCREF(Py_None
); resultobj
= Py_None
;
37184 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
;
37186 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 char *kwnames
[] = {
37191 (char *) "self",(char *) "gap", NULL
37194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37197 arg2
= (int)SWIG_As_int(obj1
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 (arg1
)->SetVGap(arg2
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 Py_INCREF(Py_None
); resultobj
= Py_None
;
37213 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37217 PyObject
* obj0
= 0 ;
37218 PyObject
* obj1
= 0 ;
37219 char *kwnames
[] = {
37220 (char *) "self",(char *) "gap", NULL
37223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37226 arg2
= (int)SWIG_As_int(obj1
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37230 (arg1
)->SetHGap(arg2
);
37232 wxPyEndAllowThreads(__tstate
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37235 Py_INCREF(Py_None
); resultobj
= Py_None
;
37242 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37243 PyObject
*resultobj
;
37244 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37246 PyObject
* obj0
= 0 ;
37247 char *kwnames
[] = {
37248 (char *) "self", NULL
37251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= (int)(arg1
)->GetCols();
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37261 resultobj
= SWIG_From_int((int)result
);
37268 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37269 PyObject
*resultobj
;
37270 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37272 PyObject
* obj0
= 0 ;
37273 char *kwnames
[] = {
37274 (char *) "self", NULL
37277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37282 result
= (int)(arg1
)->GetRows();
37284 wxPyEndAllowThreads(__tstate
);
37285 if (PyErr_Occurred()) SWIG_fail
;
37287 resultobj
= SWIG_From_int((int)result
);
37294 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37295 PyObject
*resultobj
;
37296 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37298 PyObject
* obj0
= 0 ;
37299 char *kwnames
[] = {
37300 (char *) "self", NULL
37303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37308 result
= (int)(arg1
)->GetVGap();
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37313 resultobj
= SWIG_From_int((int)result
);
37320 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
;
37322 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37324 PyObject
* obj0
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "self", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37334 result
= (int)(arg1
)->GetHGap();
37336 wxPyEndAllowThreads(__tstate
);
37337 if (PyErr_Occurred()) SWIG_fail
;
37339 resultobj
= SWIG_From_int((int)result
);
37346 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37349 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37351 return Py_BuildValue((char *)"");
37353 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
;
37355 int arg1
= (int) 1 ;
37356 int arg2
= (int) 0 ;
37357 int arg3
= (int) 0 ;
37358 int arg4
= (int) 0 ;
37359 wxFlexGridSizer
*result
;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 PyObject
* obj2
= 0 ;
37363 PyObject
* obj3
= 0 ;
37364 char *kwnames
[] = {
37365 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37370 arg1
= (int)SWIG_As_int(obj0
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37374 arg2
= (int)SWIG_As_int(obj1
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37378 arg3
= (int)SWIG_As_int(obj2
);
37379 if (PyErr_Occurred()) SWIG_fail
;
37382 arg4
= (int)SWIG_As_int(obj3
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37387 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37389 wxPyEndAllowThreads(__tstate
);
37390 if (PyErr_Occurred()) SWIG_fail
;
37392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37399 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37400 PyObject
*resultobj
;
37401 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37403 int arg3
= (int) 0 ;
37404 PyObject
* obj0
= 0 ;
37405 PyObject
* obj1
= 0 ;
37406 PyObject
* obj2
= 0 ;
37407 char *kwnames
[] = {
37408 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37414 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 arg3
= (int)SWIG_As_int(obj2
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37422 (arg1
)->AddGrowableRow(arg2
,arg3
);
37424 wxPyEndAllowThreads(__tstate
);
37425 if (PyErr_Occurred()) SWIG_fail
;
37427 Py_INCREF(Py_None
); resultobj
= Py_None
;
37434 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37435 PyObject
*resultobj
;
37436 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37438 PyObject
* obj0
= 0 ;
37439 PyObject
* obj1
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self",(char *) "idx", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37447 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37451 (arg1
)->RemoveGrowableRow(arg2
);
37453 wxPyEndAllowThreads(__tstate
);
37454 if (PyErr_Occurred()) SWIG_fail
;
37456 Py_INCREF(Py_None
); resultobj
= Py_None
;
37463 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37464 PyObject
*resultobj
;
37465 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37467 int arg3
= (int) 0 ;
37468 PyObject
* obj0
= 0 ;
37469 PyObject
* obj1
= 0 ;
37470 PyObject
* obj2
= 0 ;
37471 char *kwnames
[] = {
37472 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37478 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 arg3
= (int)SWIG_As_int(obj2
);
37482 if (PyErr_Occurred()) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 (arg1
)->AddGrowableCol(arg2
,arg3
);
37488 wxPyEndAllowThreads(__tstate
);
37489 if (PyErr_Occurred()) SWIG_fail
;
37491 Py_INCREF(Py_None
); resultobj
= Py_None
;
37498 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37499 PyObject
*resultobj
;
37500 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37502 PyObject
* obj0
= 0 ;
37503 PyObject
* obj1
= 0 ;
37504 char *kwnames
[] = {
37505 (char *) "self",(char *) "idx", NULL
37508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37511 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 (arg1
)->RemoveGrowableCol(arg2
);
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37520 Py_INCREF(Py_None
); resultobj
= Py_None
;
37527 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
;
37529 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37531 PyObject
* obj0
= 0 ;
37532 PyObject
* obj1
= 0 ;
37533 char *kwnames
[] = {
37534 (char *) "self",(char *) "direction", NULL
37537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37540 arg2
= (int)SWIG_As_int(obj1
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 (arg1
)->SetFlexibleDirection(arg2
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 Py_INCREF(Py_None
); resultobj
= Py_None
;
37556 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37557 PyObject
*resultobj
;
37558 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37560 PyObject
* obj0
= 0 ;
37561 char *kwnames
[] = {
37562 (char *) "self", NULL
37565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 result
= (int)(arg1
)->GetFlexibleDirection();
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 resultobj
= SWIG_From_int((int)result
);
37582 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
;
37584 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 char *kwnames
[] = {
37589 (char *) "self",(char *) "mode", NULL
37592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37595 arg2
= (int)SWIG_As_int(obj1
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37599 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37601 wxPyEndAllowThreads(__tstate
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37604 Py_INCREF(Py_None
); resultobj
= Py_None
;
37611 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37612 PyObject
*resultobj
;
37613 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37615 PyObject
* obj0
= 0 ;
37616 char *kwnames
[] = {
37617 (char *) "self", NULL
37620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= SWIG_From_int((int)result
);
37637 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37638 PyObject
*resultobj
;
37639 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37640 wxArrayInt
*result
;
37641 PyObject
* obj0
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37652 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37653 result
= (wxArrayInt
*) &_result_ref
;
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37660 resultobj
= PyList_New(0);
37662 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37663 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37664 PyList_Append(resultobj
, val
);
37674 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37677 wxArrayInt
*result
;
37678 PyObject
* obj0
= 0 ;
37679 char *kwnames
[] = {
37680 (char *) "self", NULL
37683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37690 result
= (wxArrayInt
*) &_result_ref
;
37693 wxPyEndAllowThreads(__tstate
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37697 resultobj
= PyList_New(0);
37699 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37700 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37701 PyList_Append(resultobj
, val
);
37711 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37714 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37716 return Py_BuildValue((char *)"");
37718 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37719 PyObject
*resultobj
;
37720 int arg1
= (int) 0 ;
37721 int arg2
= (int) 0 ;
37722 wxGBPosition
*result
;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 char *kwnames
[] = {
37726 (char *) "row",(char *) "col", NULL
37729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37731 arg1
= (int)SWIG_As_int(obj0
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37735 arg2
= (int)SWIG_As_int(obj1
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37752 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37753 PyObject
*resultobj
;
37754 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37756 PyObject
* obj0
= 0 ;
37757 char *kwnames
[] = {
37758 (char *) "self", NULL
37761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37771 resultobj
= SWIG_From_int((int)result
);
37778 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
;
37780 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37782 PyObject
* obj0
= 0 ;
37783 char *kwnames
[] = {
37784 (char *) "self", NULL
37787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_From_int((int)result
);
37804 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
;
37806 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37808 PyObject
* obj0
= 0 ;
37809 PyObject
* obj1
= 0 ;
37810 char *kwnames
[] = {
37811 (char *) "self",(char *) "row", NULL
37814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37817 arg2
= (int)SWIG_As_int(obj1
);
37818 if (PyErr_Occurred()) SWIG_fail
;
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->SetRow(arg2
);
37823 wxPyEndAllowThreads(__tstate
);
37824 if (PyErr_Occurred()) SWIG_fail
;
37826 Py_INCREF(Py_None
); resultobj
= Py_None
;
37833 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
;
37835 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37837 PyObject
* obj0
= 0 ;
37838 PyObject
* obj1
= 0 ;
37839 char *kwnames
[] = {
37840 (char *) "self",(char *) "col", NULL
37843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37846 arg2
= (int)SWIG_As_int(obj1
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37850 (arg1
)->SetCol(arg2
);
37852 wxPyEndAllowThreads(__tstate
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37855 Py_INCREF(Py_None
); resultobj
= Py_None
;
37862 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37863 PyObject
*resultobj
;
37864 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37865 wxGBPosition
*arg2
= 0 ;
37867 wxGBPosition temp2
;
37868 PyObject
* obj0
= 0 ;
37869 PyObject
* obj1
= 0 ;
37870 char *kwnames
[] = {
37871 (char *) "self",(char *) "other", NULL
37874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37879 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37883 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37885 wxPyEndAllowThreads(__tstate
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37897 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37898 PyObject
*resultobj
;
37899 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37900 wxGBPosition
*arg2
= 0 ;
37902 wxGBPosition temp2
;
37903 PyObject
* obj0
= 0 ;
37904 PyObject
* obj1
= 0 ;
37905 char *kwnames
[] = {
37906 (char *) "self",(char *) "other", NULL
37909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37914 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37932 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37933 PyObject
*resultobj
;
37934 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37935 int arg2
= (int) 0 ;
37936 int arg3
= (int) 0 ;
37937 PyObject
* obj0
= 0 ;
37938 PyObject
* obj1
= 0 ;
37939 PyObject
* obj2
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "self",(char *) "row",(char *) "col", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37948 arg2
= (int)SWIG_As_int(obj1
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37952 arg3
= (int)SWIG_As_int(obj2
);
37953 if (PyErr_Occurred()) SWIG_fail
;
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 wxGBPosition_Set(arg1
,arg2
,arg3
);
37959 wxPyEndAllowThreads(__tstate
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37962 Py_INCREF(Py_None
); resultobj
= Py_None
;
37969 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
;
37971 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37973 PyObject
* obj0
= 0 ;
37974 char *kwnames
[] = {
37975 (char *) "self", NULL
37978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37988 resultobj
= result
;
37995 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37998 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38000 return Py_BuildValue((char *)"");
38002 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
;
38004 int arg1
= (int) 1 ;
38005 int arg2
= (int) 1 ;
38007 PyObject
* obj0
= 0 ;
38008 PyObject
* obj1
= 0 ;
38009 char *kwnames
[] = {
38010 (char *) "rowspan",(char *) "colspan", NULL
38013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38015 arg1
= (int)SWIG_As_int(obj0
);
38016 if (PyErr_Occurred()) SWIG_fail
;
38019 arg2
= (int)SWIG_As_int(obj1
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38036 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38040 PyObject
* obj0
= 0 ;
38041 char *kwnames
[] = {
38042 (char *) "self", NULL
38045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38055 resultobj
= SWIG_From_int((int)result
);
38062 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38063 PyObject
*resultobj
;
38064 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38066 PyObject
* obj0
= 0 ;
38067 char *kwnames
[] = {
38068 (char *) "self", NULL
38071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38078 wxPyEndAllowThreads(__tstate
);
38079 if (PyErr_Occurred()) SWIG_fail
;
38081 resultobj
= SWIG_From_int((int)result
);
38088 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38089 PyObject
*resultobj
;
38090 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38092 PyObject
* obj0
= 0 ;
38093 PyObject
* obj1
= 0 ;
38094 char *kwnames
[] = {
38095 (char *) "self",(char *) "rowspan", NULL
38098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38101 arg2
= (int)SWIG_As_int(obj1
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 (arg1
)->SetRowspan(arg2
);
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38110 Py_INCREF(Py_None
); resultobj
= Py_None
;
38117 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38118 PyObject
*resultobj
;
38119 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38121 PyObject
* obj0
= 0 ;
38122 PyObject
* obj1
= 0 ;
38123 char *kwnames
[] = {
38124 (char *) "self",(char *) "colspan", NULL
38127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38130 arg2
= (int)SWIG_As_int(obj1
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38134 (arg1
)->SetColspan(arg2
);
38136 wxPyEndAllowThreads(__tstate
);
38137 if (PyErr_Occurred()) SWIG_fail
;
38139 Py_INCREF(Py_None
); resultobj
= Py_None
;
38146 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
;
38148 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38149 wxGBSpan
*arg2
= 0 ;
38152 PyObject
* obj0
= 0 ;
38153 PyObject
* obj1
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self",(char *) "other", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38163 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38169 wxPyEndAllowThreads(__tstate
);
38170 if (PyErr_Occurred()) SWIG_fail
;
38173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38181 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38182 PyObject
*resultobj
;
38183 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38184 wxGBSpan
*arg2
= 0 ;
38187 PyObject
* obj0
= 0 ;
38188 PyObject
* obj1
= 0 ;
38189 char *kwnames
[] = {
38190 (char *) "self",(char *) "other", NULL
38193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38198 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38204 wxPyEndAllowThreads(__tstate
);
38205 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38216 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
;
38218 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38219 int arg2
= (int) 1 ;
38220 int arg3
= (int) 1 ;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 PyObject
* obj2
= 0 ;
38224 char *kwnames
[] = {
38225 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38232 arg2
= (int)SWIG_As_int(obj1
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38236 arg3
= (int)SWIG_As_int(obj2
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38241 wxGBSpan_Set(arg1
,arg2
,arg3
);
38243 wxPyEndAllowThreads(__tstate
);
38244 if (PyErr_Occurred()) SWIG_fail
;
38246 Py_INCREF(Py_None
); resultobj
= Py_None
;
38253 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38254 PyObject
*resultobj
;
38255 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38257 PyObject
* obj0
= 0 ;
38258 char *kwnames
[] = {
38259 (char *) "self", NULL
38262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 resultobj
= result
;
38279 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38282 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38284 return Py_BuildValue((char *)"");
38286 static int _wrap_DefaultSpan_set(PyObject
*) {
38287 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38292 static PyObject
*_wrap_DefaultSpan_get() {
38295 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38300 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38301 PyObject
*resultobj
;
38302 wxGBSizerItem
*result
;
38303 char *kwnames
[] = {
38307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38322 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
;
38324 wxWindow
*arg1
= (wxWindow
*) 0 ;
38325 wxGBPosition
*arg2
= 0 ;
38326 wxGBSpan
*arg3
= 0 ;
38329 PyObject
*arg6
= (PyObject
*) NULL
;
38330 wxGBSizerItem
*result
;
38331 wxGBPosition temp2
;
38333 PyObject
* obj0
= 0 ;
38334 PyObject
* obj1
= 0 ;
38335 PyObject
* obj2
= 0 ;
38336 PyObject
* obj3
= 0 ;
38337 PyObject
* obj4
= 0 ;
38338 PyObject
* obj5
= 0 ;
38339 char *kwnames
[] = {
38340 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38348 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38352 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38354 arg4
= (int)SWIG_As_int(obj3
);
38355 if (PyErr_Occurred()) SWIG_fail
;
38356 arg5
= (int)SWIG_As_int(obj4
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38365 wxPyEndAllowThreads(__tstate
);
38366 if (PyErr_Occurred()) SWIG_fail
;
38368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38375 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38376 PyObject
*resultobj
;
38377 wxSizer
*arg1
= (wxSizer
*) 0 ;
38378 wxGBPosition
*arg2
= 0 ;
38379 wxGBSpan
*arg3
= 0 ;
38382 PyObject
*arg6
= (PyObject
*) NULL
;
38383 wxGBSizerItem
*result
;
38384 wxGBPosition temp2
;
38386 PyObject
* obj0
= 0 ;
38387 PyObject
* obj1
= 0 ;
38388 PyObject
* obj2
= 0 ;
38389 PyObject
* obj3
= 0 ;
38390 PyObject
* obj4
= 0 ;
38391 PyObject
* obj5
= 0 ;
38392 char *kwnames
[] = {
38393 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38401 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38405 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38407 arg4
= (int)SWIG_As_int(obj3
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38409 arg5
= (int)SWIG_As_int(obj4
);
38410 if (PyErr_Occurred()) SWIG_fail
;
38415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38416 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38418 wxPyEndAllowThreads(__tstate
);
38419 if (PyErr_Occurred()) SWIG_fail
;
38421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38428 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38429 PyObject
*resultobj
;
38432 wxGBPosition
*arg3
= 0 ;
38433 wxGBSpan
*arg4
= 0 ;
38436 PyObject
*arg7
= (PyObject
*) NULL
;
38437 wxGBSizerItem
*result
;
38438 wxGBPosition temp3
;
38440 PyObject
* obj0
= 0 ;
38441 PyObject
* obj1
= 0 ;
38442 PyObject
* obj2
= 0 ;
38443 PyObject
* obj3
= 0 ;
38444 PyObject
* obj4
= 0 ;
38445 PyObject
* obj5
= 0 ;
38446 PyObject
* obj6
= 0 ;
38447 char *kwnames
[] = {
38448 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38452 arg1
= (int)SWIG_As_int(obj0
);
38453 if (PyErr_Occurred()) SWIG_fail
;
38454 arg2
= (int)SWIG_As_int(obj1
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38458 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38462 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38464 arg5
= (int)SWIG_As_int(obj4
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38466 arg6
= (int)SWIG_As_int(obj5
);
38467 if (PyErr_Occurred()) SWIG_fail
;
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38475 wxPyEndAllowThreads(__tstate
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38485 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38486 PyObject
*resultobj
;
38487 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38488 wxGBPosition result
;
38489 PyObject
* obj0
= 0 ;
38490 char *kwnames
[] = {
38491 (char *) "self", NULL
38494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38501 wxPyEndAllowThreads(__tstate
);
38502 if (PyErr_Occurred()) SWIG_fail
;
38505 wxGBPosition
* resultptr
;
38506 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38515 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38516 PyObject
*resultobj
;
38517 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38519 PyObject
* obj0
= 0 ;
38520 char *kwnames
[] = {
38521 (char *) "self", NULL
38524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38535 wxGBSpan
* resultptr
;
38536 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38545 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38546 PyObject
*resultobj
;
38547 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38548 wxGBPosition
*arg2
= 0 ;
38550 wxGBPosition temp2
;
38551 PyObject
* obj0
= 0 ;
38552 PyObject
* obj1
= 0 ;
38553 char *kwnames
[] = {
38554 (char *) "self",(char *) "pos", NULL
38557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38562 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38566 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38580 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38581 PyObject
*resultobj
;
38582 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38583 wxGBSpan
*arg2
= 0 ;
38586 PyObject
* obj0
= 0 ;
38587 PyObject
* obj1
= 0 ;
38588 char *kwnames
[] = {
38589 (char *) "self",(char *) "span", NULL
38592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38597 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38615 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38616 PyObject
*resultobj
;
38617 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38618 wxGBSizerItem
*arg2
= 0 ;
38620 PyObject
* obj0
= 0 ;
38621 PyObject
* obj1
= 0 ;
38622 char *kwnames
[] = {
38623 (char *) "self",(char *) "other", NULL
38626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38632 if (arg2
== NULL
) {
38633 PyErr_SetString(PyExc_TypeError
,"null reference");
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38652 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38653 PyObject
*resultobj
;
38654 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38655 wxGBPosition
*arg2
= 0 ;
38656 wxGBSpan
*arg3
= 0 ;
38658 wxGBPosition temp2
;
38660 PyObject
* obj0
= 0 ;
38661 PyObject
* obj1
= 0 ;
38662 PyObject
* obj2
= 0 ;
38663 char *kwnames
[] = {
38664 (char *) "self",(char *) "pos",(char *) "span", NULL
38667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38672 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38676 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38680 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38682 wxPyEndAllowThreads(__tstate
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38694 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38695 PyObject
*resultobj
;
38696 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38697 wxGBPosition result
;
38698 PyObject
* obj0
= 0 ;
38699 char *kwnames
[] = {
38700 (char *) "self", NULL
38703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= wxGBSizerItem_GetEndPos(arg1
);
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38714 wxGBPosition
* resultptr
;
38715 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38724 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38725 PyObject
*resultobj
;
38726 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38727 wxGridBagSizer
*result
;
38728 PyObject
* obj0
= 0 ;
38729 char *kwnames
[] = {
38730 (char *) "self", NULL
38733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38740 wxPyEndAllowThreads(__tstate
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38750 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38751 PyObject
*resultobj
;
38752 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38753 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38754 PyObject
* obj0
= 0 ;
38755 PyObject
* obj1
= 0 ;
38756 char *kwnames
[] = {
38757 (char *) "self",(char *) "sizer", NULL
38760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38767 (arg1
)->SetGBSizer(arg2
);
38769 wxPyEndAllowThreads(__tstate
);
38770 if (PyErr_Occurred()) SWIG_fail
;
38772 Py_INCREF(Py_None
); resultobj
= Py_None
;
38779 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38782 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38784 return Py_BuildValue((char *)"");
38786 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38787 PyObject
*resultobj
;
38788 int arg1
= (int) 0 ;
38789 int arg2
= (int) 0 ;
38790 wxGridBagSizer
*result
;
38791 PyObject
* obj0
= 0 ;
38792 PyObject
* obj1
= 0 ;
38793 char *kwnames
[] = {
38794 (char *) "vgap",(char *) "hgap", NULL
38797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38799 arg1
= (int)SWIG_As_int(obj0
);
38800 if (PyErr_Occurred()) SWIG_fail
;
38803 arg2
= (int)SWIG_As_int(obj1
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38810 wxPyEndAllowThreads(__tstate
);
38811 if (PyErr_Occurred()) SWIG_fail
;
38813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38820 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
;
38822 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38823 PyObject
*arg2
= (PyObject
*) 0 ;
38824 wxGBPosition
*arg3
= 0 ;
38825 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38826 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38827 int arg5
= (int) 0 ;
38828 int arg6
= (int) 0 ;
38829 PyObject
*arg7
= (PyObject
*) NULL
;
38831 wxGBPosition temp3
;
38833 PyObject
* obj0
= 0 ;
38834 PyObject
* obj1
= 0 ;
38835 PyObject
* obj2
= 0 ;
38836 PyObject
* obj3
= 0 ;
38837 PyObject
* obj4
= 0 ;
38838 PyObject
* obj5
= 0 ;
38839 PyObject
* obj6
= 0 ;
38840 char *kwnames
[] = {
38841 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38850 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38855 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38859 arg5
= (int)SWIG_As_int(obj4
);
38860 if (PyErr_Occurred()) SWIG_fail
;
38863 arg6
= (int)SWIG_As_int(obj5
);
38864 if (PyErr_Occurred()) SWIG_fail
;
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38873 wxPyEndAllowThreads(__tstate
);
38874 if (PyErr_Occurred()) SWIG_fail
;
38877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38885 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38886 PyObject
*resultobj
;
38887 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38888 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38890 PyObject
* obj0
= 0 ;
38891 PyObject
* obj1
= 0 ;
38892 char *kwnames
[] = {
38893 (char *) "self",(char *) "item", NULL
38896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 result
= (bool)(arg1
)->Add(arg2
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38917 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38918 PyObject
*resultobj
;
38919 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38921 PyObject
* obj0
= 0 ;
38922 char *kwnames
[] = {
38923 (char *) "self", NULL
38926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38931 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38933 wxPyEndAllowThreads(__tstate
);
38934 if (PyErr_Occurred()) SWIG_fail
;
38937 wxSize
* resultptr
;
38938 resultptr
= new wxSize((wxSize
&) result
);
38939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38947 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38948 PyObject
*resultobj
;
38949 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38952 PyObject
* obj0
= 0 ;
38953 PyObject
* obj1
= 0 ;
38954 char *kwnames
[] = {
38955 (char *) "self",(char *) "sz", NULL
38958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38963 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38967 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38969 wxPyEndAllowThreads(__tstate
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38972 Py_INCREF(Py_None
); resultobj
= Py_None
;
38979 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38980 PyObject
*resultobj
;
38981 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38982 wxWindow
*arg2
= (wxWindow
*) 0 ;
38983 wxGBPosition result
;
38984 PyObject
* obj0
= 0 ;
38985 PyObject
* obj1
= 0 ;
38987 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38994 result
= (arg1
)->GetItemPosition(arg2
);
38996 wxPyEndAllowThreads(__tstate
);
38997 if (PyErr_Occurred()) SWIG_fail
;
39000 wxGBPosition
* resultptr
;
39001 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39010 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39011 PyObject
*resultobj
;
39012 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39013 wxSizer
*arg2
= (wxSizer
*) 0 ;
39014 wxGBPosition result
;
39015 PyObject
* obj0
= 0 ;
39016 PyObject
* obj1
= 0 ;
39018 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= (arg1
)->GetItemPosition(arg2
);
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39031 wxGBPosition
* resultptr
;
39032 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39041 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39042 PyObject
*resultobj
;
39043 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39045 wxGBPosition result
;
39046 PyObject
* obj0
= 0 ;
39047 PyObject
* obj1
= 0 ;
39049 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39052 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39056 result
= (arg1
)->GetItemPosition(arg2
);
39058 wxPyEndAllowThreads(__tstate
);
39059 if (PyErr_Occurred()) SWIG_fail
;
39062 wxGBPosition
* resultptr
;
39063 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39072 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39077 argc
= PyObject_Length(args
);
39078 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39079 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39085 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39095 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39103 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39111 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39121 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39129 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39137 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39145 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39147 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39152 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39157 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39158 PyObject
*resultobj
;
39159 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39160 wxWindow
*arg2
= (wxWindow
*) 0 ;
39161 wxGBPosition
*arg3
= 0 ;
39163 wxGBPosition temp3
;
39164 PyObject
* obj0
= 0 ;
39165 PyObject
* obj1
= 0 ;
39166 PyObject
* obj2
= 0 ;
39168 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39175 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39193 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39194 PyObject
*resultobj
;
39195 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39196 wxSizer
*arg2
= (wxSizer
*) 0 ;
39197 wxGBPosition
*arg3
= 0 ;
39199 wxGBPosition temp3
;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 PyObject
* obj2
= 0 ;
39204 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39211 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39215 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39217 wxPyEndAllowThreads(__tstate
);
39218 if (PyErr_Occurred()) SWIG_fail
;
39221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39229 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39230 PyObject
*resultobj
;
39231 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39233 wxGBPosition
*arg3
= 0 ;
39235 wxGBPosition temp3
;
39236 PyObject
* obj0
= 0 ;
39237 PyObject
* obj1
= 0 ;
39238 PyObject
* obj2
= 0 ;
39240 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39243 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39247 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39265 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39270 argc
= PyObject_Length(args
);
39271 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39272 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39278 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39288 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39297 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39300 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39309 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39319 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39328 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39331 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39340 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39348 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39351 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39354 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39360 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39365 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39366 PyObject
*resultobj
;
39367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39368 wxWindow
*arg2
= (wxWindow
*) 0 ;
39370 PyObject
* obj0
= 0 ;
39371 PyObject
* obj1
= 0 ;
39373 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39380 result
= (arg1
)->GetItemSpan(arg2
);
39382 wxPyEndAllowThreads(__tstate
);
39383 if (PyErr_Occurred()) SWIG_fail
;
39386 wxGBSpan
* resultptr
;
39387 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39396 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39397 PyObject
*resultobj
;
39398 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39399 wxSizer
*arg2
= (wxSizer
*) 0 ;
39401 PyObject
* obj0
= 0 ;
39402 PyObject
* obj1
= 0 ;
39404 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39411 result
= (arg1
)->GetItemSpan(arg2
);
39413 wxPyEndAllowThreads(__tstate
);
39414 if (PyErr_Occurred()) SWIG_fail
;
39417 wxGBSpan
* resultptr
;
39418 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39427 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39428 PyObject
*resultobj
;
39429 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39432 PyObject
* obj0
= 0 ;
39433 PyObject
* obj1
= 0 ;
39435 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39438 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39442 result
= (arg1
)->GetItemSpan(arg2
);
39444 wxPyEndAllowThreads(__tstate
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39448 wxGBSpan
* resultptr
;
39449 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39458 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39463 argc
= PyObject_Length(args
);
39464 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39465 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39489 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39507 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39515 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39523 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39531 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39533 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39543 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39544 PyObject
*resultobj
;
39545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39546 wxWindow
*arg2
= (wxWindow
*) 0 ;
39547 wxGBSpan
*arg3
= 0 ;
39550 PyObject
* obj0
= 0 ;
39551 PyObject
* obj1
= 0 ;
39552 PyObject
* obj2
= 0 ;
39554 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39561 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39565 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39567 wxPyEndAllowThreads(__tstate
);
39568 if (PyErr_Occurred()) SWIG_fail
;
39571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39579 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39580 PyObject
*resultobj
;
39581 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39582 wxSizer
*arg2
= (wxSizer
*) 0 ;
39583 wxGBSpan
*arg3
= 0 ;
39586 PyObject
* obj0
= 0 ;
39587 PyObject
* obj1
= 0 ;
39588 PyObject
* obj2
= 0 ;
39590 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39597 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39601 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39615 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39616 PyObject
*resultobj
;
39617 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39619 wxGBSpan
*arg3
= 0 ;
39622 PyObject
* obj0
= 0 ;
39623 PyObject
* obj1
= 0 ;
39624 PyObject
* obj2
= 0 ;
39626 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39629 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39633 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39637 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39651 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39656 argc
= PyObject_Length(args
);
39657 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39658 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39664 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39674 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39683 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39686 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39695 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39705 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39714 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39717 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39734 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39737 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39740 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39746 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39751 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39752 PyObject
*resultobj
;
39753 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39754 wxWindow
*arg2
= (wxWindow
*) 0 ;
39755 wxGBSizerItem
*result
;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39759 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39766 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39768 wxPyEndAllowThreads(__tstate
);
39769 if (PyErr_Occurred()) SWIG_fail
;
39771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39778 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39779 PyObject
*resultobj
;
39780 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39781 wxSizer
*arg2
= (wxSizer
*) 0 ;
39782 wxGBSizerItem
*result
;
39783 PyObject
* obj0
= 0 ;
39784 PyObject
* obj1
= 0 ;
39786 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39793 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39795 wxPyEndAllowThreads(__tstate
);
39796 if (PyErr_Occurred()) SWIG_fail
;
39798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39805 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39810 argc
= PyObject_Length(args
);
39811 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39812 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39828 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39836 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39844 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39854 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39862 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39867 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39872 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39873 PyObject
*resultobj
;
39874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39875 wxGBPosition
*arg2
= 0 ;
39876 wxGBSizerItem
*result
;
39877 wxGBPosition temp2
;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self",(char *) "pos", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39889 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39893 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39895 wxPyEndAllowThreads(__tstate
);
39896 if (PyErr_Occurred()) SWIG_fail
;
39898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39905 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39906 PyObject
*resultobj
;
39907 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39908 wxPoint
*arg2
= 0 ;
39909 wxGBSizerItem
*result
;
39911 PyObject
* obj0
= 0 ;
39912 PyObject
* obj1
= 0 ;
39913 char *kwnames
[] = {
39914 (char *) "self",(char *) "pt", NULL
39917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39928 wxPyEndAllowThreads(__tstate
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39938 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39939 PyObject
*resultobj
;
39940 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39941 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39942 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39944 PyObject
* obj0
= 0 ;
39945 PyObject
* obj1
= 0 ;
39946 PyObject
* obj2
= 0 ;
39947 char *kwnames
[] = {
39948 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39957 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39962 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39964 wxPyEndAllowThreads(__tstate
);
39965 if (PyErr_Occurred()) SWIG_fail
;
39968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39976 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
;
39978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39979 wxGBPosition
*arg2
= 0 ;
39980 wxGBSpan
*arg3
= 0 ;
39981 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39983 wxGBPosition temp2
;
39985 PyObject
* obj0
= 0 ;
39986 PyObject
* obj1
= 0 ;
39987 PyObject
* obj2
= 0 ;
39988 PyObject
* obj3
= 0 ;
39989 char *kwnames
[] = {
39990 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39998 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40002 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40005 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40010 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40024 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40027 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40029 return Py_BuildValue((char *)"");
40031 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40032 PyObject
*resultobj
;
40033 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40035 wxWindow
*arg3
= (wxWindow
*) 0 ;
40037 int arg5
= (int) 0 ;
40038 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40039 PyObject
* obj0
= 0 ;
40040 PyObject
* obj1
= 0 ;
40041 PyObject
* obj2
= 0 ;
40042 PyObject
* obj3
= 0 ;
40043 PyObject
* obj4
= 0 ;
40044 PyObject
* obj5
= 0 ;
40045 char *kwnames
[] = {
40046 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40052 arg2
= (int)SWIG_As_int(obj1
);
40053 if (PyErr_Occurred()) SWIG_fail
;
40054 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40056 arg4
= (int)SWIG_As_int(obj3
);
40057 if (PyErr_Occurred()) SWIG_fail
;
40059 arg5
= (int)SWIG_As_int(obj4
);
40060 if (PyErr_Occurred()) SWIG_fail
;
40063 arg6
= (int)SWIG_As_int(obj5
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40068 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40070 wxPyEndAllowThreads(__tstate
);
40071 if (PyErr_Occurred()) SWIG_fail
;
40073 Py_INCREF(Py_None
); resultobj
= Py_None
;
40080 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40081 PyObject
*resultobj
;
40082 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40083 wxWindow
*arg2
= (wxWindow
*) 0 ;
40084 int arg3
= (int) 0 ;
40085 PyObject
* obj0
= 0 ;
40086 PyObject
* obj1
= 0 ;
40087 PyObject
* obj2
= 0 ;
40088 char *kwnames
[] = {
40089 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40098 arg3
= (int)SWIG_As_int(obj2
);
40099 if (PyErr_Occurred()) SWIG_fail
;
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 (arg1
)->LeftOf(arg2
,arg3
);
40105 wxPyEndAllowThreads(__tstate
);
40106 if (PyErr_Occurred()) SWIG_fail
;
40108 Py_INCREF(Py_None
); resultobj
= Py_None
;
40115 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40116 PyObject
*resultobj
;
40117 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40118 wxWindow
*arg2
= (wxWindow
*) 0 ;
40119 int arg3
= (int) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 PyObject
* obj2
= 0 ;
40123 char *kwnames
[] = {
40124 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40133 arg3
= (int)SWIG_As_int(obj2
);
40134 if (PyErr_Occurred()) SWIG_fail
;
40137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40138 (arg1
)->RightOf(arg2
,arg3
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40143 Py_INCREF(Py_None
); resultobj
= Py_None
;
40150 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40151 PyObject
*resultobj
;
40152 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40153 wxWindow
*arg2
= (wxWindow
*) 0 ;
40154 int arg3
= (int) 0 ;
40155 PyObject
* obj0
= 0 ;
40156 PyObject
* obj1
= 0 ;
40157 PyObject
* obj2
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40168 arg3
= (int)SWIG_As_int(obj2
);
40169 if (PyErr_Occurred()) SWIG_fail
;
40172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40173 (arg1
)->Above(arg2
,arg3
);
40175 wxPyEndAllowThreads(__tstate
);
40176 if (PyErr_Occurred()) SWIG_fail
;
40178 Py_INCREF(Py_None
); resultobj
= Py_None
;
40185 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40186 PyObject
*resultobj
;
40187 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40188 wxWindow
*arg2
= (wxWindow
*) 0 ;
40189 int arg3
= (int) 0 ;
40190 PyObject
* obj0
= 0 ;
40191 PyObject
* obj1
= 0 ;
40192 PyObject
* obj2
= 0 ;
40193 char *kwnames
[] = {
40194 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40203 arg3
= (int)SWIG_As_int(obj2
);
40204 if (PyErr_Occurred()) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 (arg1
)->Below(arg2
,arg3
);
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 Py_INCREF(Py_None
); resultobj
= Py_None
;
40220 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40223 wxWindow
*arg2
= (wxWindow
*) 0 ;
40225 int arg4
= (int) 0 ;
40226 PyObject
* obj0
= 0 ;
40227 PyObject
* obj1
= 0 ;
40228 PyObject
* obj2
= 0 ;
40229 PyObject
* obj3
= 0 ;
40230 char *kwnames
[] = {
40231 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40239 arg3
= (int)SWIG_As_int(obj2
);
40240 if (PyErr_Occurred()) SWIG_fail
;
40242 arg4
= (int)SWIG_As_int(obj3
);
40243 if (PyErr_Occurred()) SWIG_fail
;
40246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40247 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40252 Py_INCREF(Py_None
); resultobj
= Py_None
;
40259 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40260 PyObject
*resultobj
;
40261 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40262 wxWindow
*arg2
= (wxWindow
*) 0 ;
40265 PyObject
* obj0
= 0 ;
40266 PyObject
* obj1
= 0 ;
40267 PyObject
* obj2
= 0 ;
40268 PyObject
* obj3
= 0 ;
40269 char *kwnames
[] = {
40270 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 arg3
= (int)SWIG_As_int(obj2
);
40279 if (PyErr_Occurred()) SWIG_fail
;
40280 arg4
= (int)SWIG_As_int(obj3
);
40281 if (PyErr_Occurred()) SWIG_fail
;
40283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40284 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40286 wxPyEndAllowThreads(__tstate
);
40287 if (PyErr_Occurred()) SWIG_fail
;
40289 Py_INCREF(Py_None
); resultobj
= Py_None
;
40296 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
;
40298 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 char *kwnames
[] = {
40303 (char *) "self",(char *) "val", NULL
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40309 arg2
= (int)SWIG_As_int(obj1
);
40310 if (PyErr_Occurred()) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 (arg1
)->Absolute(arg2
);
40315 wxPyEndAllowThreads(__tstate
);
40316 if (PyErr_Occurred()) SWIG_fail
;
40318 Py_INCREF(Py_None
); resultobj
= Py_None
;
40325 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40328 PyObject
* obj0
= 0 ;
40329 char *kwnames
[] = {
40330 (char *) "self", NULL
40333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 (arg1
)->Unconstrained();
40340 wxPyEndAllowThreads(__tstate
);
40341 if (PyErr_Occurred()) SWIG_fail
;
40343 Py_INCREF(Py_None
); resultobj
= Py_None
;
40350 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
;
40352 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40353 PyObject
* obj0
= 0 ;
40354 char *kwnames
[] = {
40355 (char *) "self", NULL
40358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40365 wxPyEndAllowThreads(__tstate
);
40366 if (PyErr_Occurred()) SWIG_fail
;
40368 Py_INCREF(Py_None
); resultobj
= Py_None
;
40375 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
;
40377 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40379 PyObject
* obj0
= 0 ;
40380 char *kwnames
[] = {
40381 (char *) "self", NULL
40384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40395 resultobj
= wxPyMake_wxObject(result
, 0);
40403 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
;
40405 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40407 PyObject
* obj0
= 0 ;
40408 char *kwnames
[] = {
40409 (char *) "self", NULL
40412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40422 resultobj
= SWIG_From_int((int)result
);
40429 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
;
40431 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40433 PyObject
* obj0
= 0 ;
40434 PyObject
* obj1
= 0 ;
40435 char *kwnames
[] = {
40436 (char *) "self",(char *) "which", NULL
40439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40442 arg2
= (int)SWIG_As_int(obj1
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40446 (arg1
)->SetEdge((wxEdge
)arg2
);
40448 wxPyEndAllowThreads(__tstate
);
40449 if (PyErr_Occurred()) SWIG_fail
;
40451 Py_INCREF(Py_None
); resultobj
= Py_None
;
40458 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40459 PyObject
*resultobj
;
40460 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 char *kwnames
[] = {
40465 (char *) "self",(char *) "v", NULL
40468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40471 arg2
= (int)SWIG_As_int(obj1
);
40472 if (PyErr_Occurred()) SWIG_fail
;
40474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40475 (arg1
)->SetValue(arg2
);
40477 wxPyEndAllowThreads(__tstate
);
40478 if (PyErr_Occurred()) SWIG_fail
;
40480 Py_INCREF(Py_None
); resultobj
= Py_None
;
40487 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40488 PyObject
*resultobj
;
40489 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40491 PyObject
* obj0
= 0 ;
40492 char *kwnames
[] = {
40493 (char *) "self", NULL
40496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 result
= (int)(arg1
)->GetMargin();
40503 wxPyEndAllowThreads(__tstate
);
40504 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= SWIG_From_int((int)result
);
40513 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40517 PyObject
* obj0
= 0 ;
40518 PyObject
* obj1
= 0 ;
40519 char *kwnames
[] = {
40520 (char *) "self",(char *) "m", NULL
40523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40526 arg2
= (int)SWIG_As_int(obj1
);
40527 if (PyErr_Occurred()) SWIG_fail
;
40529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40530 (arg1
)->SetMargin(arg2
);
40532 wxPyEndAllowThreads(__tstate
);
40533 if (PyErr_Occurred()) SWIG_fail
;
40535 Py_INCREF(Py_None
); resultobj
= Py_None
;
40542 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40543 PyObject
*resultobj
;
40544 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40546 PyObject
* obj0
= 0 ;
40547 char *kwnames
[] = {
40548 (char *) "self", NULL
40551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40556 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40558 wxPyEndAllowThreads(__tstate
);
40559 if (PyErr_Occurred()) SWIG_fail
;
40561 resultobj
= SWIG_From_int((int)result
);
40568 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40569 PyObject
*resultobj
;
40570 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40572 PyObject
* obj0
= 0 ;
40573 char *kwnames
[] = {
40574 (char *) "self", NULL
40577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= SWIG_From_int((int)result
);
40594 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
;
40596 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40598 PyObject
* obj0
= 0 ;
40599 char *kwnames
[] = {
40600 (char *) "self", NULL
40603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40608 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40610 wxPyEndAllowThreads(__tstate
);
40611 if (PyErr_Occurred()) SWIG_fail
;
40613 resultobj
= SWIG_From_int((int)result
);
40620 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40621 PyObject
*resultobj
;
40622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40624 PyObject
* obj0
= 0 ;
40625 char *kwnames
[] = {
40626 (char *) "self", NULL
40629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40634 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40636 wxPyEndAllowThreads(__tstate
);
40637 if (PyErr_Occurred()) SWIG_fail
;
40640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40648 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40649 PyObject
*resultobj
;
40650 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40652 PyObject
* obj0
= 0 ;
40653 PyObject
* obj1
= 0 ;
40654 char *kwnames
[] = {
40655 (char *) "self",(char *) "d", NULL
40658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40661 arg2
= (bool)SWIG_As_bool(obj1
);
40662 if (PyErr_Occurred()) SWIG_fail
;
40664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40665 (arg1
)->SetDone(arg2
);
40667 wxPyEndAllowThreads(__tstate
);
40668 if (PyErr_Occurred()) SWIG_fail
;
40670 Py_INCREF(Py_None
); resultobj
= Py_None
;
40677 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40678 PyObject
*resultobj
;
40679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40681 PyObject
* obj0
= 0 ;
40682 char *kwnames
[] = {
40683 (char *) "self", NULL
40686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 result
= (int)(arg1
)->GetRelationship();
40693 wxPyEndAllowThreads(__tstate
);
40694 if (PyErr_Occurred()) SWIG_fail
;
40696 resultobj
= SWIG_From_int((int)result
);
40703 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40704 PyObject
*resultobj
;
40705 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40707 PyObject
* obj0
= 0 ;
40708 PyObject
* obj1
= 0 ;
40709 char *kwnames
[] = {
40710 (char *) "self",(char *) "r", NULL
40713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40716 arg2
= (int)SWIG_As_int(obj1
);
40717 if (PyErr_Occurred()) SWIG_fail
;
40719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40720 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40722 wxPyEndAllowThreads(__tstate
);
40723 if (PyErr_Occurred()) SWIG_fail
;
40725 Py_INCREF(Py_None
); resultobj
= Py_None
;
40732 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40733 PyObject
*resultobj
;
40734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40735 wxWindow
*arg2
= (wxWindow
*) 0 ;
40737 PyObject
* obj0
= 0 ;
40738 PyObject
* obj1
= 0 ;
40739 char *kwnames
[] = {
40740 (char *) "self",(char *) "otherW", NULL
40743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40750 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40752 wxPyEndAllowThreads(__tstate
);
40753 if (PyErr_Occurred()) SWIG_fail
;
40756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40764 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40765 PyObject
*resultobj
;
40766 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40767 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40768 wxWindow
*arg3
= (wxWindow
*) 0 ;
40770 PyObject
* obj0
= 0 ;
40771 PyObject
* obj1
= 0 ;
40772 PyObject
* obj2
= 0 ;
40773 char *kwnames
[] = {
40774 (char *) "self",(char *) "constraints",(char *) "win", NULL
40777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40782 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40788 wxPyEndAllowThreads(__tstate
);
40789 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40800 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40801 PyObject
*resultobj
;
40802 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40804 wxWindow
*arg3
= (wxWindow
*) 0 ;
40805 wxWindow
*arg4
= (wxWindow
*) 0 ;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 PyObject
* obj2
= 0 ;
40810 PyObject
* obj3
= 0 ;
40811 char *kwnames
[] = {
40812 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40818 arg2
= (int)SWIG_As_int(obj1
);
40819 if (PyErr_Occurred()) SWIG_fail
;
40820 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40822 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40826 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40828 wxPyEndAllowThreads(__tstate
);
40829 if (PyErr_Occurred()) SWIG_fail
;
40831 resultobj
= SWIG_From_int((int)result
);
40838 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40841 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40843 return Py_BuildValue((char *)"");
40845 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40846 PyObject
*resultobj
;
40847 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40848 wxIndividualLayoutConstraint
*result
;
40849 PyObject
* obj0
= 0 ;
40850 char *kwnames
[] = {
40851 (char *) "self", NULL
40854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40857 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40866 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40867 PyObject
*resultobj
;
40868 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40869 wxIndividualLayoutConstraint
*result
;
40870 PyObject
* obj0
= 0 ;
40871 char *kwnames
[] = {
40872 (char *) "self", NULL
40875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40878 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40887 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40888 PyObject
*resultobj
;
40889 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40890 wxIndividualLayoutConstraint
*result
;
40891 PyObject
* obj0
= 0 ;
40892 char *kwnames
[] = {
40893 (char *) "self", NULL
40896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40899 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40908 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40909 PyObject
*resultobj
;
40910 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40911 wxIndividualLayoutConstraint
*result
;
40912 PyObject
* obj0
= 0 ;
40913 char *kwnames
[] = {
40914 (char *) "self", NULL
40917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40920 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40929 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40930 PyObject
*resultobj
;
40931 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40932 wxIndividualLayoutConstraint
*result
;
40933 PyObject
* obj0
= 0 ;
40934 char *kwnames
[] = {
40935 (char *) "self", NULL
40938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40941 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40950 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40951 PyObject
*resultobj
;
40952 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40953 wxIndividualLayoutConstraint
*result
;
40954 PyObject
* obj0
= 0 ;
40955 char *kwnames
[] = {
40956 (char *) "self", NULL
40959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40962 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40971 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40972 PyObject
*resultobj
;
40973 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40974 wxIndividualLayoutConstraint
*result
;
40975 PyObject
* obj0
= 0 ;
40976 char *kwnames
[] = {
40977 (char *) "self", NULL
40980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40983 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40992 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40993 PyObject
*resultobj
;
40994 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40995 wxIndividualLayoutConstraint
*result
;
40996 PyObject
* obj0
= 0 ;
40997 char *kwnames
[] = {
40998 (char *) "self", NULL
41001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41004 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41013 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41014 PyObject
*resultobj
;
41015 wxLayoutConstraints
*result
;
41016 char *kwnames
[] = {
41020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41023 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41025 wxPyEndAllowThreads(__tstate
);
41026 if (PyErr_Occurred()) SWIG_fail
;
41028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41035 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41036 PyObject
*resultobj
;
41037 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41038 wxWindow
*arg2
= (wxWindow
*) 0 ;
41039 int *arg3
= (int *) 0 ;
41043 PyObject
* obj0
= 0 ;
41044 PyObject
* obj1
= 0 ;
41045 char *kwnames
[] = {
41046 (char *) "self",(char *) "win", NULL
41049 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41057 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41059 wxPyEndAllowThreads(__tstate
);
41060 if (PyErr_Occurred()) SWIG_fail
;
41063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41065 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41066 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41073 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41074 PyObject
*resultobj
;
41075 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41077 PyObject
* obj0
= 0 ;
41078 char *kwnames
[] = {
41079 (char *) "self", NULL
41082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41089 wxPyEndAllowThreads(__tstate
);
41090 if (PyErr_Occurred()) SWIG_fail
;
41093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41101 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41104 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41106 return Py_BuildValue((char *)"");
41108 static PyMethodDef SwigMethods
[] = {
41109 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41110 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41111 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41114 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41148 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41214 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41242 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41260 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41262 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41270 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41271 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41283 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41295 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41299 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41305 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41315 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41325 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41329 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41401 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41403 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41405 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41407 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41409 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41411 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41413 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41415 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41417 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41419 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41421 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41423 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41425 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41439 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41457 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41460 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41463 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41475 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41480 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41486 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41492 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41555 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41562 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41598 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41608 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41618 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41620 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41622 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41625 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41629 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41632 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41635 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41637 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41642 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41650 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41654 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41657 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41659 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41663 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41680 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41682 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41685 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41687 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41691 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41695 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41704 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41707 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41710 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41714 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41721 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41726 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41731 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41775 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41793 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41800 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41804 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41814 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41983 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42025 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42039 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42042 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42097 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42124 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42168 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42176 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42193 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42194 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42230 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42259 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42262 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42266 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42269 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42279 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42291 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42301 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42311 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42325 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42331 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42332 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42333 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42334 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42335 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42340 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42367 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42379 { NULL
, NULL
, 0, NULL
}
42383 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42385 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42386 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42388 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42389 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42391 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42392 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42394 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42395 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42397 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42398 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42400 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42401 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42403 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42404 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42406 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42407 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42409 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42410 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42412 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42413 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42415 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42416 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42418 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42419 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42421 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42422 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42424 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42425 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42427 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42428 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42430 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42431 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42433 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42434 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42436 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42439 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42440 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42442 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42445 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42446 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42448 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42449 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42451 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42452 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42454 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42455 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42457 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42458 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42460 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42461 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42463 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42464 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42466 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42467 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42469 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42472 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42473 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42475 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42476 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42478 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42479 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42481 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42482 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42484 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42485 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42487 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42488 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42490 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42493 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42494 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42496 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42497 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42499 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42500 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42502 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42505 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42506 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42508 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42509 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42511 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42512 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42514 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42515 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42517 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42518 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42520 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42521 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42523 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42524 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42526 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42527 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42529 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42530 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42532 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42533 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42535 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42538 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42539 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42541 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42542 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42544 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42545 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42547 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42548 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42550 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42551 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42553 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42554 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42556 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42557 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42559 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42560 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42562 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42563 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42565 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42566 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42568 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42569 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42571 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42572 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42574 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42575 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42577 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42578 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42580 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42581 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42583 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42584 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42586 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42587 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42589 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42590 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42592 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42593 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42595 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42596 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42598 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42599 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42601 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42602 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42604 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42605 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42607 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42608 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42610 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42611 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42613 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42614 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42616 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42617 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42619 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42620 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42625 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42626 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42628 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42629 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42631 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42632 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42634 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42635 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42637 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42640 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42643 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42644 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42646 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42647 return (void *)((wxObject
*) ((wxSizer
*) x
));
42649 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42650 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42652 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42653 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42655 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42656 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42658 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42659 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42661 static void *_p_wxImageTo_p_wxObject(void *x
) {
42662 return (void *)((wxObject
*) ((wxImage
*) x
));
42664 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42667 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42670 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42671 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42673 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42676 static void *_p_wxControlTo_p_wxObject(void *x
) {
42677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42679 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42680 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42682 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42683 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42685 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42686 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42688 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42689 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42691 static void *_p_wxEventTo_p_wxObject(void *x
) {
42692 return (void *)((wxObject
*) ((wxEvent
*) x
));
42694 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42695 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42697 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42698 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42700 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42701 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42703 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42704 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42706 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42707 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42709 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42710 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42712 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42715 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42716 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42718 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42721 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42722 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42724 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42727 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42728 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42730 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42733 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42734 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42736 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42737 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42739 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42740 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42742 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42745 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42748 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42751 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42754 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42757 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42760 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42761 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42763 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42764 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42766 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42769 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42770 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42772 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42773 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42775 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42776 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42778 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42779 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42781 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42782 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42784 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42785 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42787 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42790 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42791 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42793 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42794 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42796 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42797 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42799 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42800 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42802 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42803 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42805 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42806 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42808 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42809 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42811 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42814 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42815 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42817 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42818 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42820 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42823 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42824 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42826 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42827 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42829 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42830 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42832 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42833 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42835 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42836 return (void *)((wxWindow
*) ((wxControl
*) x
));
42838 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42839 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42841 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42842 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42844 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42845 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42847 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42848 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42850 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42851 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42853 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42854 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42856 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42857 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42859 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42860 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42862 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42863 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42865 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42866 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42868 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42869 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42871 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}};
42872 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}};
42873 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}};
42874 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}};
42875 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}};
42876 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}};
42877 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}};
42878 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}};
42879 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}};
42880 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}};
42881 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}};
42882 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}};
42883 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}};
42884 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}};
42885 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}};
42886 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}};
42887 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}};
42888 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}};
42889 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}};
42890 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}};
42891 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}};
42892 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}};
42893 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}};
42894 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}};
42895 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}};
42896 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}};
42897 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}};
42898 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}};
42899 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}};
42900 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}};
42901 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}};
42902 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}};
42903 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}};
42904 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}};
42905 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}};
42906 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}};
42907 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}};
42908 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}};
42909 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}};
42910 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}};
42911 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}};
42912 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}};
42913 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}};
42914 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}};
42915 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}};
42916 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}};
42917 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}};
42918 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}};
42919 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}};
42920 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}};
42921 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}};
42922 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}};
42923 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}};
42924 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}};
42925 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}};
42926 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}};
42927 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}};
42928 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}};
42929 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}};
42930 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}};
42931 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}};
42932 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}};
42933 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}};
42934 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}};
42935 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}};
42936 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}};
42937 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}};
42938 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}};
42939 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}};
42940 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}};
42941 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}};
42942 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}};
42943 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}};
42944 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}};
42945 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}};
42946 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}};
42947 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}};
42948 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}};
42949 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}};
42950 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}};
42951 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}};
42952 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}};
42953 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}};
42954 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}};
42955 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}};
42956 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}};
42957 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}};
42958 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}};
42959 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}};
42960 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}};
42961 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}};
42962 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}};
42963 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}};
42964 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}};
42965 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}};
42966 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}};
42967 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}};
42968 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}};
42969 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}};
42970 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}};
42971 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}};
42972 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}};
42973 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}};
42974 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}};
42975 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}};
42976 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}};
42977 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}};
42978 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}};
42979 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}};
42980 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}};
42981 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}};
42982 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}};
42983 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}};
42984 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}};
42985 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}};
42986 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}};
42987 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}};
42989 static swig_type_info
*swig_types_initial
[] = {
42990 _swigt__p_wxLayoutConstraints
,
42991 _swigt__p_wxRealPoint
,
42992 _swigt__p_wxSizerItem
,
42993 _swigt__p_wxGBSizerItem
,
42994 _swigt__p_wxScrollEvent
,
42995 _swigt__p_wxEventLoop
,
42996 _swigt__p_wxIndividualLayoutConstraint
,
42998 _swigt__p_wxBoxSizer
,
42999 _swigt__p_wxStaticBoxSizer
,
43000 _swigt__p_wxGridBagSizer
,
43001 _swigt__p_wxAcceleratorEntry
,
43002 _swigt__p_wxUpdateUIEvent
,
43005 _swigt__p_wxGridSizer
,
43006 _swigt__p_wxFlexGridSizer
,
43007 _swigt__p_wxInitDialogEvent
,
43008 _swigt__p_wxItemContainer
,
43009 _swigt__p_wxNcPaintEvent
,
43010 _swigt__p_wxPaintEvent
,
43011 _swigt__p_wxSysColourChangedEvent
,
43012 _swigt__p_wxMouseCaptureChangedEvent
,
43013 _swigt__p_wxDisplayChangedEvent
,
43014 _swigt__p_wxPaletteChangedEvent
,
43015 _swigt__p_wxControl
,
43017 _swigt__p_wxMenuBarBase
,
43018 _swigt__p_wxSetCursorEvent
,
43019 _swigt__p_wxFSFile
,
43021 _swigt__p_wxRegion
,
43022 _swigt__p_wxPoint2D
,
43026 _swigt__p_wxPySizer
,
43027 _swigt__p_wxVisualAttributes
,
43028 _swigt__p_wxNotifyEvent
,
43029 _swigt__p_wxPyEvent
,
43030 _swigt__p_wxPropagationDisabler
,
43031 _swigt__p_wxAppTraits
,
43032 _swigt__p_wxArrayString
,
43033 _swigt__p_wxShowEvent
,
43034 _swigt__p_wxToolTip
,
43035 _swigt__p_wxIconizeEvent
,
43036 _swigt__p_wxActivateEvent
,
43037 _swigt__p_wxMoveEvent
,
43038 _swigt__p_wxSizeEvent
,
43039 _swigt__p_wxMaximizeEvent
,
43040 _swigt__p_wxQueryNewPaletteEvent
,
43041 _swigt__p_wxWindowCreateEvent
,
43042 _swigt__p_wxIdleEvent
,
43043 _swigt__p_wxMenuItem
,
43044 _swigt__p_wxStaticBox
,
43046 _swigt__p_wxTIFFHandler
,
43047 _swigt__p_wxXPMHandler
,
43048 _swigt__p_wxPNMHandler
,
43049 _swigt__p_wxJPEGHandler
,
43050 _swigt__p_wxPCXHandler
,
43051 _swigt__p_wxGIFHandler
,
43052 _swigt__p_wxPNGHandler
,
43053 _swigt__p_wxANIHandler
,
43054 _swigt__p_wxMemoryFSHandler
,
43055 _swigt__p_wxEvtHandler
,
43056 _swigt__p_wxCURHandler
,
43057 _swigt__p_wxICOHandler
,
43058 _swigt__p_wxBMPHandler
,
43059 _swigt__p_wxImageHandler
,
43060 _swigt__p_wxFileSystemHandler
,
43061 _swigt__p_wxPyFileSystemHandler
,
43062 _swigt__p_wxInternetFSHandler
,
43063 _swigt__p_wxZipFSHandler
,
43065 _swigt__p_wxGBSpan
,
43066 _swigt__p_wxPropagateOnce
,
43067 _swigt__p_wxAcceleratorTable
,
43069 _swigt__p_wxGBPosition
,
43072 _swigt__p_wxScrollWinEvent
,
43073 _swigt__p_wxImageHistogram
,
43076 _swigt__p_wxCursor
,
43077 _swigt__p_wxObject
,
43078 _swigt__p_wxPyInputStream
,
43079 _swigt__p_wxOutputStream
,
43080 _swigt__p_wxInputStream
,
43081 _swigt__p_wxDateTime
,
43082 _swigt__p_wxKeyEvent
,
43083 _swigt__p_wxNavigationKeyEvent
,
43084 _swigt__p_wxWindowDestroyEvent
,
43085 _swigt__p_wxWindow
,
43086 _swigt__p_wxMenuBar
,
43087 _swigt__p_wxFileSystem
,
43088 _swigt__p_wxBitmap
,
43089 _swigt__p_wxMenuEvent
,
43090 _swigt__p_wxContextMenuEvent
,
43091 _swigt__p_unsigned_char
,
43092 _swigt__p_wxCloseEvent
,
43093 _swigt__p_wxEraseEvent
,
43094 _swigt__p_wxMouseEvent
,
43096 _swigt__p_wxCommandEvent
,
43097 _swigt__p_wxPyCommandEvent
,
43098 _swigt__p_wxPyDropTarget
,
43099 _swigt__p_wxQuantize
,
43100 _swigt__p_wxChildFocusEvent
,
43101 _swigt__p_wxFocusEvent
,
43102 _swigt__p_wxDropFilesEvent
,
43103 _swigt__p_wxControlWithItems
,
43104 _swigt__p_wxColour
,
43105 _swigt__p_wxValidator
,
43106 _swigt__p_wxPyValidator
,
43111 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43113 static swig_const_info swig_const_table
[] = {
43114 {0, 0, 0, 0.0, 0, 0}};
43123 SWIGEXPORT(void) SWIG_init(void) {
43124 static PyObject
*SWIG_globals
= 0;
43125 static int typeinit
= 0;
43128 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43129 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43130 d
= PyModule_GetDict(m
);
43133 for (i
= 0; swig_types_initial
[i
]; i
++) {
43134 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43138 SWIG_InstallConstants(d
,swig_const_table
);
43141 #ifndef wxPyUSE_EXPORT
43142 // Make our API structure a CObject so other modules can import it
43143 // from this module.
43144 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43145 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43149 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43150 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43151 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43152 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43153 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43154 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43155 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43156 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43157 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43158 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43159 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43160 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43161 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43162 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43163 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43164 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43165 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43166 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43167 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43168 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43169 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43170 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43171 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43172 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43173 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43174 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43175 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43176 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43177 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43178 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43179 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43180 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43181 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43182 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43183 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43184 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43185 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43186 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43187 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43188 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43189 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43190 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43191 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43192 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43193 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43194 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43195 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43196 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43197 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43198 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43199 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43200 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43201 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43202 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43203 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43204 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43205 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43206 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43207 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43208 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43209 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43210 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43211 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43212 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43213 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43214 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43215 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43216 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43217 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43218 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43219 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43220 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43221 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43222 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43223 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43224 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43225 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43226 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43227 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43228 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43229 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43230 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43231 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43232 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43233 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43234 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43235 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43236 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43237 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43238 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43239 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43240 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43241 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43242 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43243 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43244 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43245 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43246 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43247 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43248 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43249 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43250 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43251 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43252 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43253 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43254 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43255 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43256 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43257 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43258 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43259 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43260 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43261 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43262 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43263 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43264 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43265 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43266 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43267 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43268 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43269 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43270 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43271 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43272 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43273 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43274 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43275 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43276 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43277 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43278 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43279 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43280 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43281 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43282 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43283 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43284 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43285 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43286 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43287 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43288 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43289 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43290 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43291 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43292 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43293 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43294 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43295 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43296 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43297 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43298 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43299 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43300 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43301 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43302 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43303 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43304 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43305 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43306 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43307 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43308 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43309 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43310 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43311 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43312 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43313 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43314 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43315 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43316 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43317 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43318 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43319 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43320 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43321 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43322 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43323 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43324 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43325 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43326 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43327 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43328 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43329 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43330 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43331 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43332 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43333 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43334 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43335 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43336 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43337 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43338 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43339 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43340 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43341 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43342 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43343 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43344 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43345 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43346 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43347 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43348 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43349 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43350 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43351 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43352 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43353 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43354 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43355 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43356 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43357 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43358 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43359 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43360 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43361 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43362 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43363 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43364 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43365 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43366 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43367 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43368 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43369 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43370 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43371 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43372 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43373 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43374 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43375 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43376 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43377 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43378 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43379 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43380 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43381 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43382 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43383 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43384 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43385 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43386 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43387 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43388 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43389 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43390 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43391 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43392 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43393 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43394 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43395 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43396 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43397 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43398 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43399 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43400 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43401 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43402 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43403 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43404 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43405 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43406 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43407 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43408 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43409 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43410 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43411 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43412 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43413 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43414 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43415 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43416 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43417 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43418 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43419 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43420 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43421 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43422 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43423 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43424 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43425 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43426 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43427 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43428 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43429 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43430 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43431 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43432 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43433 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43434 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43435 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43436 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43437 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43438 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43439 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43440 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43441 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43442 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43443 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43444 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43445 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43446 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43447 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43448 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43449 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43450 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43451 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43452 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43453 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43454 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43455 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43456 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43457 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43458 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43459 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43460 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43461 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43462 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43463 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43464 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43465 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43466 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43467 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43468 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43469 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43470 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43471 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43472 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43473 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43474 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43475 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43476 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43477 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43478 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43479 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43480 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43481 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43482 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43483 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43484 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43485 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43486 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43487 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43488 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43489 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43490 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43491 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43492 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43493 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43494 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43495 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43496 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43497 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43498 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43499 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43500 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43501 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43502 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43503 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43504 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43505 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43506 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43507 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43508 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43509 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43510 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43511 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43512 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43513 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43514 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43515 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43516 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43517 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43518 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43519 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43520 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43521 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43522 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43523 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43524 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43525 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43526 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43527 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43528 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43529 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43530 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43531 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43532 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43533 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43534 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43535 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43536 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43537 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43538 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43539 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43540 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43541 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43542 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43543 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43544 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43545 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43546 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43547 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43548 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43549 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43550 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43551 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43552 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43553 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43554 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43555 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43556 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43557 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43558 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43559 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43560 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43561 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43562 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43563 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43564 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43565 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43566 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43567 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43568 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43569 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43570 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43571 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43572 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43573 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43574 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43575 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43576 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43577 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43578 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43579 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43580 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43581 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43582 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43583 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43584 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43585 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43586 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43587 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43588 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43589 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43590 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43591 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43592 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43593 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43594 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43595 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43596 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43597 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43598 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43599 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43600 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43601 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43602 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43603 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43604 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43605 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43606 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43607 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43608 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43609 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43610 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43611 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43612 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43613 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43614 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43615 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43616 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43617 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43618 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43619 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43620 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43621 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43622 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43623 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43624 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43625 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43626 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43627 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43628 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43629 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43630 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43631 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43632 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43633 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43634 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43635 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43636 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43637 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43638 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43639 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43640 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43641 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43642 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43643 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43644 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43645 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43646 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43647 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43648 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43649 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43650 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43651 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43652 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43653 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43654 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43655 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43656 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43657 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43658 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43659 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43660 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43661 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43662 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43663 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43664 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43665 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43666 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43667 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43668 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43669 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43670 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43671 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43672 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43673 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43674 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43675 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43676 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43677 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43678 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43679 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43680 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43681 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43682 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43683 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43684 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43685 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43686 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43687 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43688 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43689 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43690 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43691 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43692 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43693 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43694 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43695 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43696 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43697 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43698 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43699 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43700 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43701 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43702 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43703 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43704 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43705 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43706 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43707 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43708 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43709 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43710 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43711 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43712 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43713 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43714 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43715 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43716 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43717 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43718 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43719 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43720 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43721 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43722 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43723 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43724 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43725 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43726 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43727 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43728 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43729 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43730 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43731 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43732 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43733 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43734 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43735 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43736 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43737 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43738 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43739 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43740 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43741 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43742 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43743 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43744 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43745 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43746 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43747 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43749 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43752 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43754 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43755 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43756 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43757 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43758 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43759 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43760 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43761 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43762 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43763 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43764 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43765 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43766 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43767 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43768 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43769 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43770 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43771 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43772 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43773 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43774 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43775 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43776 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43777 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43778 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43779 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43780 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43781 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43782 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43783 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43784 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43786 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43787 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43788 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43789 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43790 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43791 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43794 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43795 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43796 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43797 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43798 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43799 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43800 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43801 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43802 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43803 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43804 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43805 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43806 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43807 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43808 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43809 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43810 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43811 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43812 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43813 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43814 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43815 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43816 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43817 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43818 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43819 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43820 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43821 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43822 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43823 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43824 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43825 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43826 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43827 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43828 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43829 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43830 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43831 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43832 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43833 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43834 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43835 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43836 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43837 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43838 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43839 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43840 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43841 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43842 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43843 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43844 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43845 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43846 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43847 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43848 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43849 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43850 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43851 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43852 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43853 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43854 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43855 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43856 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43857 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43858 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43859 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43860 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43861 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43862 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43863 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43864 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43865 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43866 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43867 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43868 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43869 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43870 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43871 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43872 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43873 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43874 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43875 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43876 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43877 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43878 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43879 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43880 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43881 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43884 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43885 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43886 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43887 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43888 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43889 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43890 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43891 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43892 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43893 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43894 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43895 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43896 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43897 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43898 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43899 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43900 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43901 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43902 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43903 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43904 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43905 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43906 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43907 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43908 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43909 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43910 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43911 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43912 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43913 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43914 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43915 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43916 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43917 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43918 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43919 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43920 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43921 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43922 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43923 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43924 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43925 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43926 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43927 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43928 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43929 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43930 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43931 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43932 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43933 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43934 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43935 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43936 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43937 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43938 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43940 // Initialize threading, some globals and such
43944 // Although these are defined in __version__ they need to be here too so
43945 // that an assert can be done to ensure that the wxPython and the wxWindows
43947 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43948 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43949 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));