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 wxSizerItem
*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 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1861 else if ( info
.sizer
)
1862 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1863 else if (info
.gotSize
)
1864 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1865 proportion
, flag
, border
, data
);
1869 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1871 wxPyUserData
* data
= NULL
;
1872 bool blocked
= wxPyBeginBlockThreads();
1873 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1874 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1875 data
= new wxPyUserData(userData
);
1876 wxPyEndBlockThreads(blocked
);
1878 // Now call the real Insert method if a valid item type was found
1880 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1881 else if ( info
.sizer
)
1882 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1883 else if (info
.gotSize
)
1884 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1885 proportion
, flag
, border
, data
);
1889 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1891 wxPyUserData
* data
= NULL
;
1892 bool blocked
= wxPyBeginBlockThreads();
1893 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1894 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1895 data
= new wxPyUserData(userData
);
1896 wxPyEndBlockThreads(blocked
);
1898 // Now call the real Prepend method if a valid item type was found
1900 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1901 else if ( info
.sizer
)
1902 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1903 else if (info
.gotSize
)
1904 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1905 proportion
, flag
, border
, data
);
1909 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1910 bool blocked
= wxPyBeginBlockThreads();
1911 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1912 wxPyEndBlockThreads(blocked
);
1914 return self
->Remove(info
.window
);
1915 else if ( info
.sizer
)
1916 return self
->Remove(info
.sizer
);
1917 else if ( info
.gotPos
)
1918 return self
->Remove(info
.pos
);
1922 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1923 bool blocked
= wxPyBeginBlockThreads();
1924 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1925 wxPyEndBlockThreads(blocked
);
1927 return self
->Detach(info
.window
);
1928 else if ( info
.sizer
)
1929 return self
->Detach(info
.sizer
);
1930 else if ( info
.gotPos
)
1931 return self
->Detach(info
.pos
);
1935 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1936 bool blocked
= wxPyBeginBlockThreads();
1937 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1938 wxPyEndBlockThreads(blocked
);
1940 return self
->GetItem(info
.window
);
1941 else if ( info
.sizer
)
1942 return self
->GetItem(info
.sizer
);
1943 else if ( info
.gotPos
)
1944 return self
->GetItem(info
.pos
);
1948 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1949 bool blocked
= wxPyBeginBlockThreads();
1950 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1951 wxPyEndBlockThreads(blocked
);
1953 self
->SetItemMinSize(info
.window
, size
);
1954 else if ( info
.sizer
)
1955 self
->SetItemMinSize(info
.sizer
, size
);
1956 else if ( info
.gotPos
)
1957 self
->SetItemMinSize(info
.pos
, size
);
1959 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1960 wxSizerItemList
& list
= self
->GetChildren();
1961 return wxPy_ConvertList(&list
);
1963 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1964 bool blocked
= wxPyBeginBlockThreads();
1965 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1966 wxPyEndBlockThreads(blocked
);
1968 return self
->Show(info
.window
, show
, recursive
);
1969 else if ( info
.sizer
)
1970 return self
->Show(info
.sizer
, show
, recursive
);
1971 else if ( info
.gotPos
)
1972 return self
->Show(info
.pos
, show
);
1976 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1977 bool blocked
= wxPyBeginBlockThreads();
1978 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1979 wxPyEndBlockThreads(blocked
);
1981 return self
->IsShown(info
.window
);
1982 else if ( info
.sizer
)
1983 return self
->IsShown(info
.sizer
);
1984 else if ( info
.gotPos
)
1985 return self
->IsShown(info
.pos
);
1991 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1992 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1993 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1998 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2000 if (source
== Py_None
) {
2001 **obj
= wxGBPosition(-1,-1);
2004 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2007 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2009 if (source
== Py_None
) {
2010 **obj
= wxGBSpan(-1,-1);
2013 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2017 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2021 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2022 bool blocked
= wxPyBeginBlockThreads();
2023 PyObject
* tup
= PyTuple_New(2);
2024 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2025 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2026 wxPyEndBlockThreads(blocked
);
2029 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2030 self
->SetRowspan(rowspan
);
2031 self
->SetColspan(colspan
);
2033 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2034 bool blocked
= wxPyBeginBlockThreads();
2035 PyObject
* tup
= PyTuple_New(2);
2036 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2037 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2038 wxPyEndBlockThreads(blocked
);
2041 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2042 wxPyUserData
* data
= NULL
;
2044 bool blocked
= wxPyBeginBlockThreads();
2045 data
= new wxPyUserData(userData
);
2046 wxPyEndBlockThreads(blocked
);
2048 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2050 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2051 wxPyUserData
* data
= NULL
;
2053 bool blocked
= wxPyBeginBlockThreads();
2054 data
= new wxPyUserData(userData
);
2055 wxPyEndBlockThreads(blocked
);
2057 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2059 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2060 wxPyUserData
* data
= NULL
;
2062 bool blocked
= wxPyBeginBlockThreads();
2063 data
= new wxPyUserData(userData
);
2064 wxPyEndBlockThreads(blocked
);
2066 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2068 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2070 self
->GetEndPos(row
, col
);
2071 return wxGBPosition(row
, col
);
2073 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2075 wxPyUserData
* data
= NULL
;
2076 bool blocked
= wxPyBeginBlockThreads();
2077 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2078 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2079 data
= new wxPyUserData(userData
);
2080 wxPyEndBlockThreads(blocked
);
2082 // Now call the real Add method if a valid item type was found
2084 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2085 else if ( info
.sizer
)
2086 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2087 else if (info
.gotSize
)
2088 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2089 pos
, span
, flag
, border
, data
);
2097 static int _wrap_EmptyString_set(PyObject
*) {
2098 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2103 static PyObject
*_wrap_EmptyString_get() {
2108 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2110 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2117 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxObject
*arg1
= (wxObject
*) 0 ;
2121 PyObject
* obj0
= 0 ;
2123 (char *) "self", NULL
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 result
= wxObject_GetClassName(arg1
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2149 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxObject
*arg1
= (wxObject
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2154 (char *) "self", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 wxObject_Destroy(arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2177 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2179 return Py_BuildValue((char *)"");
2181 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxSize
*arg1
= (wxSize
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "self",(char *) "x", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 arg2
= (int)SWIG_As_int(obj1
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2196 if (arg1
) (arg1
)->x
= arg2
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxSize
*arg1
= (wxSize
*) 0 ;
2209 PyObject
* obj0
= 0 ;
2211 (char *) "self", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 result
= (int) ((arg1
)->x
);
2219 resultobj
= SWIG_From_int((int)result
);
2226 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxSize
*arg1
= (wxSize
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2231 PyObject
* obj1
= 0 ;
2233 (char *) "self",(char *) "y", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 arg2
= (int)SWIG_As_int(obj1
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2241 if (arg1
) (arg1
)->y
= arg2
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxSize
*arg1
= (wxSize
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 result
= (int) ((arg1
)->y
);
2264 resultobj
= SWIG_From_int((int)result
);
2271 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 int arg1
= (int) 0 ;
2274 int arg2
= (int) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 (char *) "w",(char *) "h", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 arg1
= (int)SWIG_As_int(obj0
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2288 arg2
= (int)SWIG_As_int(obj1
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2305 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxSize
*arg1
= (wxSize
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 Py_INCREF(Py_None
); resultobj
= Py_None
;
2330 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxSize
*arg1
= (wxSize
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2337 PyObject
* obj1
= 0 ;
2339 (char *) "self",(char *) "sz", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2365 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "self",(char *) "sz", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2400 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 wxSize
*arg1
= (wxSize
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 (char *) "self",(char *) "sz", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultptr
= new wxSize((wxSize
&) result
);
2429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2437 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 wxSize
*arg1
= (wxSize
*) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "sz", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2465 resultptr
= new wxSize((wxSize
&) result
);
2466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2474 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxSize
*arg1
= (wxSize
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "sz", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 (arg1
)->IncTo((wxSize
const &)*arg2
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxSize
*arg1
= (wxSize
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2512 PyObject
* obj1
= 0 ;
2514 (char *) "self",(char *) "sz", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 (arg1
)->DecTo((wxSize
const &)*arg2
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxSize
*arg1
= (wxSize
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2544 PyObject
* obj1
= 0 ;
2545 PyObject
* obj2
= 0 ;
2547 (char *) "self",(char *) "w",(char *) "h", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 arg2
= (int)SWIG_As_int(obj1
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2555 arg3
= (int)SWIG_As_int(obj2
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 (arg1
)->Set(arg2
,arg3
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 Py_INCREF(Py_None
); resultobj
= Py_None
;
2571 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxSize
*arg1
= (wxSize
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2576 PyObject
* obj1
= 0 ;
2578 (char *) "self",(char *) "w", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2584 arg2
= (int)SWIG_As_int(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 (arg1
)->SetWidth(arg2
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 Py_INCREF(Py_None
); resultobj
= Py_None
;
2600 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2602 wxSize
*arg1
= (wxSize
*) 0 ;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2607 (char *) "self",(char *) "h", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2613 arg2
= (int)SWIG_As_int(obj1
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 (arg1
)->SetHeight(arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 Py_INCREF(Py_None
); resultobj
= Py_None
;
2629 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxSize
*arg1
= (wxSize
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= SWIG_From_int((int)result
);
2655 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxSize
*arg1
= (wxSize
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_From_int((int)result
);
2681 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxSize
*arg1
= (wxSize
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2709 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxSize
*arg1
= (wxSize
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "self",(char *) "size", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxSize
*arg1
= (wxSize
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (PyObject
*)wxSize_Get(arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2767 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2770 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2772 return Py_BuildValue((char *)"");
2774 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2779 PyObject
* obj1
= 0 ;
2781 (char *) "self",(char *) "x", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 arg2
= (double)SWIG_As_double(obj1
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2789 if (arg1
) (arg1
)->x
= arg2
;
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 result
= (double) ((arg1
)->x
);
2812 resultobj
= SWIG_From_double((double)result
);
2819 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "y", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 arg2
= (double)SWIG_As_double(obj1
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 if (arg1
) (arg1
)->y
= arg2
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 result
= (double) ((arg1
)->y
);
2857 resultobj
= SWIG_From_double((double)result
);
2864 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 double arg1
= (double) 0.0 ;
2867 double arg2
= (double) 0.0 ;
2868 wxRealPoint
*result
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2872 (char *) "x",(char *) "y", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2877 arg1
= (double)SWIG_As_double(obj0
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 arg2
= (double)SWIG_As_double(obj1
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2898 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2926 wxRealPoint
*arg2
= 0 ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "pt", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2958 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2961 wxRealPoint
*arg2
= 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2967 (char *) "self",(char *) "pt", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2975 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2993 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2996 wxRealPoint
*arg2
= 0 ;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 (char *) "self",(char *) "pt", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 wxRealPoint
* resultptr
;
3021 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3030 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3033 wxRealPoint
*arg2
= 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 (char *) "self",(char *) "pt", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3057 wxRealPoint
* resultptr
;
3058 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3067 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3074 PyObject
* obj2
= 0 ;
3076 (char *) "self",(char *) "x",(char *) "y", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 arg2
= (double)SWIG_As_double(obj1
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3084 arg3
= (double)SWIG_As_double(obj2
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 wxRealPoint_Set(arg1
,arg2
,arg3
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "self", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3126 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3129 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3131 return Py_BuildValue((char *)"");
3133 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxPoint
*arg1
= (wxPoint
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3140 (char *) "self",(char *) "x", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 arg2
= (int)SWIG_As_int(obj1
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 if (arg1
) (arg1
)->x
= arg2
;
3150 Py_INCREF(Py_None
); resultobj
= Py_None
;
3157 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxPoint
*arg1
= (wxPoint
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3169 result
= (int) ((arg1
)->x
);
3171 resultobj
= SWIG_From_int((int)result
);
3178 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxPoint
*arg1
= (wxPoint
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3185 (char *) "self",(char *) "y", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 arg2
= (int)SWIG_As_int(obj1
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3193 if (arg1
) (arg1
)->y
= arg2
;
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 result
= (int) ((arg1
)->y
);
3216 resultobj
= SWIG_From_int((int)result
);
3223 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 int arg1
= (int) 0 ;
3226 int arg2
= (int) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "x",(char *) "y", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3236 arg1
= (int)SWIG_As_int(obj0
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 arg2
= (int)SWIG_As_int(obj1
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3257 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxPoint
*arg1
= (wxPoint
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxPoint
*arg1
= (wxPoint
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "pt", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3317 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPoint
*arg1
= (wxPoint
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "pt", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3352 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxPoint
*arg1
= (wxPoint
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3361 (char *) "self",(char *) "pt", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3379 wxPoint
* resultptr
;
3380 resultptr
= new wxPoint((wxPoint
&) result
);
3381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3389 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxPoint
*arg1
= (wxPoint
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "pt", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3416 wxPoint
* resultptr
;
3417 resultptr
= new wxPoint((wxPoint
&) result
);
3418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3426 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxPoint
*arg1
= (wxPoint
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "pt", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3440 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3449 result
= (wxPoint
*) &_result_ref
;
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3462 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxPoint
*arg1
= (wxPoint
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "self",(char *) "pt", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3476 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3485 result
= (wxPoint
*) &_result_ref
;
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3498 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxPoint
*arg1
= (wxPoint
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 (char *) "self",(char *) "x",(char *) "y", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 arg2
= (long)SWIG_As_long(obj1
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= (long)SWIG_As_long(obj2
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxPoint_Set(arg1
,arg2
,arg3
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 Py_INCREF(Py_None
); resultobj
= Py_None
;
3531 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxPoint
*arg1
= (wxPoint
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "self", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (PyObject
*)wxPoint_Get(arg1
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3557 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3560 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3562 return Py_BuildValue((char *)"");
3564 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 int arg1
= (int) 0 ;
3567 int arg2
= (int) 0 ;
3568 int arg3
= (int) 0 ;
3569 int arg4
= (int) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3573 PyObject
* obj2
= 0 ;
3574 PyObject
* obj3
= 0 ;
3576 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3581 arg1
= (int)SWIG_As_int(obj0
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 arg2
= (int)SWIG_As_int(obj1
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3589 arg3
= (int)SWIG_As_int(obj2
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 arg4
= (int)SWIG_As_int(obj3
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3610 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "topLeft",(char *) "bottomRight", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3646 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3656 (char *) "pos",(char *) "size", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3682 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3687 PyObject
* obj0
= 0 ;
3689 (char *) "size", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3695 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3711 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxRect
*arg1
= (wxRect
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (int)((wxRect
const *)arg1
)->GetX();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_From_int((int)result
);
3762 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxRect
*arg1
= (wxRect
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "x", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 arg2
= (int)SWIG_As_int(obj1
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxRect
*arg1
= (wxRect
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)(arg1
)->GetY();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_From_int((int)result
);
3817 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxRect
*arg1
= (wxRect
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "y", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int)SWIG_As_int(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_From_int((int)result
);
3872 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxRect
*arg1
= (wxRect
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "w", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int)SWIG_As_int(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetWidth(arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxRect
*arg1
= (wxRect
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_From_int((int)result
);
3927 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxRect
*arg1
= (wxRect
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3932 PyObject
* obj1
= 0 ;
3934 (char *) "self",(char *) "h", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 arg2
= (int)SWIG_As_int(obj1
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->SetHeight(arg2
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxRect
*arg1
= (wxRect
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "self", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= ((wxRect
const *)arg1
)->GetPosition();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 wxPoint
* resultptr
;
3977 resultptr
= new wxPoint((wxPoint
&) result
);
3978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3986 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxRect
*arg1
= (wxRect
*) 0 ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 (char *) "self",(char *) "p", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxRect
*arg1
= (wxRect
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4024 (char *) "self", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= ((wxRect
const *)arg1
)->GetSize();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultptr
= new wxSize((wxSize
&) result
);
4040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4048 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxRect
*arg1
= (wxRect
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "s", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 (arg1
)->SetSize((wxSize
const &)*arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxRect
*arg1
= (wxRect
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 wxPoint
* resultptr
;
4101 resultptr
= new wxPoint((wxPoint
&) result
);
4102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4110 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxRect
*arg1
= (wxRect
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "p", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 Py_INCREF(Py_None
); resultobj
= Py_None
;
4142 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxRect
*arg1
= (wxRect
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4148 (char *) "self", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 wxPoint
* resultptr
;
4163 resultptr
= new wxPoint((wxPoint
&) result
);
4164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4172 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "self",(char *) "p", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRect
*arg1
= (wxRect
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_From_int((int)result
);
4230 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxRect
*arg1
= (wxRect
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (int)((wxRect
const *)arg1
)->GetTop();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_From_int((int)result
);
4256 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4262 (char *) "self", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_From_int((int)result
);
4282 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxRect
*arg1
= (wxRect
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (int)((wxRect
const *)arg1
)->GetRight();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_int((int)result
);
4308 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRect
*arg1
= (wxRect
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "left", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 arg2
= (int)SWIG_As_int(obj1
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetLeft(arg2
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxRect
*arg1
= (wxRect
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "right", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4350 arg2
= (int)SWIG_As_int(obj1
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 (arg1
)->SetRight(arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxRect
*arg1
= (wxRect
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "top", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 arg2
= (int)SWIG_As_int(obj1
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->SetTop(arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRect
*arg1
= (wxRect
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4402 (char *) "self",(char *) "bottom", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4408 arg2
= (int)SWIG_As_int(obj1
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 (arg1
)->SetBottom(arg2
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 Py_INCREF(Py_None
); resultobj
= Py_None
;
4424 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxRect
*arg1
= (wxRect
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4432 PyObject
* obj2
= 0 ;
4434 (char *) "self",(char *) "dx",(char *) "dy", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4440 arg2
= (int)SWIG_As_int(obj1
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4442 arg3
= (int)SWIG_As_int(obj2
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4448 result
= (wxRect
*) &_result_ref
;
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4461 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxRect
*arg1
= (wxRect
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4469 PyObject
* obj2
= 0 ;
4471 (char *) "self",(char *) "dx",(char *) "dy", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 arg2
= (int)SWIG_As_int(obj1
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4479 arg3
= (int)SWIG_As_int(obj2
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4485 result
= (wxRect
*) &_result_ref
;
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4498 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxRect
*arg1
= (wxRect
*) 0 ;
4503 PyObject
* obj0
= 0 ;
4504 PyObject
* obj1
= 0 ;
4505 PyObject
* obj2
= 0 ;
4507 (char *) "self",(char *) "dx",(char *) "dy", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4513 arg2
= (int)SWIG_As_int(obj1
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4515 arg3
= (int)SWIG_As_int(obj2
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->Offset(arg2
,arg3
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "pt", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->Offset((wxPoint
const &)*arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 Py_INCREF(Py_None
); resultobj
= Py_None
;
4563 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxRect
*arg1
= (wxRect
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "rect", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4580 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4586 result
= (wxRect
*) &_result_ref
;
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4599 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxRect
*arg1
= (wxRect
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "rect", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4627 resultptr
= new wxRect((wxRect
&) result
);
4628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4636 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "rect", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4659 result
= (wxRect
*) &_result_ref
;
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4672 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 (char *) "self",(char *) "rect", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4707 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxRect
*arg1
= (wxRect
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4716 (char *) "self",(char *) "rect", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4742 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxRect
*arg1
= (wxRect
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4752 (char *) "self",(char *) "x",(char *) "y", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4758 arg2
= (int)SWIG_As_int(obj1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4760 arg3
= (int)SWIG_As_int(obj2
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4778 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxRect
*arg1
= (wxRect
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "self",(char *) "pt", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxRect
*arg1
= (wxRect
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "rect", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxRect
*arg1
= (wxRect
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "x", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 arg2
= (int)SWIG_As_int(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 if (arg1
) (arg1
)->x
= arg2
;
4865 Py_INCREF(Py_None
); resultobj
= Py_None
;
4872 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxRect
*arg1
= (wxRect
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 result
= (int) ((arg1
)->x
);
4886 resultobj
= SWIG_From_int((int)result
);
4893 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxRect
*arg1
= (wxRect
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4900 (char *) "self",(char *) "y", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 arg2
= (int)SWIG_As_int(obj1
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4908 if (arg1
) (arg1
)->y
= arg2
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxRect
*arg1
= (wxRect
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4923 (char *) "self", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 result
= (int) ((arg1
)->y
);
4931 resultobj
= SWIG_From_int((int)result
);
4938 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "width", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 arg2
= (int)SWIG_As_int(obj1
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4953 if (arg1
) (arg1
)->width
= arg2
;
4955 Py_INCREF(Py_None
); resultobj
= Py_None
;
4962 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxRect
*arg1
= (wxRect
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4968 (char *) "self", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 result
= (int) ((arg1
)->width
);
4976 resultobj
= SWIG_From_int((int)result
);
4983 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxRect
*arg1
= (wxRect
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 (char *) "self",(char *) "height", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4996 arg2
= (int)SWIG_As_int(obj1
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4998 if (arg1
) (arg1
)->height
= arg2
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxRect
*arg1
= (wxRect
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 result
= (int) ((arg1
)->height
);
5021 resultobj
= SWIG_From_int((int)result
);
5028 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRect
*arg1
= (wxRect
*) 0 ;
5031 int arg2
= (int) 0 ;
5032 int arg3
= (int) 0 ;
5033 int arg4
= (int) 0 ;
5034 int arg5
= (int) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 PyObject
* obj2
= 0 ;
5038 PyObject
* obj3
= 0 ;
5039 PyObject
* obj4
= 0 ;
5041 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 arg2
= (int)SWIG_As_int(obj1
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 arg3
= (int)SWIG_As_int(obj2
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 arg4
= (int)SWIG_As_int(obj3
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 arg5
= (int)SWIG_As_int(obj4
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxRect
*arg1
= (wxRect
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (PyObject
*)wxRect_Get(arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5103 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRect
*arg1
= (wxRect
*) 0 ;
5113 wxRect
*arg2
= (wxRect
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "r1",(char *) "r2", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 if (!wxPyCheckForApp()) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5141 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 double arg1
= (double) 0.0 ;
5144 double arg2
= (double) 0.0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "x",(char *) "y", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 arg1
= (double)SWIG_As_double(obj0
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5158 arg2
= (double)SWIG_As_double(obj1
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5175 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxPoint2D
*arg1
= 0 ;
5180 PyObject
* obj0
= 0 ;
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5188 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5204 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5209 PyObject
* obj0
= 0 ;
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5233 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5236 int *arg2
= (int *) 0 ;
5237 int *arg3
= (int *) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5248 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5261 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5262 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5263 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5270 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5273 int *arg2
= (int *) 0 ;
5274 int *arg3
= (int *) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5285 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5298 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5299 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5300 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5307 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_From_double((double)result
);
5333 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_From_double((double)result
);
5359 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "length", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5372 arg2
= (double)SWIG_As_double(obj1
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetVectorLength(arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5395 (char *) "self",(char *) "degrees", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5401 arg2
= (double)SWIG_As_double(obj1
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetVectorAngle(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5420 wxPoint2D
*arg2
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "pt", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_double((double)result
);
5450 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 wxPoint2D
*arg2
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "pt", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_From_double((double)result
);
5483 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5486 wxPoint2D
*arg2
= 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "vec", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_double((double)result
);
5516 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5519 wxPoint2D
*arg2
= 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "vec", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_double((double)result
);
5549 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5555 (char *) "self", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (arg1
)->operator -();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 wxPoint2D
* resultptr
;
5570 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5579 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 wxPoint2D
*arg2
= 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "pt", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5593 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5596 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5602 result
= (wxPoint2D
*) &_result_ref
;
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5615 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5618 wxPoint2D
*arg2
= 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "pt", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5629 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5632 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5638 result
= (wxPoint2D
*) &_result_ref
;
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5651 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5654 wxPoint2D
*arg2
= 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "pt", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5665 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5668 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5674 result
= (wxPoint2D
*) &_result_ref
;
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5687 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5690 wxPoint2D
*arg2
= 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5696 (char *) "self",(char *) "pt", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5701 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5704 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5710 result
= (wxPoint2D
*) &_result_ref
;
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5723 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5726 wxPoint2D
*arg2
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "pt", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5761 wxPoint2D
*arg2
= 0 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5767 (char *) "self",(char *) "pt", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5793 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "m_x", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 arg2
= (double)SWIG_As_double(obj1
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5808 if (arg1
) (arg1
)->m_x
= arg2
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 result
= (double) ((arg1
)->m_x
);
5831 resultobj
= SWIG_From_double((double)result
);
5838 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "m_y", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (double)SWIG_As_double(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5853 if (arg1
) (arg1
)->m_y
= arg2
;
5855 Py_INCREF(Py_None
); resultobj
= Py_None
;
5862 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 result
= (double) ((arg1
)->m_y
);
5876 resultobj
= SWIG_From_double((double)result
);
5883 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5886 double arg2
= (double) 0 ;
5887 double arg3
= (double) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5892 (char *) "self",(char *) "x",(char *) "y", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (double)SWIG_As_double(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 arg3
= (double)SWIG_As_double(obj2
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxPoint2D_Set(arg1
,arg2
,arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5946 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5949 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5951 return Py_BuildValue((char *)"");
5953 static int _wrap_DefaultPosition_set(PyObject
*) {
5954 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5959 static PyObject
*_wrap_DefaultPosition_get() {
5962 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5967 static int _wrap_DefaultSize_set(PyObject
*) {
5968 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5973 static PyObject
*_wrap_DefaultSize_get() {
5976 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5981 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 PyObject
*arg1
= (PyObject
*) 0 ;
5984 wxPyInputStream
*result
;
5985 PyObject
* obj0
= 0 ;
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6006 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6036 (char *) "self", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "self", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)(arg1
)->eof();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6087 int arg2
= (int) -1 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "size", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 arg2
= (int)SWIG_As_int(obj1
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (PyObject
*)(arg1
)->read(arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6116 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6119 int arg2
= (int) -1 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "size", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 arg2
= (int)SWIG_As_int(obj1
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (PyObject
*)(arg1
)->readline(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6148 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6151 int arg2
= (int) -1 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6156 (char *) "self",(char *) "sizehint", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 arg2
= (int)SWIG_As_int(obj1
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6180 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6184 int arg3
= (int) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6189 (char *) "self",(char *) "offset",(char *) "whence", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 arg2
= (int)SWIG_As_int(obj1
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 arg3
= (int)SWIG_As_int(obj2
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 (arg1
)->seek(arg2
,arg3
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)(arg1
)->tell();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_From_int((int)result
);
6241 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (char)(arg1
)->Peek();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_From_char((char)result
);
6267 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (char)(arg1
)->GetC();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_From_char((char)result
);
6293 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (size_t)(arg1
)->LastRead();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6319 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (bool)(arg1
)->CanRead();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6347 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (bool)(arg1
)->Eof();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6375 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6383 (char *) "self",(char *) "c", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 arg2
= (char)SWIG_As_char(obj1
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (bool)(arg1
)->Ungetch(arg2
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6407 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6411 int arg3
= (int) wxFromStart
;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6417 (char *) "self",(char *) "pos",(char *) "mode", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 arg2
= (long)SWIG_As_long(obj1
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 arg3
= (int)SWIG_As_int(obj2
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_From_long((long)result
);
6443 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (long)(arg1
)->TellI();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_From_long((long)result
);
6469 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6479 PyObject
*arg2
= (PyObject
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "self",(char *) "obj", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 wxOutputStream_write(arg1
,arg2
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 Py_INCREF(Py_None
); resultobj
= Py_None
;
6504 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6509 return Py_BuildValue((char *)"");
6511 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6514 wxString
*arg2
= 0 ;
6515 wxString
*arg3
= 0 ;
6516 wxString
*arg4
= 0 ;
6519 wxPyInputStream
*temp1
;
6521 bool temp2
= false ;
6522 bool temp3
= false ;
6523 bool temp4
= false ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6528 PyObject
* obj3
= 0 ;
6529 PyObject
* obj4
= 0 ;
6531 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6536 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6537 arg1
= temp1
->m_wxis
;
6540 PyErr_Clear(); // clear the failure of the wxPyConvert above
6541 arg1
= wxPyCBInputStream_create(obj0
, false);
6543 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6550 arg2
= wxString_in_helper(obj1
);
6551 if (arg2
== NULL
) SWIG_fail
;
6555 arg3
= wxString_in_helper(obj2
);
6556 if (arg3
== NULL
) SWIG_fail
;
6560 arg4
= wxString_in_helper(obj3
);
6561 if (arg4
== NULL
) SWIG_fail
;
6564 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6565 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= wxPyMake_wxObject(result
, 1);
6615 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6643 wxInputStream
*result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (wxInputStream
*)(arg1
)->GetStream();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 wxPyInputStream
* _ptr
= NULL
;
6663 _ptr
= new wxPyInputStream(result
);
6665 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6673 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6689 result
= (wxString
*) &_result_ref
;
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6708 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxString
const &_result_ref
= (arg1
)->GetLocation();
6724 result
= (wxString
*) &_result_ref
;
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6734 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6743 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6749 (char *) "self", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6759 result
= (wxString
*) &_result_ref
;
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6778 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (arg1
)->GetModificationTime();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 wxDateTime
* resultptr
;
6799 resultptr
= new wxDateTime((wxDateTime
&) result
);
6800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6808 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6813 return Py_BuildValue((char *)"");
6815 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6818 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6820 return Py_BuildValue((char *)"");
6822 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPyFileSystemHandler
*result
;
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6844 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6847 PyObject
*arg2
= (PyObject
*) 0 ;
6848 PyObject
*arg3
= (PyObject
*) 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6851 PyObject
* obj2
= 0 ;
6853 (char *) "self",(char *) "self",(char *) "_class", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 Py_INCREF(Py_None
); resultobj
= Py_None
;
6875 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6878 wxString
*arg2
= 0 ;
6880 bool temp2
= false ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6884 (char *) "self",(char *) "location", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 arg2
= wxString_in_helper(obj1
);
6892 if (arg2
== NULL
) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6919 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6922 wxFileSystem
*arg2
= 0 ;
6923 wxString
*arg3
= 0 ;
6925 bool temp3
= false ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6930 (char *) "self",(char *) "fs",(char *) "location", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6940 PyErr_SetString(PyExc_TypeError
,"null reference");
6944 arg3
= wxString_in_helper(obj2
);
6945 if (arg3
== NULL
) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= wxPyMake_wxObject(result
, 1);
6972 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6975 wxString
*arg2
= 0 ;
6976 int arg3
= (int) 0 ;
6978 bool temp2
= false ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 PyObject
* obj2
= 0 ;
6983 (char *) "self",(char *) "spec",(char *) "flags", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 arg2
= wxString_in_helper(obj1
);
6991 if (arg2
== NULL
) SWIG_fail
;
6995 arg3
= (int)SWIG_As_int(obj2
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7026 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (arg1
)->FindNext();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7058 static PyObject
*_wrap_FileSystemHandler_GetProtocol(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_GetProtocol",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
)->GetProtocol((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_GetLeftLocation(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_GetLeftLocation",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
)->GetLeftLocation((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_GetAnchor(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_GetAnchor",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
)->GetAnchor((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_GetRightLocation(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_GetRightLocation",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
)->GetRightLocation((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
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7253 wxString
*arg2
= 0 ;
7255 bool temp2
= false ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "location", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7266 arg2
= wxString_in_helper(obj1
);
7267 if (arg2
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7298 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7301 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7303 return Py_BuildValue((char *)"");
7305 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxFileSystem
*result
;
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (wxFileSystem
*)new wxFileSystem();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= wxPyMake_wxObject(result
, 1);
7329 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "self", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 Py_INCREF(Py_None
); resultobj
= Py_None
;
7354 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7357 wxString
*arg2
= 0 ;
7358 bool arg3
= (bool) false ;
7359 bool temp2
= false ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7362 PyObject
* obj2
= 0 ;
7364 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7371 arg2
= wxString_in_helper(obj1
);
7372 if (arg2
== NULL
) SWIG_fail
;
7376 arg3
= (bool)SWIG_As_bool(obj2
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (arg1
)->GetPath();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7433 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7436 wxString
*arg2
= 0 ;
7438 bool temp2
= false ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "location", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= wxPyMake_wxObject(result
, 1);
7477 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7480 wxString
*arg2
= 0 ;
7481 int arg3
= (int) 0 ;
7483 bool temp2
= false ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7486 PyObject
* obj2
= 0 ;
7488 (char *) "self",(char *) "spec",(char *) "flags", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7495 arg2
= wxString_in_helper(obj1
);
7496 if (arg2
== NULL
) SWIG_fail
;
7500 arg3
= (int)SWIG_As_int(obj2
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7531 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7535 PyObject
* obj0
= 0 ;
7537 (char *) "self", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (arg1
)->FindNext();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7563 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "handler", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxFileSystem::AddHandler(arg1
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxFileSystem::CleanUpHandlers();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 Py_INCREF(Py_None
); resultobj
= Py_None
;
7609 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxString
*arg1
= 0 ;
7613 bool temp1
= false ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "filename", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7621 arg1
= wxString_in_helper(obj0
);
7622 if (arg1
== NULL
) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7653 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxString
*arg1
= 0 ;
7657 bool temp1
= false ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "url", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7665 arg1
= wxString_in_helper(obj0
);
7666 if (arg1
== NULL
) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7697 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7700 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7702 return Py_BuildValue((char *)"");
7704 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxInternetFSHandler
*result
;
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7726 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7729 wxString
*arg2
= 0 ;
7731 bool temp2
= false ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7735 (char *) "self",(char *) "location", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 arg2
= wxString_in_helper(obj1
);
7743 if (arg2
== NULL
) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7770 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7773 wxFileSystem
*arg2
= 0 ;
7774 wxString
*arg3
= 0 ;
7776 bool temp3
= false ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7781 (char *) "self",(char *) "fs",(char *) "location", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7791 PyErr_SetString(PyExc_TypeError
,"null reference");
7795 arg3
= wxString_in_helper(obj2
);
7796 if (arg3
== NULL
) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= wxPyMake_wxObject(result
, 1);
7823 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7826 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7828 return Py_BuildValue((char *)"");
7830 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxZipFSHandler
*result
;
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7852 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7855 wxString
*arg2
= 0 ;
7857 bool temp2
= false ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "location", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 arg2
= wxString_in_helper(obj1
);
7869 if (arg2
== NULL
) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7896 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7899 wxFileSystem
*arg2
= 0 ;
7900 wxString
*arg3
= 0 ;
7902 bool temp3
= false ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 PyObject
* obj2
= 0 ;
7907 (char *) "self",(char *) "fs",(char *) "location", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7917 PyErr_SetString(PyExc_TypeError
,"null reference");
7921 arg3
= wxString_in_helper(obj2
);
7922 if (arg3
== NULL
) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= wxPyMake_wxObject(result
, 1);
7949 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7952 wxString
*arg2
= 0 ;
7953 int arg3
= (int) 0 ;
7955 bool temp2
= false ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7958 PyObject
* obj2
= 0 ;
7960 (char *) "self",(char *) "spec",(char *) "flags", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 arg2
= wxString_in_helper(obj1
);
7968 if (arg2
== NULL
) SWIG_fail
;
7972 arg3
= (int)SWIG_As_int(obj2
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8003 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 (char *) "self", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (arg1
)->FindNext();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8035 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8038 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8040 return Py_BuildValue((char *)"");
8042 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxString
*arg1
= 0 ;
8047 bool temp1
= false ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 PyObject
* obj2
= 0 ;
8052 (char *) "filename",(char *) "image",(char *) "type", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8057 arg1
= wxString_in_helper(obj0
);
8058 if (arg1
== NULL
) SWIG_fail
;
8061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8065 PyErr_SetString(PyExc_TypeError
,"null reference");
8068 arg3
= (long)SWIG_As_long(obj2
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 Py_INCREF(Py_None
); resultobj
= Py_None
;
8092 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxString
*arg1
= 0 ;
8095 wxBitmap
*arg2
= 0 ;
8097 bool temp1
= false ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8100 PyObject
* obj2
= 0 ;
8102 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8107 arg1
= wxString_in_helper(obj0
);
8108 if (arg1
== NULL
) SWIG_fail
;
8111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8115 PyErr_SetString(PyExc_TypeError
,"null reference");
8118 arg3
= (long)SWIG_As_long(obj2
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8142 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxString
*arg1
= 0 ;
8145 PyObject
*arg2
= (PyObject
*) 0 ;
8146 bool temp1
= false ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8150 (char *) "filename",(char *) "data", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8155 arg1
= wxString_in_helper(obj0
);
8156 if (arg1
== NULL
) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxMemoryFSHandler
*result
;
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8204 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxString
*arg1
= 0 ;
8207 bool temp1
= false ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "filename", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8215 arg1
= wxString_in_helper(obj0
);
8216 if (arg1
== NULL
) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8244 wxString
*arg2
= 0 ;
8246 bool temp2
= false ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "location", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 arg2
= wxString_in_helper(obj1
);
8258 if (arg2
== NULL
) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8285 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8288 wxFileSystem
*arg2
= 0 ;
8289 wxString
*arg3
= 0 ;
8291 bool temp3
= false ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8294 PyObject
* obj2
= 0 ;
8296 (char *) "self",(char *) "fs",(char *) "location", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8306 PyErr_SetString(PyExc_TypeError
,"null reference");
8310 arg3
= wxString_in_helper(obj2
);
8311 if (arg3
== NULL
) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= wxPyMake_wxObject(result
, 1);
8338 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8341 wxString
*arg2
= 0 ;
8342 int arg3
= (int) 0 ;
8344 bool temp2
= false ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8347 PyObject
* obj2
= 0 ;
8349 (char *) "self",(char *) "spec",(char *) "flags", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8356 arg2
= wxString_in_helper(obj1
);
8357 if (arg2
== NULL
) SWIG_fail
;
8361 arg3
= (int)SWIG_As_int(obj2
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8392 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (arg1
)->FindNext();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8424 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8427 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8429 return Py_BuildValue((char *)"");
8431 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (arg1
)->GetName();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8463 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (arg1
)->GetExtension();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8495 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (long)(arg1
)->GetType();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_From_long((long)result
);
8521 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (arg1
)->GetMimeType();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8553 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8556 wxString
*arg2
= 0 ;
8558 bool temp2
= false ;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8562 (char *) "self",(char *) "name", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 arg2
= wxString_in_helper(obj1
);
8570 if (arg2
== NULL
) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8600 wxString
*arg2
= 0 ;
8601 bool temp2
= false ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8605 (char *) "self",(char *) "name", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 arg2
= wxString_in_helper(obj1
);
8613 if (arg2
== NULL
) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 (arg1
)->SetName((wxString
const &)*arg2
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8638 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8641 wxString
*arg2
= 0 ;
8642 bool temp2
= false ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8646 (char *) "self",(char *) "extension", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 arg2
= wxString_in_helper(obj1
);
8654 if (arg2
== NULL
) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 (arg1
)->SetExtension((wxString
const &)*arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 Py_INCREF(Py_None
); resultobj
= Py_None
;
8679 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8686 (char *) "self",(char *) "type", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg2
= (long)SWIG_As_long(obj1
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetType(arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8711 wxString
*arg2
= 0 ;
8712 bool temp2
= false ;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8716 (char *) "self",(char *) "mimetype", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 arg2
= wxString_in_helper(obj1
);
8724 if (arg2
== NULL
) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8752 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8754 return Py_BuildValue((char *)"");
8756 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxImageHistogram
*result
;
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxImageHistogram
*)new wxImageHistogram();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8778 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 unsigned char arg1
;
8781 unsigned char arg2
;
8782 unsigned char arg3
;
8783 unsigned long result
;
8784 PyObject
* obj0
= 0 ;
8785 PyObject
* obj1
= 0 ;
8786 PyObject
* obj2
= 0 ;
8788 (char *) "r",(char *) "g",(char *) "b", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8792 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8794 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8796 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8812 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8815 unsigned char *arg2
= (unsigned char *) 0 ;
8816 unsigned char *arg3
= (unsigned char *) 0 ;
8817 unsigned char *arg4
= (unsigned char *) 0 ;
8818 unsigned char arg5
= (unsigned char) 1 ;
8819 unsigned char arg6
= (unsigned char) 0 ;
8820 unsigned char arg7
= (unsigned char) 0 ;
8822 unsigned char temp2
;
8824 unsigned char temp3
;
8826 unsigned char temp4
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8831 PyObject
* obj3
= 0 ;
8833 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8836 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8837 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8838 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8843 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8864 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8865 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8866 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8867 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8868 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8869 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8876 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8881 return Py_BuildValue((char *)"");
8883 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxString
*arg1
= 0 ;
8886 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8887 int arg3
= (int) -1 ;
8889 bool temp1
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "name",(char *) "type",(char *) "index", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 arg1
= wxString_in_helper(obj0
);
8900 if (arg1
== NULL
) SWIG_fail
;
8904 arg2
= (long)SWIG_As_long(obj1
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 arg3
= (int)SWIG_As_int(obj2
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8933 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxImage
*arg1
= (wxImage
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxString
*arg1
= 0 ;
8961 wxString
*arg2
= 0 ;
8962 int arg3
= (int) -1 ;
8964 bool temp1
= false ;
8965 bool temp2
= false ;
8966 PyObject
* obj0
= 0 ;
8967 PyObject
* obj1
= 0 ;
8968 PyObject
* obj2
= 0 ;
8970 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8975 arg1
= wxString_in_helper(obj0
);
8976 if (arg1
== NULL
) SWIG_fail
;
8980 arg2
= wxString_in_helper(obj1
);
8981 if (arg2
== NULL
) SWIG_fail
;
8985 arg3
= (int)SWIG_As_int(obj2
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9018 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxInputStream
*arg1
= 0 ;
9021 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9022 int arg3
= (int) -1 ;
9024 wxPyInputStream
*temp1
;
9026 PyObject
* obj0
= 0 ;
9027 PyObject
* obj1
= 0 ;
9028 PyObject
* obj2
= 0 ;
9030 (char *) "stream",(char *) "type",(char *) "index", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9035 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9036 arg1
= temp1
->m_wxis
;
9039 PyErr_Clear(); // clear the failure of the wxPyConvert above
9040 arg1
= wxPyCBInputStream_create(obj0
, false);
9042 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9049 arg2
= (long)SWIG_As_long(obj1
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 arg3
= (int)SWIG_As_int(obj2
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9078 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxInputStream
*arg1
= 0 ;
9081 wxString
*arg2
= 0 ;
9082 int arg3
= (int) -1 ;
9084 wxPyInputStream
*temp1
;
9086 bool temp2
= false ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9089 PyObject
* obj2
= 0 ;
9091 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9096 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9097 arg1
= temp1
->m_wxis
;
9100 PyErr_Clear(); // clear the failure of the wxPyConvert above
9101 arg1
= wxPyCBInputStream_create(obj0
, false);
9103 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9110 arg2
= wxString_in_helper(obj1
);
9111 if (arg2
== NULL
) SWIG_fail
;
9115 arg3
= (int)SWIG_As_int(obj2
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9148 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 int arg1
= (int) 0 ;
9151 int arg2
= (int) 0 ;
9152 bool arg3
= (bool) true ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "width",(char *) "height",(char *) "clear", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9163 arg1
= (int)SWIG_As_int(obj0
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 arg2
= (int)SWIG_As_int(obj1
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 arg3
= (bool)SWIG_As_bool(obj2
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9188 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxBitmap
*arg1
= 0 ;
9192 PyObject
* obj0
= 0 ;
9194 (char *) "bitmap", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9202 PyErr_SetString(PyExc_TypeError
,"null reference");
9206 if (!wxPyCheckForApp()) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9220 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9224 unsigned char *arg3
= (unsigned char *) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "width",(char *) "height",(char *) "data", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 arg1
= (int)SWIG_As_int(obj0
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9236 arg2
= (int)SWIG_As_int(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9254 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxImage
*arg1
= (wxImage
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 PyObject
* obj2
= 0 ;
9263 (char *) "self",(char *) "width",(char *) "height", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 arg2
= (int)SWIG_As_int(obj1
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9271 arg3
= (int)SWIG_As_int(obj2
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 (arg1
)->Create(arg2
,arg3
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxImage
*arg1
= (wxImage
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 Py_INCREF(Py_None
); resultobj
= Py_None
;
9312 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxImage
*arg1
= (wxImage
*) 0 ;
9317 SwigValueWrapper
< wxImage
> result
;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 PyObject
* obj2
= 0 ;
9322 (char *) "self",(char *) "width",(char *) "height", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 arg2
= (int)SWIG_As_int(obj1
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9330 arg3
= (int)SWIG_As_int(obj2
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (arg1
)->Scale(arg2
,arg3
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9340 wxImage
* resultptr
;
9341 resultptr
= new wxImage((wxImage
&) result
);
9342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9350 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxImage
*arg1
= (wxImage
*) 0 ;
9355 SwigValueWrapper
< wxImage
> result
;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 PyObject
* obj2
= 0 ;
9360 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int)SWIG_As_int(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9368 arg3
= (int)SWIG_As_int(obj2
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 wxImage
* resultptr
;
9379 resultptr
= new wxImage((wxImage
&) result
);
9380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9388 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxImage
*arg1
= (wxImage
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9398 (char *) "self",(char *) "width",(char *) "height", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 arg2
= (int)SWIG_As_int(obj1
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg3
= (int)SWIG_As_int(obj2
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9412 result
= (wxImage
*) &_result_ref
;
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9425 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxImage
*arg1
= (wxImage
*) 0 ;
9430 unsigned char arg4
;
9431 unsigned char arg5
;
9432 unsigned char arg6
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9437 PyObject
* obj4
= 0 ;
9438 PyObject
* obj5
= 0 ;
9440 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 arg2
= (int)SWIG_As_int(obj1
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9448 arg3
= (int)SWIG_As_int(obj2
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9450 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9452 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9454 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 Py_INCREF(Py_None
); resultobj
= Py_None
;
9470 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxImage
*arg1
= (wxImage
*) 0 ;
9475 unsigned char result
;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 (char *) "self",(char *) "x",(char *) "y", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= (int)SWIG_As_int(obj1
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg3
= (int)SWIG_As_int(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9504 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxImage
*arg1
= (wxImage
*) 0 ;
9509 unsigned char result
;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9514 (char *) "self",(char *) "x",(char *) "y", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 arg2
= (int)SWIG_As_int(obj1
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9522 arg3
= (int)SWIG_As_int(obj2
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9538 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxImage
*arg1
= (wxImage
*) 0 ;
9543 unsigned char result
;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 PyObject
* obj2
= 0 ;
9548 (char *) "self",(char *) "x",(char *) "y", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 arg2
= (int)SWIG_As_int(obj1
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9556 arg3
= (int)SWIG_As_int(obj2
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9572 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxImage
*arg1
= (wxImage
*) 0 ;
9577 unsigned char arg4
;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9580 PyObject
* obj2
= 0 ;
9581 PyObject
* obj3
= 0 ;
9583 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 arg2
= (int)SWIG_As_int(obj1
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9591 arg3
= (int)SWIG_As_int(obj2
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9593 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 Py_INCREF(Py_None
); resultobj
= Py_None
;
9609 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxImage
*arg1
= (wxImage
*) 0 ;
9614 unsigned char result
;
9615 PyObject
* obj0
= 0 ;
9616 PyObject
* obj1
= 0 ;
9617 PyObject
* obj2
= 0 ;
9619 (char *) "self",(char *) "x",(char *) "y", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 arg2
= (int)SWIG_As_int(obj1
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9627 arg3
= (int)SWIG_As_int(obj2
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9643 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxImage
*arg1
= (wxImage
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)(arg1
)->HasAlpha();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxImage
*arg1
= (wxImage
*) 0 ;
9674 byte
*arg2
= (byte
*) 0 ;
9675 byte
*arg3
= (byte
*) 0 ;
9676 byte
*arg4
= (byte
*) 0 ;
9677 byte arg5
= (byte
) 0 ;
9678 byte arg6
= (byte
) 0 ;
9679 byte arg7
= (byte
) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9689 PyObject
* obj2
= 0 ;
9690 PyObject
* obj3
= 0 ;
9692 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9695 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9696 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9697 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9710 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9724 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9725 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9726 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9727 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9728 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9735 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxImage
*arg1
= (wxImage
*) 0 ;
9738 byte arg2
= (byte
) 128 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "threshold", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9769 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxImage
*arg1
= (wxImage
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9780 PyObject
* obj3
= 0 ;
9781 PyObject
* obj4
= 0 ;
9783 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9793 PyErr_SetString(PyExc_TypeError
,"null reference");
9796 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9798 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9800 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9818 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxString
*arg1
= 0 ;
9822 bool temp1
= false ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "name", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9830 arg1
= wxString_in_helper(obj0
);
9831 if (arg1
== NULL
) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxString
*arg1
= 0 ;
9861 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9863 bool temp1
= false ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9867 (char *) "name",(char *) "type", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9872 arg1
= wxString_in_helper(obj0
);
9873 if (arg1
== NULL
) SWIG_fail
;
9877 arg2
= (long)SWIG_As_long(obj1
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_From_int((int)result
);
9902 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxImage
*arg1
= (wxImage
*) 0 ;
9905 wxString
*arg2
= 0 ;
9906 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9907 int arg4
= (int) -1 ;
9909 bool temp2
= false ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 PyObject
* obj2
= 0 ;
9913 PyObject
* obj3
= 0 ;
9915 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9922 arg2
= wxString_in_helper(obj1
);
9923 if (arg2
== NULL
) SWIG_fail
;
9927 arg3
= (long)SWIG_As_long(obj2
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 arg4
= (int)SWIG_As_int(obj3
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9958 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxImage
*arg1
= (wxImage
*) 0 ;
9961 wxString
*arg2
= 0 ;
9962 wxString
*arg3
= 0 ;
9963 int arg4
= (int) -1 ;
9965 bool temp2
= false ;
9966 bool temp3
= false ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 PyObject
* obj2
= 0 ;
9970 PyObject
* obj3
= 0 ;
9972 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 arg2
= wxString_in_helper(obj1
);
9980 if (arg2
== NULL
) SWIG_fail
;
9984 arg3
= wxString_in_helper(obj2
);
9985 if (arg3
== NULL
) SWIG_fail
;
9989 arg4
= (int)SWIG_As_int(obj3
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10024 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxImage
*arg1
= (wxImage
*) 0 ;
10027 wxString
*arg2
= 0 ;
10030 bool temp2
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "name",(char *) "type", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 arg2
= wxString_in_helper(obj1
);
10043 if (arg2
== NULL
) SWIG_fail
;
10046 arg3
= (int)SWIG_As_int(obj2
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxImage
*arg1
= (wxImage
*) 0 ;
10075 wxString
*arg2
= 0 ;
10076 wxString
*arg3
= 0 ;
10078 bool temp2
= false ;
10079 bool temp3
= false ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 PyObject
* obj2
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 arg2
= wxString_in_helper(obj1
);
10092 if (arg2
== NULL
) SWIG_fail
;
10096 arg3
= wxString_in_helper(obj2
);
10097 if (arg3
== NULL
) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxInputStream
*arg1
= 0 ;
10136 wxPyInputStream
*temp1
;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "stream", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10145 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10146 arg1
= temp1
->m_wxis
;
10149 PyErr_Clear(); // clear the failure of the wxPyConvert above
10150 arg1
= wxPyCBInputStream_create(obj0
, false);
10151 if (arg1
== NULL
) {
10152 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (bool)wxImage::CanRead(*arg1
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10182 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxImage
*arg1
= (wxImage
*) 0 ;
10185 wxInputStream
*arg2
= 0 ;
10186 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10187 int arg4
= (int) -1 ;
10189 wxPyInputStream
*temp2
;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 PyObject
* obj2
= 0 ;
10194 PyObject
* obj3
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10203 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10204 arg2
= temp2
->m_wxis
;
10207 PyErr_Clear(); // clear the failure of the wxPyConvert above
10208 arg2
= wxPyCBInputStream_create(obj1
, false);
10209 if (arg2
== NULL
) {
10210 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10217 arg3
= (long)SWIG_As_long(obj2
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 arg4
= (int)SWIG_As_int(obj3
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10248 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxImage
*arg1
= (wxImage
*) 0 ;
10251 wxInputStream
*arg2
= 0 ;
10252 wxString
*arg3
= 0 ;
10253 int arg4
= (int) -1 ;
10255 wxPyInputStream
*temp2
;
10257 bool temp3
= false ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 PyObject
* obj3
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10271 arg2
= temp2
->m_wxis
;
10274 PyErr_Clear(); // clear the failure of the wxPyConvert above
10275 arg2
= wxPyCBInputStream_create(obj1
, false);
10276 if (arg2
== NULL
) {
10277 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10284 arg3
= wxString_in_helper(obj2
);
10285 if (arg3
== NULL
) SWIG_fail
;
10289 arg4
= (int)SWIG_As_int(obj3
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxImage
*arg1
= (wxImage
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (bool)(arg1
)->Ok();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10352 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxImage
*arg1
= (wxImage
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (int)(arg1
)->GetWidth();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_From_int((int)result
);
10378 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxImage
*arg1
= (wxImage
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (int)(arg1
)->GetHeight();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_From_int((int)result
);
10404 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxImage
*arg1
= (wxImage
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= wxImage_GetSize(arg1
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 wxSize
* resultptr
;
10425 resultptr
= new wxSize((wxSize
&) result
);
10426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10434 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxImage
*arg1
= (wxImage
*) 0 ;
10438 SwigValueWrapper
< wxImage
> result
;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "rect", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 wxImage
* resultptr
;
10462 resultptr
= new wxImage((wxImage
&) result
);
10463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10471 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxImage
*arg1
= (wxImage
*) 0 ;
10474 SwigValueWrapper
< wxImage
> result
;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (arg1
)->Copy();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 wxImage
* resultptr
;
10492 resultptr
= new wxImage((wxImage
&) result
);
10493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10501 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxImage
*arg1
= (wxImage
*) 0 ;
10504 wxImage
*arg2
= 0 ;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 PyObject
* obj2
= 0 ;
10510 PyObject
* obj3
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10521 if (arg2
== NULL
) {
10522 PyErr_SetString(PyExc_TypeError
,"null reference");
10525 arg3
= (int)SWIG_As_int(obj2
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10527 arg4
= (int)SWIG_As_int(obj3
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxImage
*arg1
= (wxImage
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (PyObject
*)wxImage_GetData(arg1
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= result
;
10569 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxImage
*arg1
= (wxImage
*) 0 ;
10572 PyObject
*arg2
= (PyObject
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "data", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 wxImage_SetData(arg1
,arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxImage
*arg1
= (wxImage
*) 0 ;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= result
;
10623 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxImage
*arg1
= (wxImage
*) 0 ;
10626 PyObject
*arg2
= (PyObject
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "data", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 wxImage_SetDataBuffer(arg1
,arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10651 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImage
*arg1
= (wxImage
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= result
;
10677 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxImage
*arg1
= (wxImage
*) 0 ;
10680 PyObject
*arg2
= (PyObject
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "data", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 wxImage_SetAlphaData(arg1
,arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 Py_INCREF(Py_None
); resultobj
= Py_None
;
10705 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxImage
*arg1
= (wxImage
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
;
10731 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxImage
*arg1
= (wxImage
*) 0 ;
10734 PyObject
*arg2
= (PyObject
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "data", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 wxImage_SetAlphaBuffer(arg1
,arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxImage
*arg1
= (wxImage
*) 0 ;
10762 unsigned char arg2
;
10763 unsigned char arg3
;
10764 unsigned char arg4
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 PyObject
* obj3
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10799 unsigned char result
;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (unsigned char)(arg1
)->GetMaskRed();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10822 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxImage
*arg1
= (wxImage
*) 0 ;
10825 unsigned char result
;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (unsigned char)(arg1
)->GetMaskGreen();
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10848 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxImage
*arg1
= (wxImage
*) 0 ;
10851 unsigned char result
;
10852 PyObject
* obj0
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (unsigned char)(arg1
)->GetMaskBlue();
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10874 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxImage
*arg1
= (wxImage
*) 0 ;
10877 bool arg2
= (bool) true ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self",(char *) "mask", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 arg2
= (bool)SWIG_As_bool(obj1
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->SetMask(arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (bool)(arg1
)->HasMask();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10933 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxImage
*arg1
= (wxImage
*) 0 ;
10937 wxPoint
*arg3
= 0 ;
10938 bool arg4
= (bool) true ;
10939 wxPoint
*arg5
= (wxPoint
*) NULL
;
10940 SwigValueWrapper
< wxImage
> result
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 PyObject
* obj3
= 0 ;
10946 PyObject
* obj4
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= (double)SWIG_As_double(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10961 arg4
= (bool)SWIG_As_bool(obj3
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 wxImage
* resultptr
;
10977 resultptr
= new wxImage((wxImage
&) result
);
10978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10986 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxImage
*arg1
= (wxImage
*) 0 ;
10989 bool arg2
= (bool) true ;
10990 SwigValueWrapper
< wxImage
> result
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self",(char *) "clockwise", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 arg2
= (bool)SWIG_As_bool(obj1
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (arg1
)->Rotate90(arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 wxImage
* resultptr
;
11013 resultptr
= new wxImage((wxImage
&) result
);
11014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11022 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxImage
*arg1
= (wxImage
*) 0 ;
11025 bool arg2
= (bool) true ;
11026 SwigValueWrapper
< wxImage
> result
;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "horizontally", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 arg2
= (bool)SWIG_As_bool(obj1
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (arg1
)->Mirror(arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 wxImage
* resultptr
;
11049 resultptr
= new wxImage((wxImage
&) result
);
11050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11058 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxImage
*arg1
= (wxImage
*) 0 ;
11061 unsigned char arg2
;
11062 unsigned char arg3
;
11063 unsigned char arg4
;
11064 unsigned char arg5
;
11065 unsigned char arg6
;
11066 unsigned char arg7
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 PyObject
* obj3
= 0 ;
11071 PyObject
* obj4
= 0 ;
11072 PyObject
* obj5
= 0 ;
11073 PyObject
* obj6
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11085 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11087 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11089 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11091 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxImage
*arg1
= (wxImage
*) 0 ;
11110 unsigned char arg2
;
11111 unsigned char arg3
;
11112 unsigned char arg4
;
11113 SwigValueWrapper
< wxImage
> result
;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11127 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11129 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 wxImage
* resultptr
;
11140 resultptr
= new wxImage((wxImage
&) result
);
11141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11149 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxImage
*arg1
= (wxImage
*) 0 ;
11152 wxString
*arg2
= 0 ;
11153 wxString
*arg3
= 0 ;
11154 bool temp2
= false ;
11155 bool temp3
= false ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self",(char *) "name",(char *) "value", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11167 arg2
= wxString_in_helper(obj1
);
11168 if (arg2
== NULL
) SWIG_fail
;
11172 arg3
= wxString_in_helper(obj2
);
11173 if (arg3
== NULL
) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 Py_INCREF(Py_None
); resultobj
= Py_None
;
11206 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxImage
*arg1
= (wxImage
*) 0 ;
11209 wxString
*arg2
= 0 ;
11211 bool temp2
= false ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "name",(char *) "value", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 arg2
= wxString_in_helper(obj1
);
11224 if (arg2
== NULL
) SWIG_fail
;
11227 arg3
= (int)SWIG_As_int(obj2
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11251 static PyObject
*_wrap_Image_GetOption(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_GetOption",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
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11299 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxImage
*arg1
= (wxImage
*) 0 ;
11302 wxString
*arg2
= 0 ;
11304 bool temp2
= false ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "name", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 arg2
= wxString_in_helper(obj1
);
11316 if (arg2
== NULL
) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_From_int((int)result
);
11341 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxImage
*arg1
= (wxImage
*) 0 ;
11344 wxString
*arg2
= 0 ;
11346 bool temp2
= false ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self",(char *) "name", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 arg2
= wxString_in_helper(obj1
);
11358 if (arg2
== NULL
) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxImage
*arg1
= (wxImage
*) 0 ;
11388 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11389 unsigned long result
;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "stopafter", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11417 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxImage
*arg1
= (wxImage
*) 0 ;
11420 wxImageHistogram
*arg2
= 0 ;
11421 unsigned long result
;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self",(char *) "h", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11434 if (arg2
== NULL
) {
11435 PyErr_SetString(PyExc_TypeError
,"null reference");
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11452 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "handler", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 wxImage::AddHandler(arg1
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "handler", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 wxImage::InsertHandler(arg1
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 Py_INCREF(Py_None
); resultobj
= Py_None
;
11502 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxString
*arg1
= 0 ;
11506 bool temp1
= false ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "name", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11514 arg1
= wxString_in_helper(obj0
);
11515 if (arg1
== NULL
) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11542 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11545 char *kwnames
[] = {
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= wxImage::GetImageExtWildcard();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11570 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxImage
*arg1
= (wxImage
*) 0 ;
11573 int arg2
= (int) -1 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self",(char *) "depth", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11585 arg2
= (int)SWIG_As_int(obj1
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 if (!wxPyCheckForApp()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 wxBitmap
* resultptr
;
11598 resultptr
= new wxBitmap((wxBitmap
&) result
);
11599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11607 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxImage
*arg1
= (wxImage
*) 0 ;
11610 unsigned char arg2
;
11611 unsigned char arg3
;
11612 unsigned char arg4
;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 PyObject
* obj3
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11627 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11629 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 if (!wxPyCheckForApp()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 wxBitmap
* resultptr
;
11641 resultptr
= new wxBitmap((wxBitmap
&) result
);
11642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11650 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11653 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11655 return Py_BuildValue((char *)"");
11657 static int _wrap_NullImage_set(PyObject
*) {
11658 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11663 static PyObject
*_wrap_NullImage_get() {
11666 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11671 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11672 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11677 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11682 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11684 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11691 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11692 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11697 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11702 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11704 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11711 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11712 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11717 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11722 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11724 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11731 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11732 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11737 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11742 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11744 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11751 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11752 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11757 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11762 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11764 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11771 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxBMPHandler
*result
;
11774 char *kwnames
[] = {
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxBMPHandler
*)new wxBMPHandler();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11793 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11796 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11798 return Py_BuildValue((char *)"");
11800 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxICOHandler
*result
;
11803 char *kwnames
[] = {
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxICOHandler
*)new wxICOHandler();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11822 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11825 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11827 return Py_BuildValue((char *)"");
11829 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxCURHandler
*result
;
11832 char *kwnames
[] = {
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (wxCURHandler
*)new wxCURHandler();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11851 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11854 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11856 return Py_BuildValue((char *)"");
11858 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxANIHandler
*result
;
11861 char *kwnames
[] = {
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxANIHandler
*)new wxANIHandler();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11880 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11883 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11885 return Py_BuildValue((char *)"");
11887 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxPNGHandler
*result
;
11890 char *kwnames
[] = {
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (wxPNGHandler
*)new wxPNGHandler();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11909 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11912 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11914 return Py_BuildValue((char *)"");
11916 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxGIFHandler
*result
;
11919 char *kwnames
[] = {
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (wxGIFHandler
*)new wxGIFHandler();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11938 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11941 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11943 return Py_BuildValue((char *)"");
11945 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxPCXHandler
*result
;
11948 char *kwnames
[] = {
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (wxPCXHandler
*)new wxPCXHandler();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11967 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11970 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11972 return Py_BuildValue((char *)"");
11974 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxJPEGHandler
*result
;
11977 char *kwnames
[] = {
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11996 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11999 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12001 return Py_BuildValue((char *)"");
12003 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxPNMHandler
*result
;
12006 char *kwnames
[] = {
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (wxPNMHandler
*)new wxPNMHandler();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12025 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12028 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12030 return Py_BuildValue((char *)"");
12032 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxXPMHandler
*result
;
12035 char *kwnames
[] = {
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (wxXPMHandler
*)new wxXPMHandler();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12054 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12057 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12059 return Py_BuildValue((char *)"");
12061 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxTIFFHandler
*result
;
12064 char *kwnames
[] = {
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12083 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12086 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12088 return Py_BuildValue((char *)"");
12090 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxImage
*arg1
= 0 ;
12093 wxImage
*arg2
= 0 ;
12094 int arg3
= (int) 236 ;
12095 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 PyObject
* obj3
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12109 if (arg1
== NULL
) {
12110 PyErr_SetString(PyExc_TypeError
,"null reference");
12113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12116 if (arg2
== NULL
) {
12117 PyErr_SetString(PyExc_TypeError
,"null reference");
12121 arg3
= (int)SWIG_As_int(obj2
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 arg4
= (int)SWIG_As_int(obj3
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12144 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12147 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12149 return Py_BuildValue((char *)"");
12151 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxEvtHandler
*result
;
12154 char *kwnames
[] = {
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (wxEvtHandler
*)new wxEvtHandler();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12173 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12176 wxEvtHandler
*result
;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= wxPyMake_wxObject(result
, 0);
12201 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12204 wxEvtHandler
*result
;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= wxPyMake_wxObject(result
, 0);
12229 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12232 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "handler", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->SetNextHandler(arg2
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12261 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self",(char *) "handler", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->SetPreviousHandler(arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12287 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12315 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "enabled", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 arg2
= (bool)SWIG_As_bool(obj1
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 (arg1
)->SetEvtHandlerEnabled(arg2
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12347 wxEvent
*arg2
= 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "event", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12361 if (arg2
== NULL
) {
12362 PyErr_SetString(PyExc_TypeError
,"null reference");
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12381 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12384 wxEvent
*arg2
= 0 ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self",(char *) "event", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12397 if (arg2
== NULL
) {
12398 PyErr_SetString(PyExc_TypeError
,"null reference");
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->AddPendingEvent(*arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12415 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->ProcessPendingEvents();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12446 PyObject
*arg5
= (PyObject
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 PyObject
* obj2
= 0 ;
12450 PyObject
* obj3
= 0 ;
12451 PyObject
* obj4
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (int)SWIG_As_int(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12461 arg3
= (int)SWIG_As_int(obj2
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12463 arg4
= (int)SWIG_As_int(obj3
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 Py_INCREF(Py_None
); resultobj
= Py_None
;
12480 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12484 int arg3
= (int) -1 ;
12485 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 PyObject
* obj2
= 0 ;
12490 PyObject
* obj3
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 arg2
= (int)SWIG_As_int(obj1
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 arg3
= (int)SWIG_As_int(obj2
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12524 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12527 PyObject
*arg2
= (PyObject
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "_self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 wxEvtHandler__setOORInfo(arg1
,arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12555 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12557 return Py_BuildValue((char *)"");
12559 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxEventType result
;
12562 char *kwnames
[] = {
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxEventType
)wxNewEventType();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_From_int((int)result
);
12581 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxEvent
*arg1
= (wxEvent
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxEvent
*arg1
= (wxEvent
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "typ", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetEventType(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxEvent
*arg1
= (wxEvent
*) 0 ;
12638 wxEventType result
;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_From_int((int)result
);
12661 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxEvent
*arg1
= (wxEvent
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= wxPyMake_wxObject(result
, 0);
12689 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxEvent
*arg1
= (wxEvent
*) 0 ;
12692 wxObject
*arg2
= (wxObject
*) 0 ;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self",(char *) "obj", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetEventObject(arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxEvent
*arg1
= (wxEvent
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_From_long((long)result
);
12744 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxEvent
*arg1
= (wxEvent
*) 0 ;
12747 long arg2
= (long) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "ts", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 arg2
= (long)SWIG_As_long(obj1
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 (arg1
)->SetTimestamp(arg2
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 Py_INCREF(Py_None
); resultobj
= Py_None
;
12775 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxEvent
*arg1
= (wxEvent
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (int)((wxEvent
const *)arg1
)->GetId();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_From_int((int)result
);
12801 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxEvent
*arg1
= (wxEvent
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self",(char *) "Id", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 arg2
= (int)SWIG_As_int(obj1
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 (arg1
)->SetId(arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxEvent
*arg1
= (wxEvent
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxEvent
*arg1
= (wxEvent
*) 0 ;
12861 bool arg2
= (bool) true ;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "skip", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 arg2
= (bool)SWIG_As_bool(obj1
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->Skip(arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxEvent
*arg1
= (wxEvent
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12917 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxEvent
*arg1
= (wxEvent
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12945 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxEvent
*arg1
= (wxEvent
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (int)(arg1
)->StopPropagation();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_From_int((int)result
);
12971 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxEvent
*arg1
= (wxEvent
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self",(char *) "propagationLevel", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12984 arg2
= (int)SWIG_As_int(obj1
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->ResumePropagation(arg2
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13000 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxEvent
*arg1
= (wxEvent
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= (wxEvent
*)(arg1
)->Clone();
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13026 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13029 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13031 return Py_BuildValue((char *)"");
13033 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxEvent
*arg1
= 0 ;
13036 wxPropagationDisabler
*result
;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "event", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13046 if (arg1
== NULL
) {
13047 PyErr_SetString(PyExc_TypeError
,"null reference");
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13064 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13092 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13094 return Py_BuildValue((char *)"");
13096 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxEvent
*arg1
= 0 ;
13099 wxPropagateOnce
*result
;
13100 PyObject
* obj0
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "event", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13109 if (arg1
== NULL
) {
13110 PyErr_SetString(PyExc_TypeError
,"null reference");
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13127 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 Py_INCREF(Py_None
); resultobj
= Py_None
;
13152 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13155 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13157 return Py_BuildValue((char *)"");
13159 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13162 int arg2
= (int) 0 ;
13163 wxCommandEvent
*result
;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "commandType",(char *) "winid", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13172 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 arg2
= (int)SWIG_As_int(obj1
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13193 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_From_int((int)result
);
13219 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13222 wxString
*arg2
= 0 ;
13223 bool temp2
= false ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self",(char *) "s", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 arg2
= wxString_in_helper(obj1
);
13235 if (arg2
== NULL
) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->SetString((wxString
const &)*arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13292 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13320 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "extraLong", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= (long)SWIG_As_long(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->SetExtraLong(arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_From_long((long)result
);
13403 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "i", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 arg2
= (int)SWIG_As_int(obj1
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 (arg1
)->SetInt(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 Py_INCREF(Py_None
); resultobj
= Py_None
;
13432 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_From_long((long)result
);
13458 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13484 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13487 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13489 return Py_BuildValue((char *)"");
13491 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13494 int arg2
= (int) 0 ;
13495 wxNotifyEvent
*result
;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "commandType",(char *) "winid", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 arg2
= (int)SWIG_As_int(obj1
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13525 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)(arg1
)->IsAllowed();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13606 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13608 return Py_BuildValue((char *)"");
13610 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13613 int arg2
= (int) 0 ;
13614 int arg3
= (int) 0 ;
13615 int arg4
= (int) 0 ;
13616 wxScrollEvent
*result
;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 PyObject
* obj3
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13627 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 arg2
= (int)SWIG_As_int(obj1
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 arg3
= (int)SWIG_As_int(obj2
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 arg4
= (int)SWIG_As_int(obj3
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13656 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_From_int((int)result
);
13682 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= SWIG_From_int((int)result
);
13708 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "orient", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg2
= (int)SWIG_As_int(obj1
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->SetOrientation(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self",(char *) "pos", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 arg2
= (int)SWIG_As_int(obj1
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 (arg1
)->SetPosition(arg2
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 Py_INCREF(Py_None
); resultobj
= Py_None
;
13766 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13769 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13771 return Py_BuildValue((char *)"");
13773 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13776 int arg2
= (int) 0 ;
13777 int arg3
= (int) 0 ;
13778 wxScrollWinEvent
*result
;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13788 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13792 arg2
= (int)SWIG_As_int(obj1
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13796 arg3
= (int)SWIG_As_int(obj2
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13813 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_From_int((int)result
);
13839 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_From_int((int)result
);
13865 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self",(char *) "orient", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13878 arg2
= (int)SWIG_As_int(obj1
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SetOrientation(arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 Py_INCREF(Py_None
); resultobj
= Py_None
;
13894 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self",(char *) "pos", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 arg2
= (int)SWIG_As_int(obj1
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 (arg1
)->SetPosition(arg2
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 Py_INCREF(Py_None
); resultobj
= Py_None
;
13923 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13926 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13928 return Py_BuildValue((char *)"");
13930 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13933 wxMouseEvent
*result
;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "mouseType", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13941 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= wxPyMake_wxObject(result
, 1);
13960 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13991 int arg2
= (int) wxMOUSE_BTN_ANY
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "but", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 arg2
= (int)SWIG_As_int(obj1
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14022 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14025 int arg2
= (int) wxMOUSE_BTN_ANY
;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "but", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 arg2
= (int)SWIG_As_int(obj1
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14056 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14059 int arg2
= (int) wxMOUSE_BTN_ANY
;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self",(char *) "but", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 arg2
= (int)SWIG_As_int(obj1
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14090 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self",(char *) "but", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 arg2
= (int)SWIG_As_int(obj1
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14122 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "but", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 arg2
= (int)SWIG_As_int(obj1
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14154 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_From_int((int)result
);
14180 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14236 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14292 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14348 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14376 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14460 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)(arg1
)->LeftIsDown();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (bool)(arg1
)->MiddleIsDown();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14628 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)(arg1
)->RightIsDown();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14712 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14740 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14768 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (arg1
)->GetPosition();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 wxPoint
* resultptr
;
14789 resultptr
= new wxPoint((wxPoint
&) result
);
14790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14798 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 long *arg2
= (long *) 0 ;
14802 long *arg3
= (long *) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self", NULL
14812 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14813 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->GetPosition(arg2
,arg3
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 Py_INCREF(Py_None
); resultobj
= Py_None
;
14825 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14826 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14827 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14828 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14835 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self",(char *) "dc", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14852 if (arg2
== NULL
) {
14853 PyErr_SetString(PyExc_TypeError
,"null reference");
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14864 wxPoint
* resultptr
;
14865 resultptr
= new wxPoint((wxPoint
&) result
);
14866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14874 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_From_int((int)result
);
14900 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_From_int((int)result
);
14926 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_From_int((int)result
);
14952 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_From_int((int)result
);
14978 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_From_int((int)result
);
15004 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15032 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "m_x", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 arg2
= (int)SWIG_As_int(obj1
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15047 if (arg1
) (arg1
)->m_x
= arg2
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15068 result
= (int) ((arg1
)->m_x
);
15070 resultobj
= SWIG_From_int((int)result
);
15077 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "m_y", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15090 arg2
= (int)SWIG_As_int(obj1
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15092 if (arg1
) (arg1
)->m_y
= arg2
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 result
= (int) ((arg1
)->m_y
);
15115 resultobj
= SWIG_From_int((int)result
);
15122 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "m_leftDown", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 arg2
= (bool)SWIG_As_bool(obj1
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15137 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15139 Py_INCREF(Py_None
); resultobj
= Py_None
;
15146 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 result
= (bool) ((arg1
)->m_leftDown
);
15161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15169 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self",(char *) "m_middleDown", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 arg2
= (bool)SWIG_As_bool(obj1
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15184 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15186 Py_INCREF(Py_None
); resultobj
= Py_None
;
15193 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15205 result
= (bool) ((arg1
)->m_middleDown
);
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15216 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "m_rightDown", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 arg2
= (bool)SWIG_As_bool(obj1
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15231 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15233 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 result
= (bool) ((arg1
)->m_rightDown
);
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "m_controlDown", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 arg2
= (bool)SWIG_As_bool(obj1
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15278 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15280 Py_INCREF(Py_None
); resultobj
= Py_None
;
15287 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 result
= (bool) ((arg1
)->m_controlDown
);
15302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15310 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "m_shiftDown", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 arg2
= (bool)SWIG_As_bool(obj1
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15325 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15327 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 result
= (bool) ((arg1
)->m_shiftDown
);
15349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15357 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "m_altDown", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 arg2
= (bool)SWIG_As_bool(obj1
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15372 if (arg1
) (arg1
)->m_altDown
= arg2
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15381 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 result
= (bool) ((arg1
)->m_altDown
);
15396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15404 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "m_metaDown", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 arg2
= (bool)SWIG_As_bool(obj1
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15419 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15421 Py_INCREF(Py_None
); resultobj
= Py_None
;
15428 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15440 result
= (bool) ((arg1
)->m_metaDown
);
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self",(char *) "m_wheelRotation", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 arg2
= (int)SWIG_As_int(obj1
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15466 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 result
= (int) ((arg1
)->m_wheelRotation
);
15489 resultobj
= SWIG_From_int((int)result
);
15496 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "m_wheelDelta", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 arg2
= (int)SWIG_As_int(obj1
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15511 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 result
= (int) ((arg1
)->m_wheelDelta
);
15534 resultobj
= SWIG_From_int((int)result
);
15541 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "m_linesPerAction", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 arg2
= (int)SWIG_As_int(obj1
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15556 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15558 Py_INCREF(Py_None
); resultobj
= Py_None
;
15565 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15577 result
= (int) ((arg1
)->m_linesPerAction
);
15579 resultobj
= SWIG_From_int((int)result
);
15586 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15589 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15591 return Py_BuildValue((char *)"");
15593 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 int arg1
= (int) 0 ;
15596 int arg2
= (int) 0 ;
15597 wxSetCursorEvent
*result
;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "x",(char *) "y", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15606 arg1
= (int)SWIG_As_int(obj0
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 arg2
= (int)SWIG_As_int(obj1
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15627 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_From_int((int)result
);
15653 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= SWIG_From_int((int)result
);
15679 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15682 wxCursor
*arg2
= 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "cursor", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15695 if (arg2
== NULL
) {
15696 PyErr_SetString(PyExc_TypeError
,"null reference");
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 Py_INCREF(Py_None
); resultobj
= Py_None
;
15713 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15729 result
= (wxCursor
*) &_result_ref
;
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 wxCursor
* resultptr
= new wxCursor(*result
);
15737 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15745 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15776 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15778 return Py_BuildValue((char *)"");
15780 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15783 wxKeyEvent
*result
;
15784 PyObject
* obj0
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "keyType", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15791 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15808 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15892 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15920 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15976 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_From_int((int)result
);
16002 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= SWIG_From_int((int)result
);
16028 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16031 unsigned int result
;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16054 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 unsigned int result
;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16080 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (arg1
)->GetPosition();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 wxPoint
* resultptr
;
16101 resultptr
= new wxPoint((wxPoint
&) result
);
16102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16110 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16113 long *arg2
= (long *) 0 ;
16114 long *arg3
= (long *) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16125 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 (arg1
)->GetPosition(arg2
,arg3
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16137 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16138 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16139 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16140 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16147 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_From_int((int)result
);
16173 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_From_int((int)result
);
16199 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 PyObject
* obj1
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "m_x", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16212 arg2
= (int)SWIG_As_int(obj1
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16214 if (arg1
) (arg1
)->m_x
= arg2
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 result
= (int) ((arg1
)->m_x
);
16237 resultobj
= SWIG_From_int((int)result
);
16244 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "m_y", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 arg2
= (int)SWIG_As_int(obj1
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16259 if (arg1
) (arg1
)->m_y
= arg2
;
16261 Py_INCREF(Py_None
); resultobj
= Py_None
;
16268 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 result
= (int) ((arg1
)->m_y
);
16282 resultobj
= SWIG_From_int((int)result
);
16289 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self",(char *) "m_keyCode", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 arg2
= (long)SWIG_As_long(obj1
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16304 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16306 Py_INCREF(Py_None
); resultobj
= Py_None
;
16313 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 result
= (long) ((arg1
)->m_keyCode
);
16327 resultobj
= SWIG_From_long((long)result
);
16334 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "m_controlDown", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 arg2
= (bool)SWIG_As_bool(obj1
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16349 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 result
= (bool) ((arg1
)->m_controlDown
);
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16381 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "m_shiftDown", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 arg2
= (bool)SWIG_As_bool(obj1
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16396 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16398 Py_INCREF(Py_None
); resultobj
= Py_None
;
16405 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 result
= (bool) ((arg1
)->m_shiftDown
);
16420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16428 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "m_altDown", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 arg2
= (bool)SWIG_As_bool(obj1
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16443 if (arg1
) (arg1
)->m_altDown
= arg2
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 result
= (bool) ((arg1
)->m_altDown
);
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16475 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "m_metaDown", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 arg2
= (bool)SWIG_As_bool(obj1
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16490 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16492 Py_INCREF(Py_None
); resultobj
= Py_None
;
16499 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 result
= (bool) ((arg1
)->m_metaDown
);
16514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16522 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "m_scanCode", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 arg2
= (bool)SWIG_As_bool(obj1
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16537 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 result
= (bool) ((arg1
)->m_scanCode
);
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16572 unsigned int arg2
;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "m_rawCode", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16584 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16596 unsigned int result
;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16605 result
= (unsigned int) ((arg1
)->m_rawCode
);
16607 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16614 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16617 unsigned int arg2
;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "m_rawFlags", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16629 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16631 Py_INCREF(Py_None
); resultobj
= Py_None
;
16638 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16641 unsigned int result
;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16652 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16659 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16662 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16664 return Py_BuildValue((char *)"");
16666 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16669 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16670 int arg2
= (int) 0 ;
16671 wxSizeEvent
*result
;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "sz",(char *) "winid", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16683 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16687 arg2
= (int)SWIG_As_int(obj1
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16704 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 wxSize
* resultptr
;
16725 resultptr
= new wxSize((wxSize
&) result
);
16726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16734 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 wxRect
* resultptr
;
16755 resultptr
= new wxRect((wxRect
&) result
);
16756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16764 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "rect", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16779 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 (arg1
)->SetRect(arg2
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self",(char *) "size", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16809 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16810 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 wxSizeEvent_SetSize(arg1
,arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16829 wxSize
*arg2
= (wxSize
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "m_size", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16841 if (arg1
) (arg1
)->m_size
= *arg2
;
16843 Py_INCREF(Py_None
); resultobj
= Py_None
;
16850 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16862 result
= (wxSize
*)& ((arg1
)->m_size
);
16864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16871 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16874 wxRect
*arg2
= (wxRect
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "m_rect", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 if (arg1
) (arg1
)->m_rect
= *arg2
;
16888 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16907 result
= (wxRect
*)& ((arg1
)->m_rect
);
16909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16916 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16919 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16921 return Py_BuildValue((char *)"");
16923 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16926 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16927 int arg2
= (int) 0 ;
16928 wxMoveEvent
*result
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "pos",(char *) "winid", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16940 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16944 arg2
= (int)SWIG_As_int(obj1
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16961 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16981 wxPoint
* resultptr
;
16982 resultptr
= new wxPoint((wxPoint
&) result
);
16983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16991 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 wxRect
* resultptr
;
17012 resultptr
= new wxRect((wxRect
&) result
);
17013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17021 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "rect", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17036 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 (arg1
)->SetRect(arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "pos", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17067 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 wxMoveEvent_SetPosition(arg1
,arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17086 wxPoint
*arg2
= (wxPoint
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "m_pos", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 if (arg1
) (arg1
)->m_pos
= *arg2
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17128 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17131 wxRect
*arg2
= (wxRect
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "m_rect", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 if (arg1
) (arg1
)->m_rect
= *arg2
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17152 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 result
= (wxRect
*)& ((arg1
)->m_rect
);
17166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17173 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17178 return Py_BuildValue((char *)"");
17180 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 int arg1
= (int) 0 ;
17183 wxPaintEvent
*result
;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "Id", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17191 arg1
= (int)SWIG_As_int(obj0
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17208 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17213 return Py_BuildValue((char *)"");
17215 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 int arg1
= (int) 0 ;
17218 wxNcPaintEvent
*result
;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "winid", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17226 arg1
= (int)SWIG_As_int(obj0
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17243 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17248 return Py_BuildValue((char *)"");
17250 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 int arg1
= (int) 0 ;
17253 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17254 wxEraseEvent
*result
;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "Id",(char *) "dc", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 arg1
= (int)SWIG_As_int(obj0
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17284 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= wxPyMake_wxObject(result
, 0);
17312 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17315 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17317 return Py_BuildValue((char *)"");
17319 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17322 int arg2
= (int) 0 ;
17323 wxFocusEvent
*result
;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "type",(char *) "winid", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17332 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 arg2
= (int)SWIG_As_int(obj1
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17353 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= wxPyMake_wxObject(result
, 0);
17381 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17384 wxWindow
*arg2
= (wxWindow
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "win", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->SetWindow(arg2
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17413 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17415 return Py_BuildValue((char *)"");
17417 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxWindow
*arg1
= (wxWindow
*) NULL
;
17420 wxChildFocusEvent
*result
;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "win", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17445 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= wxPyMake_wxObject(result
, 0);
17473 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17476 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17478 return Py_BuildValue((char *)"");
17480 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17483 bool arg2
= (bool) true ;
17484 int arg3
= (int) 0 ;
17485 wxActivateEvent
*result
;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 PyObject
* obj2
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "type",(char *) "active",(char *) "Id", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17495 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 arg2
= (bool)SWIG_As_bool(obj1
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 arg3
= (int)SWIG_As_int(obj2
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17520 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 char *kwnames
[] = {
17526 (char *) "self", NULL
17529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17548 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17551 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17553 return Py_BuildValue((char *)"");
17555 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 int arg1
= (int) 0 ;
17558 wxInitDialogEvent
*result
;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "Id", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17566 arg1
= (int)SWIG_As_int(obj0
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17583 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17586 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17588 return Py_BuildValue((char *)"");
17590 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17593 int arg2
= (int) 0 ;
17594 wxMenu
*arg3
= (wxMenu
*) NULL
;
17595 wxMenuEvent
*result
;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "type",(char *) "winid",(char *) "menu", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17605 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 arg2
= (int)SWIG_As_int(obj1
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17630 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= SWIG_From_int((int)result
);
17656 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17684 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= wxPyMake_wxObject(result
, 0);
17712 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17715 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17717 return Py_BuildValue((char *)"");
17719 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17722 int arg2
= (int) 0 ;
17723 wxCloseEvent
*result
;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "type",(char *) "winid", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 arg2
= (int)SWIG_As_int(obj1
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17753 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self",(char *) "logOff", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17766 arg2
= (bool)SWIG_As_bool(obj1
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetLoggingOff(arg2
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 Py_INCREF(Py_None
); resultobj
= Py_None
;
17782 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17810 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17813 bool arg2
= (bool) true ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self",(char *) "veto", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 arg2
= (bool)SWIG_As_bool(obj1
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 (arg1
)->Veto(arg2
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 Py_INCREF(Py_None
); resultobj
= Py_None
;
17841 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "canVeto", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 arg2
= (bool)SWIG_As_bool(obj1
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 (arg1
)->SetCanVeto(arg2
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 Py_INCREF(Py_None
); resultobj
= Py_None
;
17870 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17898 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17926 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17929 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17931 return Py_BuildValue((char *)"");
17933 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 int arg1
= (int) 0 ;
17936 bool arg2
= (bool) false ;
17937 wxShowEvent
*result
;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "winid",(char *) "show", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 arg1
= (int)SWIG_As_int(obj0
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17950 arg2
= (bool)SWIG_As_bool(obj1
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17967 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "show", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 arg2
= (bool)SWIG_As_bool(obj1
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 (arg1
)->SetShow(arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18024 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18027 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18029 return Py_BuildValue((char *)"");
18031 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 int arg1
= (int) 0 ;
18034 bool arg2
= (bool) true ;
18035 wxIconizeEvent
*result
;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "id",(char *) "iconized", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18044 arg1
= (int)SWIG_As_int(obj0
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 arg2
= (bool)SWIG_As_bool(obj1
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18065 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)(arg1
)->Iconized();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18096 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18098 return Py_BuildValue((char *)"");
18100 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 int arg1
= (int) 0 ;
18103 wxMaximizeEvent
*result
;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "id", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18111 arg1
= (int)SWIG_As_int(obj0
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18128 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18131 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18133 return Py_BuildValue((char *)"");
18135 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (arg1
)->GetPosition();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 wxPoint
* resultptr
;
18156 resultptr
= new wxPoint((wxPoint
&) result
);
18157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18165 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (int)(arg1
)->GetNumberOfFiles();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_From_int((int)result
);
18191 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
;
18217 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18220 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18222 return Py_BuildValue((char *)"");
18224 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 int arg1
= (int) 0 ;
18227 wxUpdateUIEvent
*result
;
18228 PyObject
* obj0
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "commandId", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18235 arg1
= (int)SWIG_As_int(obj0
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18252 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18280 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18340 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18368 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18396 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18424 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "check", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 arg2
= (bool)SWIG_As_bool(obj1
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->Check(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "enable", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 arg2
= (bool)SWIG_As_bool(obj1
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->Enable(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18485 wxString
*arg2
= 0 ;
18486 bool temp2
= false ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self",(char *) "text", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 arg2
= wxString_in_helper(obj1
);
18498 if (arg2
== NULL
) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 (arg1
)->SetText((wxString
const &)*arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "updateInterval", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18532 arg1
= (long)SWIG_As_long(obj0
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18551 char *kwnames
[] = {
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_long((long)result
);
18570 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxWindow
*arg1
= (wxWindow
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "win", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18598 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 char *kwnames
[] = {
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 wxUpdateUIEvent::ResetUpdateTime();
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 Py_INCREF(Py_None
); resultobj
= Py_None
;
18619 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "mode", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18628 arg1
= (int)SWIG_As_int(obj0
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18647 char *kwnames
[] = {
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (int)wxUpdateUIEvent::GetMode();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_From_int((int)result
);
18666 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18669 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18671 return Py_BuildValue((char *)"");
18673 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxSysColourChangedEvent
*result
;
18676 char *kwnames
[] = {
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18695 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18698 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18700 return Py_BuildValue((char *)"");
18702 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 int arg1
= (int) 0 ;
18705 wxWindow
*arg2
= (wxWindow
*) NULL
;
18706 wxMouseCaptureChangedEvent
*result
;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "winid",(char *) "gainedCapture", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18715 arg1
= (int)SWIG_As_int(obj0
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18736 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= wxPyMake_wxObject(result
, 0);
18764 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18767 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18769 return Py_BuildValue((char *)"");
18771 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxDisplayChangedEvent
*result
;
18774 char *kwnames
[] = {
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18793 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18796 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18798 return Py_BuildValue((char *)"");
18800 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 int arg1
= (int) 0 ;
18803 wxPaletteChangedEvent
*result
;
18804 PyObject
* obj0
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "id", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18811 arg1
= (int)SWIG_As_int(obj0
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18828 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18831 wxWindow
*arg2
= (wxWindow
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self",(char *) "win", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 (arg1
)->SetChangedWindow(arg2
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 Py_INCREF(Py_None
); resultobj
= Py_None
;
18857 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18861 PyObject
* obj0
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 resultobj
= wxPyMake_wxObject(result
, 0);
18885 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18888 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18890 return Py_BuildValue((char *)"");
18892 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 int arg1
= (int) 0 ;
18895 wxQueryNewPaletteEvent
*result
;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "winid", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18903 arg1
= (int)SWIG_As_int(obj0
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18920 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self",(char *) "realized", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18933 arg2
= (bool)SWIG_As_bool(obj1
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->SetPaletteRealized(arg2
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 Py_INCREF(Py_None
); resultobj
= Py_None
;
18949 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18980 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18982 return Py_BuildValue((char *)"");
18984 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxNavigationKeyEvent
*result
;
18987 char *kwnames
[] = {
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19006 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self",(char *) "forward", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19047 arg2
= (bool)SWIG_As_bool(obj1
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->SetDirection(arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "ischange", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 arg2
= (bool)SWIG_As_bool(obj1
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->SetWindowChange(arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "flags", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19133 arg2
= (long)SWIG_As_long(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetFlags(arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= wxPyMake_wxObject(result
, 0);
19177 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19180 wxWindow
*arg2
= (wxWindow
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "win", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->SetCurrentFocus(arg2
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 Py_INCREF(Py_None
); resultobj
= Py_None
;
19206 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19209 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19211 return Py_BuildValue((char *)"");
19213 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxWindow
*arg1
= (wxWindow
*) NULL
;
19216 wxWindowCreateEvent
*result
;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "win", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19241 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= wxPyMake_wxObject(result
, 0);
19269 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19272 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19274 return Py_BuildValue((char *)"");
19276 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxWindow
*arg1
= (wxWindow
*) NULL
;
19279 wxWindowDestroyEvent
*result
;
19280 PyObject
* obj0
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "win", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19304 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= wxPyMake_wxObject(result
, 0);
19332 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19337 return Py_BuildValue((char *)"");
19339 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19342 int arg2
= (int) 0 ;
19343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19345 wxContextMenuEvent
*result
;
19347 PyObject
* obj0
= 0 ;
19348 PyObject
* obj1
= 0 ;
19349 PyObject
* obj2
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "type",(char *) "winid",(char *) "pt", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19356 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 arg2
= (int)SWIG_As_int(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19383 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19399 result
= (wxPoint
*) &_result_ref
;
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19412 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19415 wxPoint
*arg2
= 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "pos", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19447 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19449 return Py_BuildValue((char *)"");
19451 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxIdleEvent
*result
;
19454 char *kwnames
[] = {
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (wxIdleEvent
*)new wxIdleEvent();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19473 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19476 bool arg2
= (bool) true ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "needMore", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 arg2
= (bool)SWIG_As_bool(obj1
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->RequestMore(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19532 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "mode", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19541 arg1
= (int)SWIG_As_int(obj0
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19560 char *kwnames
[] = {
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (int)wxIdleEvent::GetMode();
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_From_int((int)result
);
19579 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxWindow
*arg1
= (wxWindow
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "win", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (bool)wxIdleEvent::CanSend(arg1
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19607 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19610 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19612 return Py_BuildValue((char *)"");
19614 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 int arg1
= (int) 0 ;
19617 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "winid",(char *) "commandType", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19627 arg1
= (int)SWIG_As_int(obj0
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19648 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19673 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19676 PyObject
*arg2
= (PyObject
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "self", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->SetSelf(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (PyObject
*)(arg1
)->GetSelf();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= result
;
19727 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19730 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19732 return Py_BuildValue((char *)"");
19734 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19737 int arg2
= (int) 0 ;
19738 wxPyCommandEvent
*result
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "commandType",(char *) "id", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 arg2
= (int)SWIG_As_int(obj1
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19768 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 Py_INCREF(Py_None
); resultobj
= Py_None
;
19793 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19796 PyObject
*arg2
= (PyObject
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->SetSelf(arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (PyObject
*)(arg1
)->GetSelf();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
;
19847 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19850 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19852 return Py_BuildValue((char *)"");
19854 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19857 char *kwnames
[] = {
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (wxPyApp
*)new_wxPyApp();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19876 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 Py_INCREF(Py_None
); resultobj
= Py_None
;
19901 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19904 PyObject
*arg2
= (PyObject
*) 0 ;
19905 PyObject
*arg3
= (PyObject
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 PyObject
* obj2
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "self",(char *) "_class", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19932 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19964 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19967 wxString
*arg2
= 0 ;
19968 bool temp2
= false ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self",(char *) "name", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 arg2
= wxString_in_helper(obj1
);
19980 if (arg2
== NULL
) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->SetAppName((wxString
const &)*arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20037 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20040 wxString
*arg2
= 0 ;
20041 bool temp2
= false ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "name", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 arg2
= wxString_in_helper(obj1
);
20053 if (arg2
== NULL
) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 (arg1
)->SetClassName((wxString
const &)*arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20094 result
= (wxString
*) &_result_ref
;
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20113 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20116 wxString
*arg2
= 0 ;
20117 bool temp2
= false ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self",(char *) "name", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 arg2
= wxString_in_helper(obj1
);
20129 if (arg2
== NULL
) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 Py_INCREF(Py_None
); resultobj
= Py_None
;
20154 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20157 wxAppTraits
*result
;
20158 PyObject
* obj0
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20180 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->ProcessPendingEvents();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20208 bool arg2
= (bool) false ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "onlyIfNeeded", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 arg2
= (bool)SWIG_As_bool(obj1
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (bool)(arg1
)->Yield(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->WakeUpIdle();
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20267 char *kwnames
[] = {
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)wxPyApp::IsMainLoopRunning();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (int)(arg1
)->MainLoop();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_From_int((int)result
);
20314 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 Py_INCREF(Py_None
); resultobj
= Py_None
;
20339 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->ExitMainLoop();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (bool)(arg1
)->Pending();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20392 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20396 PyObject
* obj0
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "self", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (bool)(arg1
)->Dispatch();
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20420 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (bool)(arg1
)->ProcessIdle();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20448 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20451 wxWindow
*arg2
= (wxWindow
*) 0 ;
20452 wxIdleEvent
*arg3
= 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self",(char *) "win",(char *) "event", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20469 if (arg3
== NULL
) {
20470 PyErr_SetString(PyExc_TypeError
,"null reference");
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20489 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20517 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20520 wxWindow
*arg2
= (wxWindow
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self",(char *) "win", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->SetTopWindow(arg2
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= wxPyMake_wxObject(result
, 0);
20574 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "flag", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (bool)SWIG_As_bool(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetExitOnFrameDelete(arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 Py_INCREF(Py_None
); resultobj
= Py_None
;
20603 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20631 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self",(char *) "flag", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20644 arg2
= (bool)SWIG_As_bool(obj1
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 (arg1
)->SetUseBestVisual(arg2
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 Py_INCREF(Py_None
); resultobj
= Py_None
;
20660 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20688 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "mode", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 arg2
= (int)SWIG_As_int(obj1
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->SetPrintMode(arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_From_int((int)result
);
20743 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "mode", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 arg2
= (int)SWIG_As_int(obj1
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->SetAssertMode(arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 Py_INCREF(Py_None
); resultobj
= Py_None
;
20772 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (int)(arg1
)->GetAssertMode();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_From_int((int)result
);
20798 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20801 char *kwnames
[] = {
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20822 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20825 char *kwnames
[] = {
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_From_long((long)result
);
20844 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20847 char *kwnames
[] = {
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_From_long((long)result
);
20866 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20869 char *kwnames
[] = {
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (long)wxPyApp::GetMacExitMenuItemId();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_From_long((long)result
);
20888 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20891 char *kwnames
[] = {
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= wxPyApp::GetMacHelpMenuTitleName();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20916 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20919 PyObject
* obj0
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "val", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20925 arg1
= (bool)SWIG_As_bool(obj0
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 Py_INCREF(Py_None
); resultobj
= Py_None
;
20941 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20944 PyObject
* obj0
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "val", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20950 arg1
= (long)SWIG_As_long(obj0
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 wxPyApp::SetMacAboutMenuItemId(arg1
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 Py_INCREF(Py_None
); resultobj
= Py_None
;
20966 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "val", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20975 arg1
= (long)SWIG_As_long(obj0
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 Py_INCREF(Py_None
); resultobj
= Py_None
;
20991 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "val", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21000 arg1
= (long)SWIG_As_long(obj0
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 wxPyApp::SetMacExitMenuItemId(arg1
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxString
*arg1
= 0 ;
21019 bool temp1
= false ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "val", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21027 arg1
= wxString_in_helper(obj0
);
21028 if (arg1
== NULL
) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21053 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->_BootstrapApp();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 Py_INCREF(Py_None
); resultobj
= Py_None
;
21078 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21081 char *kwnames
[] = {
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (int)wxPyApp::GetComCtl32Version();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_From_int((int)result
);
21100 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21103 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21105 return Py_BuildValue((char *)"");
21107 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 char *kwnames
[] = {
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21131 char *kwnames
[] = {
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)wxYield();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21155 char *kwnames
[] = {
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)wxYieldIfNeeded();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxWindow
*arg1
= (wxWindow
*) NULL
;
21179 bool arg2
= (bool) false ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "win",(char *) "onlyIfNeeded", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21193 arg2
= (bool)SWIG_As_bool(obj1
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (bool)wxSafeYield(arg1
,arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21212 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 char *kwnames
[] = {
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 Py_INCREF(Py_None
); resultobj
= Py_None
;
21233 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21236 wxEvent
*arg2
= 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "dest",(char *) "event", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21249 if (arg2
== NULL
) {
21250 PyErr_SetString(PyExc_TypeError
,"null reference");
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 wxPostEvent(arg1
,*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 Py_INCREF(Py_None
); resultobj
= Py_None
;
21267 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 char *kwnames
[] = {
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 Py_INCREF(Py_None
); resultobj
= Py_None
;
21288 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21291 char *kwnames
[] = {
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxPyApp
*)wxPyGetApp();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= wxPyMake_wxObject(result
, 0);
21312 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxEventLoop
*result
;
21315 char *kwnames
[] = {
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (wxEventLoop
*)new wxEventLoop();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21334 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 Py_INCREF(Py_None
); resultobj
= Py_None
;
21359 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (int)(arg1
)->Run();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_From_int((int)result
);
21385 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21388 int arg2
= (int) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "rc", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21399 arg2
= (int)SWIG_As_int(obj1
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->Exit(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21444 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)(arg1
)->Dispatch();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21472 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxEventLoop
*result
;
21503 char *kwnames
[] = {
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21522 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "loop", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 wxEventLoop::SetActive(arg1
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21550 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21552 return Py_BuildValue((char *)"");
21554 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 int arg1
= (int) 0 ;
21557 int arg2
= (int) 0 ;
21558 int arg3
= (int) 0 ;
21559 wxAcceleratorEntry
*result
;
21560 PyObject
* obj0
= 0 ;
21561 PyObject
* obj1
= 0 ;
21562 PyObject
* obj2
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21569 arg1
= (int)SWIG_As_int(obj0
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 arg2
= (int)SWIG_As_int(obj1
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 arg3
= (int)SWIG_As_int(obj2
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21594 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 Py_INCREF(Py_None
); resultobj
= Py_None
;
21619 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 PyObject
* obj3
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 arg2
= (int)SWIG_As_int(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21638 arg3
= (int)SWIG_As_int(obj2
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21640 arg4
= (int)SWIG_As_int(obj3
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->Set(arg2
,arg3
,arg4
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (int)(arg1
)->GetFlags();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_From_int((int)result
);
21682 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (int)(arg1
)->GetKeyCode();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_From_int((int)result
);
21708 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (int)(arg1
)->GetCommand();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_From_int((int)result
);
21734 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21737 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21739 return Py_BuildValue((char *)"");
21741 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21744 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21745 wxAcceleratorTable
*result
;
21746 PyObject
* obj0
= 0 ;
21747 char *kwnames
[] = {
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21753 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21754 if (arg2
) arg1
= PyList_Size(obj0
);
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21777 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21830 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21833 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21835 return Py_BuildValue((char *)"");
21837 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21838 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21843 static PyObject
*_wrap_NullAcceleratorTable_get() {
21846 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21851 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxString
*arg1
= 0 ;
21854 wxAcceleratorEntry
*result
;
21855 bool temp1
= false ;
21856 PyObject
* obj0
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "label", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21863 arg1
= wxString_in_helper(obj0
);
21864 if (arg1
== NULL
) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21889 static int _wrap_PanelNameStr_set(PyObject
*) {
21890 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21895 static PyObject
*_wrap_PanelNameStr_get() {
21900 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21902 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21909 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxVisualAttributes
*result
;
21912 char *kwnames
[] = {
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21931 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 delete_wxVisualAttributes(arg1
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21956 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21959 wxFont
*arg2
= (wxFont
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self",(char *) "font", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 if (arg1
) (arg1
)->font
= *arg2
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21980 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 result
= (wxFont
*)& ((arg1
)->font
);
21994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22001 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22004 wxColour
*arg2
= (wxColour
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "colFg", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22016 if (arg1
) (arg1
)->colFg
= *arg2
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 result
= (wxColour
*)& ((arg1
)->colFg
);
22039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22046 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22049 wxColour
*arg2
= (wxColour
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "colBg", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 if (arg1
) (arg1
)->colBg
= *arg2
;
22063 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "self", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 result
= (wxColour
*)& ((arg1
)->colBg
);
22084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22091 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22094 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22096 return Py_BuildValue((char *)"");
22098 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22100 wxWindow
*arg1
= (wxWindow
*) 0 ;
22101 int arg2
= (int) (int)-1 ;
22102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22106 long arg5
= (long) 0 ;
22107 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22112 bool temp6
= false ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 PyObject
* obj2
= 0 ;
22116 PyObject
* obj3
= 0 ;
22117 PyObject
* obj4
= 0 ;
22118 PyObject
* obj5
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 arg2
= (int)SWIG_As_int(obj1
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22143 arg5
= (long)SWIG_As_long(obj4
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22148 arg6
= wxString_in_helper(obj5
);
22149 if (arg6
== NULL
) SWIG_fail
;
22154 if (!wxPyCheckForApp()) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22176 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22179 char *kwnames
[] = {
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22185 if (!wxPyCheckForApp()) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (wxWindow
*)new wxWindow();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22199 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxWindow
*arg1
= (wxWindow
*) 0 ;
22202 wxWindow
*arg2
= (wxWindow
*) 0 ;
22203 int arg3
= (int) (int)-1 ;
22204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22208 long arg6
= (long) 0 ;
22209 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22210 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22214 bool temp7
= false ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 PyObject
* obj2
= 0 ;
22218 PyObject
* obj3
= 0 ;
22219 PyObject
* obj4
= 0 ;
22220 PyObject
* obj5
= 0 ;
22221 PyObject
* obj6
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22232 arg3
= (int)SWIG_As_int(obj2
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22248 arg6
= (long)SWIG_As_long(obj5
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22253 arg7
= wxString_in_helper(obj6
);
22254 if (arg7
== NULL
) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22282 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxWindow
*arg1
= (wxWindow
*) 0 ;
22285 bool arg2
= (bool) false ;
22287 PyObject
* obj0
= 0 ;
22288 PyObject
* obj1
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self",(char *) "force", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 arg2
= (bool)SWIG_As_bool(obj1
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (bool)(arg1
)->Close(arg2
);
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22316 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxWindow
*arg1
= (wxWindow
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)(arg1
)->Destroy();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxWindow
*arg1
= (wxWindow
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= (bool)(arg1
)->DestroyChildren();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxWindow
*arg1
= (wxWindow
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22400 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxWindow
*arg1
= (wxWindow
*) 0 ;
22403 wxString
*arg2
= 0 ;
22404 bool temp2
= false ;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "title", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22415 arg2
= wxString_in_helper(obj1
);
22416 if (arg2
== NULL
) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 (arg1
)->SetTitle((wxString
const &)*arg2
);
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 Py_INCREF(Py_None
); resultobj
= Py_None
;
22441 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxWindow
*arg1
= (wxWindow
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= ((wxWindow
const *)arg1
)->GetTitle();
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22473 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxWindow
*arg1
= (wxWindow
*) 0 ;
22476 wxString
*arg2
= 0 ;
22477 bool temp2
= false ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "label", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 arg2
= wxString_in_helper(obj1
);
22489 if (arg2
== NULL
) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetLabel((wxString
const &)*arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22514 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxWindow
*arg1
= (wxWindow
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= ((wxWindow
const *)arg1
)->GetLabel();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22546 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxWindow
*arg1
= (wxWindow
*) 0 ;
22549 wxString
*arg2
= 0 ;
22550 bool temp2
= false ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "name", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 arg2
= wxString_in_helper(obj1
);
22562 if (arg2
== NULL
) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 (arg1
)->SetName((wxString
const &)*arg2
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxWindow
*arg1
= (wxWindow
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxWindow
const *)arg1
)->GetName();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22619 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxWindow
*arg1
= (wxWindow
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "variant", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 arg2
= (int)SWIG_As_int(obj1
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 Py_INCREF(Py_None
); resultobj
= Py_None
;
22648 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxWindow
*arg1
= (wxWindow
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_From_int((int)result
);
22674 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxWindow
*arg1
= (wxWindow
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 PyObject
* obj1
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self",(char *) "winid", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22687 arg2
= (int)SWIG_As_int(obj1
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->SetId(arg2
);
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxWindow
*arg1
= (wxWindow
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (int)((wxWindow
const *)arg1
)->GetId();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_From_int((int)result
);
22729 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22732 char *kwnames
[] = {
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (int)wxWindow::NewControlId();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_From_int((int)result
);
22751 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "winid", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22761 arg1
= (int)SWIG_As_int(obj0
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= (int)wxWindow::NextControlId(arg1
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_From_int((int)result
);
22777 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "winid", NULL
22786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22787 arg1
= (int)SWIG_As_int(obj0
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= (int)wxWindow::PrevControlId(arg1
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_From_int((int)result
);
22803 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22805 wxWindow
*arg1
= (wxWindow
*) 0 ;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "size", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SetSize((wxSize
const &)*arg2
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 int arg6
= (int) wxSIZE_AUTO
;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 PyObject
* obj2
= 0 ;
22846 PyObject
* obj3
= 0 ;
22847 PyObject
* obj4
= 0 ;
22848 PyObject
* obj5
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 arg2
= (int)SWIG_As_int(obj1
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22858 arg3
= (int)SWIG_As_int(obj2
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22860 arg4
= (int)SWIG_As_int(obj3
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22862 arg5
= (int)SWIG_As_int(obj4
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 arg6
= (int)SWIG_As_int(obj5
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 Py_INCREF(Py_None
); resultobj
= Py_None
;
22882 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxWindow
*arg1
= (wxWindow
*) 0 ;
22886 int arg3
= (int) wxSIZE_AUTO
;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 PyObject
* obj2
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22903 arg3
= (int)SWIG_As_int(obj2
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxWindow
*arg1
= (wxWindow
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "width",(char *) "height", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 arg2
= (int)SWIG_As_int(obj1
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22937 arg3
= (int)SWIG_As_int(obj2
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->SetSize(arg2
,arg3
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 Py_INCREF(Py_None
); resultobj
= Py_None
;
22953 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxWindow
*arg1
= (wxWindow
*) 0 ;
22956 wxPoint
*arg2
= 0 ;
22957 int arg3
= (int) wxSIZE_USE_EXISTING
;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 PyObject
* obj2
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self",(char *) "pt",(char *) "flags", NULL
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22974 arg3
= (int)SWIG_As_int(obj2
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxWindow
*arg1
= (wxWindow
*) 0 ;
22996 int arg4
= (int) wxSIZE_USE_EXISTING
;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj2
= 0 ;
23000 PyObject
* obj3
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 arg2
= (int)SWIG_As_int(obj1
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23010 arg3
= (int)SWIG_As_int(obj2
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 arg4
= (int)SWIG_As_int(obj3
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->Move(arg2
,arg3
,arg4
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxWindow
*arg1
= (wxWindow
*) 0 ;
23033 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23034 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "size", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 Py_INCREF(Py_None
); resultobj
= Py_None
;
23065 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxWindow
*arg1
= (wxWindow
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 Py_INCREF(Py_None
); resultobj
= Py_None
;
23090 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxWindow
*arg1
= (wxWindow
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 Py_INCREF(Py_None
); resultobj
= Py_None
;
23115 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self",(char *) "size", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 Py_INCREF(Py_None
); resultobj
= Py_None
;
23147 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxWindow
*arg1
= (wxWindow
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 PyObject
* obj2
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "width",(char *) "height", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 arg2
= (int)SWIG_As_int(obj1
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23164 arg3
= (int)SWIG_As_int(obj2
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 (arg1
)->SetClientSize(arg2
,arg3
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 Py_INCREF(Py_None
); resultobj
= Py_None
;
23180 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxWindow
*arg1
= (wxWindow
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "rect", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23196 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (arg1
)->GetPosition();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 wxPoint
* resultptr
;
23233 resultptr
= new wxPoint((wxPoint
&) result
);
23234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23242 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxWindow
*arg1
= (wxWindow
*) 0 ;
23245 int *arg2
= (int *) 0 ;
23246 int *arg3
= (int *) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self", NULL
23256 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23257 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->GetPosition(arg2
,arg3
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23269 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23270 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23271 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23272 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23279 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxWindow
*arg1
= (wxWindow
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= ((wxWindow
const *)arg1
)->GetSize();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 wxSize
* resultptr
;
23300 resultptr
= new wxSize((wxSize
&) result
);
23301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23309 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxWindow
*arg1
= (wxWindow
*) 0 ;
23312 int *arg2
= (int *) 0 ;
23313 int *arg3
= (int *) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23324 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23337 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23338 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23339 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23346 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= ((wxWindow
const *)arg1
)->GetRect();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 wxRect
* resultptr
;
23367 resultptr
= new wxRect((wxRect
&) result
);
23368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23376 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxWindow
*arg1
= (wxWindow
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23396 wxSize
* resultptr
;
23397 resultptr
= new wxSize((wxSize
&) result
);
23398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23406 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxWindow
*arg1
= (wxWindow
*) 0 ;
23409 int *arg2
= (int *) 0 ;
23410 int *arg3
= (int *) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self", NULL
23420 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23421 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23434 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23435 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23436 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23443 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxWindow
*arg1
= (wxWindow
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 wxPoint
* resultptr
;
23464 resultptr
= new wxPoint((wxPoint
&) result
);
23465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23473 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxWindow
*arg1
= (wxWindow
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 wxRect
* resultptr
;
23494 resultptr
= new wxRect((wxRect
&) result
);
23495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23503 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxWindow
*arg1
= (wxWindow
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxSize
* resultptr
;
23524 resultptr
= new wxSize((wxSize
&) result
);
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23533 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxWindow
*arg1
= (wxWindow
*) 0 ;
23536 int *arg2
= (int *) 0 ;
23537 int *arg3
= (int *) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self", NULL
23547 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23548 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 Py_INCREF(Py_None
); resultobj
= Py_None
;
23560 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23561 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23562 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23563 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23570 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxWindow
*arg1
= (wxWindow
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 (arg1
)->InvalidateBestSize();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 Py_INCREF(Py_None
); resultobj
= Py_None
;
23595 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxWindow
*arg1
= (wxWindow
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 wxSize
* resultptr
;
23616 resultptr
= new wxSize((wxSize
&) result
);
23617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23625 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxWindow
*arg1
= (wxWindow
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 wxSize
* resultptr
;
23646 resultptr
= new wxSize((wxSize
&) result
);
23647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23655 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxWindow
*arg1
= (wxWindow
*) 0 ;
23658 int arg2
= (int) wxBOTH
;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self",(char *) "direction", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 arg2
= (int)SWIG_As_int(obj1
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 (arg1
)->Center(arg2
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 Py_INCREF(Py_None
); resultobj
= Py_None
;
23686 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 int arg2
= (int) wxBOTH
;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "dir", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 arg2
= (int)SWIG_As_int(obj1
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 (arg1
)->CenterOnScreen(arg2
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 Py_INCREF(Py_None
); resultobj
= Py_None
;
23717 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxWindow
*arg1
= (wxWindow
*) 0 ;
23720 int arg2
= (int) wxBOTH
;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "dir", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg2
= (int)SWIG_As_int(obj1
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 (arg1
)->CenterOnParent(arg2
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 Py_INCREF(Py_None
); resultobj
= Py_None
;
23748 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxWindow
*arg1
= (wxWindow
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->FitInside();
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 Py_INCREF(Py_None
); resultobj
= Py_None
;
23798 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23800 wxWindow
*arg1
= (wxWindow
*) 0 ;
23803 int arg4
= (int) -1 ;
23804 int arg5
= (int) -1 ;
23805 int arg6
= (int) -1 ;
23806 int arg7
= (int) -1 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 PyObject
* obj2
= 0 ;
23810 PyObject
* obj3
= 0 ;
23811 PyObject
* obj4
= 0 ;
23812 PyObject
* obj5
= 0 ;
23813 PyObject
* obj6
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23821 arg2
= (int)SWIG_As_int(obj1
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23823 arg3
= (int)SWIG_As_int(obj2
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 arg4
= (int)SWIG_As_int(obj3
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 arg5
= (int)SWIG_As_int(obj4
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 arg6
= (int)SWIG_As_int(obj5
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 arg7
= (int)SWIG_As_int(obj6
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 Py_INCREF(Py_None
); resultobj
= Py_None
;
23855 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxWindow
*arg1
= (wxWindow
*) 0 ;
23859 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23860 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23861 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23862 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 PyObject
* obj2
= 0 ;
23869 PyObject
* obj3
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23884 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23890 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxWindow
*arg1
= (wxWindow
*) 0 ;
23912 int arg4
= (int) -1 ;
23913 int arg5
= (int) -1 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 PyObject
* obj3
= 0 ;
23918 PyObject
* obj4
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 arg2
= (int)SWIG_As_int(obj1
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23928 arg3
= (int)SWIG_As_int(obj2
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 arg4
= (int)SWIG_As_int(obj3
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23935 arg5
= (int)SWIG_As_int(obj4
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxWindow
*arg1
= (wxWindow
*) 0 ;
23956 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23957 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23977 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxWindow
*arg1
= (wxWindow
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 wxSize
* resultptr
;
24015 resultptr
= new wxSize((wxSize
&) result
);
24016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24024 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxWindow
*arg1
= (wxWindow
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 wxSize
* resultptr
;
24045 resultptr
= new wxSize((wxSize
&) result
);
24046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24054 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxWindow
*arg1
= (wxWindow
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self",(char *) "minSize", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 Py_INCREF(Py_None
); resultobj
= Py_None
;
24086 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxWindow
*arg1
= (wxWindow
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "maxSize", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxWindow
*arg1
= (wxWindow
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_From_int((int)result
);
24144 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxWindow
*arg1
= (wxWindow
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_From_int((int)result
);
24170 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxWindow
*arg1
= (wxWindow
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_From_int((int)result
);
24196 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxWindow
*arg1
= (wxWindow
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_From_int((int)result
);
24222 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxWindow
*arg1
= (wxWindow
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "size", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 Py_INCREF(Py_None
); resultobj
= Py_None
;
24254 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxWindow
*arg1
= (wxWindow
*) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 PyObject
* obj2
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "w",(char *) "h", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 arg2
= (int)SWIG_As_int(obj1
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24271 arg3
= (int)SWIG_As_int(obj2
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 (arg1
)->SetVirtualSize(arg2
,arg3
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 Py_INCREF(Py_None
); resultobj
= Py_None
;
24287 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxWindow
*arg1
= (wxWindow
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 wxSize
* resultptr
;
24308 resultptr
= new wxSize((wxSize
&) result
);
24309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24317 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxWindow
*arg1
= (wxWindow
*) 0 ;
24320 int *arg2
= (int *) 0 ;
24321 int *arg3
= (int *) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self", NULL
24331 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24332 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 Py_INCREF(Py_None
); resultobj
= Py_None
;
24344 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24345 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24346 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24347 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24354 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxWindow
*arg1
= (wxWindow
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 wxSize
* resultptr
;
24375 resultptr
= new wxSize((wxSize
&) result
);
24376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24384 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxWindow
*arg1
= (wxWindow
*) 0 ;
24387 bool arg2
= (bool) true ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "show", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 arg2
= (bool)SWIG_As_bool(obj1
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (bool)(arg1
)->Show(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24418 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (bool)(arg1
)->Hide();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24446 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxWindow
*arg1
= (wxWindow
*) 0 ;
24449 bool arg2
= (bool) true ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self",(char *) "enable", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 arg2
= (bool)SWIG_As_bool(obj1
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (bool)(arg1
)->Enable(arg2
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24480 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxWindow
*arg1
= (wxWindow
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (bool)(arg1
)->Disable();
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24508 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxWindow
*arg1
= (wxWindow
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxWindow
*arg1
= (wxWindow
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24564 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxWindow
*arg1
= (wxWindow
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self",(char *) "style", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24577 arg2
= (long)SWIG_As_long(obj1
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->SetWindowStyleFlag(arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24593 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxWindow
*arg1
= (wxWindow
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_From_long((long)result
);
24619 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxWindow
*arg1
= (wxWindow
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "flag", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 arg2
= (int)SWIG_As_int(obj1
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24651 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxWindow
*arg1
= (wxWindow
*) 0 ;
24655 PyObject
* obj0
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24679 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxWindow
*arg1
= (wxWindow
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self",(char *) "exStyle", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24692 arg2
= (long)SWIG_As_long(obj1
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->SetExtraStyle(arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= SWIG_From_long((long)result
);
24734 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxWindow
*arg1
= (wxWindow
*) 0 ;
24737 bool arg2
= (bool) true ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "modal", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 arg2
= (bool)SWIG_As_bool(obj1
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->MakeModal(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 Py_INCREF(Py_None
); resultobj
= Py_None
;
24765 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "enableTheme", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 arg2
= (bool)SWIG_As_bool(obj1
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 (arg1
)->SetThemeEnabled(arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 Py_INCREF(Py_None
); resultobj
= Py_None
;
24794 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24822 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxWindow
*arg1
= (wxWindow
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->SetFocus();
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxWindow
*arg1
= (wxWindow
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->SetFocusFromKbd();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 Py_INCREF(Py_None
); resultobj
= Py_None
;
24872 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24875 char *kwnames
[] = {
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24881 if (!wxPyCheckForApp()) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (wxWindow
*)wxWindow::FindFocus();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= wxPyMake_wxObject(result
, 0);
24897 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxWindow
*arg1
= (wxWindow
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxWindow
*arg1
= (wxWindow
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24953 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxWindow
*arg1
= (wxWindow
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= wxPyMake_wxObject(result
, 0);
24981 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 wxWindow
*arg2
= (wxWindow
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "child", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= wxPyMake_wxObject(result
, 0);
25013 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25016 wxWindow
*arg2
= (wxWindow
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "win", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->SetTmpDefaultItem(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxWindow
*arg1
= (wxWindow
*) 0 ;
25045 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self",(char *) "flags", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 arg2
= (int)SWIG_As_int(obj1
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (bool)(arg1
)->Navigate(arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25076 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxWindow
*arg1
= (wxWindow
*) 0 ;
25079 wxWindow
*arg2
= (wxWindow
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "win", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->MoveAfterInTabOrder(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25105 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxWindow
*arg1
= (wxWindow
*) 0 ;
25108 wxWindow
*arg2
= (wxWindow
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self",(char *) "win", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->MoveBeforeInTabOrder(arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxWindow
*arg1
= (wxWindow
*) 0 ;
25138 PyObject
* obj0
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= result
;
25160 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= wxPyMake_wxObject(result
, 0);
25188 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxWindow
*arg1
= (wxWindow
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= wxPyMake_wxObject(result
, 0);
25216 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25244 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxWindow
*arg1
= (wxWindow
*) 0 ;
25247 wxWindow
*arg2
= (wxWindow
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "newParent", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 result
= (bool)(arg1
)->Reparent(arg2
);
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25276 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxWindow
*arg1
= (wxWindow
*) 0 ;
25279 wxWindow
*arg2
= (wxWindow
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "child", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->AddChild(arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 Py_INCREF(Py_None
); resultobj
= Py_None
;
25305 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxWindow
*arg1
= (wxWindow
*) 0 ;
25308 wxWindow
*arg2
= (wxWindow
*) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "child", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 (arg1
)->RemoveChild(arg2
);
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25327 Py_INCREF(Py_None
); resultobj
= Py_None
;
25334 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "winid", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25348 arg2
= (long)SWIG_As_long(obj1
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= wxPyMake_wxObject(result
, 0);
25366 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxWindow
*arg1
= (wxWindow
*) 0 ;
25369 wxString
*arg2
= 0 ;
25371 bool temp2
= false ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "name", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 arg2
= wxString_in_helper(obj1
);
25383 if (arg2
== NULL
) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= wxPyMake_wxObject(result
, 0);
25410 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxWindow
*arg1
= (wxWindow
*) 0 ;
25413 wxEvtHandler
*result
;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= wxPyMake_wxObject(result
, 0);
25438 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxWindow
*arg1
= (wxWindow
*) 0 ;
25441 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "handler", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->SetEventHandler(arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxWindow
*arg1
= (wxWindow
*) 0 ;
25470 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self",(char *) "handler", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 (arg1
)->PushEventHandler(arg2
);
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 Py_INCREF(Py_None
); resultobj
= Py_None
;
25496 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxWindow
*arg1
= (wxWindow
*) 0 ;
25499 bool arg2
= (bool) false ;
25500 wxEvtHandler
*result
;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "self",(char *) "deleteHandler", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25511 arg2
= (bool)SWIG_As_bool(obj1
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= wxPyMake_wxObject(result
, 0);
25530 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxWindow
*arg1
= (wxWindow
*) 0 ;
25533 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self",(char *) "handler", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25562 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxWindow
*arg1
= (wxWindow
*) 0 ;
25565 wxValidator
*arg2
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "validator", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25578 if (arg2
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference");
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 Py_INCREF(Py_None
); resultobj
= Py_None
;
25596 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxWindow
*arg1
= (wxWindow
*) 0 ;
25599 wxValidator
*result
;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (wxValidator
*)(arg1
)->GetValidator();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= wxPyMake_wxObject(result
, 0);
25624 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxWindow
*arg1
= (wxWindow
*) 0 ;
25628 PyObject
* obj0
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (bool)(arg1
)->Validate();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25652 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25656 PyObject
* obj0
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (bool)(arg1
)->TransferDataToWindow();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25680 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxWindow
*arg1
= (wxWindow
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (bool)(arg1
)->TransferDataFromWindow();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25708 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25710 wxWindow
*arg1
= (wxWindow
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->InitDialog();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxWindow
*arg1
= (wxWindow
*) 0 ;
25736 wxAcceleratorTable
*arg2
= 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "accel", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25749 if (arg2
== NULL
) {
25750 PyErr_SetString(PyExc_TypeError
,"null reference");
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 Py_INCREF(Py_None
); resultobj
= Py_None
;
25767 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxWindow
*arg1
= (wxWindow
*) 0 ;
25770 wxAcceleratorTable
*result
;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25793 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxWindow
*arg1
= (wxWindow
*) 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 PyObject
* obj2
= 0 ;
25803 PyObject
* obj3
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 arg2
= (int)SWIG_As_int(obj1
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25813 arg3
= (int)SWIG_As_int(obj2
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25815 arg4
= (int)SWIG_As_int(obj3
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25833 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxWindow
*arg1
= (wxWindow
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "hotkeyId", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 arg2
= (int)SWIG_As_int(obj1
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25865 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25868 wxPoint
*arg2
= 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "pt", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 wxPoint
* resultptr
;
25893 resultptr
= new wxPoint((wxPoint
&) result
);
25894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25902 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxWindow
*arg1
= (wxWindow
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "sz", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 wxSize
* resultptr
;
25930 resultptr
= new wxSize((wxSize
&) result
);
25931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25939 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 wxPoint
*arg2
= 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "pt", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 wxPoint
* resultptr
;
25967 resultptr
= new wxPoint((wxPoint
&) result
);
25968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25976 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
;
25978 wxWindow
*arg1
= (wxWindow
*) 0 ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "sz", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25993 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 wxSize
* resultptr
;
26004 resultptr
= new wxSize((wxSize
&) result
);
26005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26013 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxWindow
*arg1
= (wxWindow
*) 0 ;
26016 wxPoint
*arg2
= 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char *kwnames
[] = {
26022 (char *) "self",(char *) "pt", NULL
26025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26040 wxPoint
* resultptr
;
26041 resultptr
= new wxPoint((wxPoint
&) result
);
26042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26050 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxWindow
*arg1
= (wxWindow
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "sz", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 wxSize
* resultptr
;
26078 resultptr
= new wxSize((wxSize
&) result
);
26079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26087 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxWindow
*arg1
= (wxWindow
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 PyObject
* obj2
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "x",(char *) "y", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 arg2
= (int)SWIG_As_int(obj1
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26104 arg3
= (int)SWIG_As_int(obj2
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->WarpPointer(arg2
,arg3
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 Py_INCREF(Py_None
); resultobj
= Py_None
;
26120 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxWindow
*arg1
= (wxWindow
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->CaptureMouse();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxWindow
*arg1
= (wxWindow
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 (arg1
)->ReleaseMouse();
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 Py_INCREF(Py_None
); resultobj
= Py_None
;
26170 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26173 char *kwnames
[] = {
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26179 if (!wxPyCheckForApp()) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (wxWindow
*)wxWindow::GetCapture();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= wxPyMake_wxObject(result
, 0);
26195 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxWindow
*arg1
= (wxWindow
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxWindow
*arg1
= (wxWindow
*) 0 ;
26226 bool arg2
= (bool) true ;
26227 wxRect
*arg3
= (wxRect
*) NULL
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 arg2
= (bool)SWIG_As_bool(obj1
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxWindow
*arg1
= (wxWindow
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "rect", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxWindow
*arg1
= (wxWindow
*) 0 ;
26295 PyObject
* obj0
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->ClearBackground();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxWindow
*arg1
= (wxWindow
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26367 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxWindow
*arg1
= (wxWindow
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 Py_INCREF(Py_None
); resultobj
= Py_None
;
26392 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxWindow
*arg1
= (wxWindow
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self",(char *) "dc", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26408 if (arg2
== NULL
) {
26409 PyErr_SetString(PyExc_TypeError
,"null reference");
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 (arg1
)->PrepareDC(*arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 Py_INCREF(Py_None
); resultobj
= Py_None
;
26426 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxWindow
*arg1
= (wxWindow
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26442 result
= (wxRegion
*) &_result_ref
;
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26455 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 wxRect
* resultptr
;
26476 resultptr
= new wxRect((wxRect
&) result
);
26477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26485 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26490 int arg4
= (int) 1 ;
26491 int arg5
= (int) 1 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 PyObject
* obj2
= 0 ;
26496 PyObject
* obj3
= 0 ;
26497 PyObject
* obj4
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26505 arg2
= (int)SWIG_As_int(obj1
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26507 arg3
= (int)SWIG_As_int(obj2
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 arg4
= (int)SWIG_As_int(obj3
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 arg5
= (int)SWIG_As_int(obj4
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26533 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxWindow
*arg1
= (wxWindow
*) 0 ;
26536 wxPoint
*arg2
= 0 ;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "pt", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26568 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxWindow
*arg1
= (wxWindow
*) 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "rect", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26585 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26603 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxWindow
*arg1
= (wxWindow
*) 0 ;
26606 wxVisualAttributes result
;
26607 PyObject
* obj0
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 wxVisualAttributes
* resultptr
;
26624 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26633 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26636 wxVisualAttributes result
;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "variant", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26644 arg1
= (int)SWIG_As_int(obj0
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 if (!wxPyCheckForApp()) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26656 wxVisualAttributes
* resultptr
;
26657 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26666 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxWindow
*arg1
= (wxWindow
*) 0 ;
26669 wxColour
*arg2
= 0 ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self",(char *) "colour", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26701 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxWindow
*arg1
= (wxWindow
*) 0 ;
26704 wxColour
*arg2
= 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self",(char *) "colour", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26717 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 Py_INCREF(Py_None
); resultobj
= Py_None
;
26733 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxWindow
*arg1
= (wxWindow
*) 0 ;
26736 wxColour
*arg2
= 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "colour", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26768 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxWindow
*arg1
= (wxWindow
*) 0 ;
26771 wxColour
*arg2
= 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "colour", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 wxColour
* resultptr
;
26821 resultptr
= new wxColour((wxColour
&) result
);
26822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26830 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxWindow
*arg1
= (wxWindow
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26850 wxColour
* resultptr
;
26851 resultptr
= new wxColour((wxColour
&) result
);
26852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26860 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxWindow
*arg1
= (wxWindow
*) 0 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 char *kwnames
[] = {
26868 (char *) "self",(char *) "style", NULL
26871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26874 arg2
= (int)SWIG_As_int(obj1
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26892 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxWindow
*arg1
= (wxWindow
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= SWIG_From_int((int)result
);
26918 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 wxCursor
*arg2
= 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "cursor", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26935 if (arg2
== NULL
) {
26936 PyErr_SetString(PyExc_TypeError
,"null reference");
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26955 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxWindow
*arg1
= (wxWindow
*) 0 ;
26959 PyObject
* obj0
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (arg1
)->GetCursor();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 wxCursor
* resultptr
;
26976 resultptr
= new wxCursor((wxCursor
&) result
);
26977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26985 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxWindow
*arg1
= (wxWindow
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "font", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27002 if (arg2
== NULL
) {
27003 PyErr_SetString(PyExc_TypeError
,"null reference");
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27022 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
;
27024 wxWindow
*arg1
= (wxWindow
*) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "font", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27038 if (arg2
== NULL
) {
27039 PyErr_SetString(PyExc_TypeError
,"null reference");
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxWindow
*arg1
= (wxWindow
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (arg1
)->GetFont();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 wxFont
* resultptr
;
27077 resultptr
= new wxFont((wxFont
&) result
);
27078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27086 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxWindow
*arg1
= (wxWindow
*) 0 ;
27089 wxCaret
*arg2
= (wxCaret
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "caret", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 (arg1
)->SetCaret(arg2
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 Py_INCREF(Py_None
); resultobj
= Py_None
;
27115 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxWindow
*arg1
= (wxWindow
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27141 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
;
27143 wxWindow
*arg1
= (wxWindow
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_From_int((int)result
);
27167 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxWindow
*arg1
= (wxWindow
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_From_int((int)result
);
27193 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxWindow
*arg1
= (wxWindow
*) 0 ;
27196 wxString
*arg2
= 0 ;
27197 int *arg3
= (int *) 0 ;
27198 int *arg4
= (int *) 0 ;
27199 bool temp2
= false ;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self",(char *) "string", NULL
27210 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27211 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 arg2
= wxString_in_helper(obj1
);
27217 if (arg2
== NULL
) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 Py_INCREF(Py_None
); resultobj
= Py_None
;
27228 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27229 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27230 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27231 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27246 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxWindow
*arg1
= (wxWindow
*) 0 ;
27249 wxString
*arg2
= 0 ;
27250 int *arg3
= (int *) 0 ;
27251 int *arg4
= (int *) 0 ;
27252 int *arg5
= (int *) 0 ;
27253 int *arg6
= (int *) 0 ;
27254 wxFont
*arg7
= (wxFont
*) NULL
;
27255 bool temp2
= false ;
27264 PyObject
* obj0
= 0 ;
27265 PyObject
* obj1
= 0 ;
27266 PyObject
* obj2
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "string",(char *) "font", NULL
27271 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27272 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27273 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27274 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27279 arg2
= wxString_in_helper(obj1
);
27280 if (arg2
== NULL
) SWIG_fail
;
27284 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27296 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27297 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27298 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27299 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27300 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27301 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27302 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27317 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxWindow
*arg1
= (wxWindow
*) 0 ;
27320 int *arg2
= (int *) 0 ;
27321 int *arg3
= (int *) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 PyObject
* obj2
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self",(char *) "x",(char *) "y", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27337 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27338 temp2
= SWIG_As_int(obj1
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 res2
= SWIG_NEWOBJ
;
27345 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27346 temp3
= SWIG_As_int(obj2
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 res3
= SWIG_NEWOBJ
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27361 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27362 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27363 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27370 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxWindow
*arg1
= (wxWindow
*) 0 ;
27373 int *arg2
= (int *) 0 ;
27374 int *arg3
= (int *) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 PyObject
* obj2
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "x",(char *) "y", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27390 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27391 temp2
= SWIG_As_int(obj1
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 res2
= SWIG_NEWOBJ
;
27398 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27399 temp3
= SWIG_As_int(obj2
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 res3
= SWIG_NEWOBJ
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27414 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27415 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27416 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27423 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxWindow
*arg1
= (wxWindow
*) 0 ;
27426 wxPoint
*arg2
= 0 ;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self",(char *) "pt", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 wxPoint
* resultptr
;
27451 resultptr
= new wxPoint((wxPoint
&) result
);
27452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27460 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27463 wxPoint
*arg2
= 0 ;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "pt", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27487 wxPoint
* resultptr
;
27488 resultptr
= new wxPoint((wxPoint
&) result
);
27489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27497 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxWindow
*arg1
= (wxWindow
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27504 PyObject
* obj1
= 0 ;
27505 PyObject
* obj2
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self",(char *) "x",(char *) "y", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 arg2
= (int)SWIG_As_int(obj1
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27515 arg3
= (int)SWIG_As_int(obj2
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_From_int((int)result
);
27531 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxWindow
*arg1
= (wxWindow
*) 0 ;
27534 wxPoint
*arg2
= 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self",(char *) "pt", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 resultobj
= SWIG_From_int((int)result
);
27564 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 PyObject
* obj1
= 0 ;
27572 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27575 arg2
= (long)SWIG_As_long(obj1
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_From_int((int)result
);
27591 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27592 PyObject
*resultobj
;
27593 wxWindow
*arg1
= (wxWindow
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27597 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_From_int((int)result
);
27614 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27619 argc
= PyObject_Length(args
);
27620 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27621 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27627 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27635 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27642 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27650 _v
= SWIG_Check_long(argv
[1]);
27652 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27657 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27662 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxWindow
*arg1
= (wxWindow
*) 0 ;
27665 long arg2
= (long) wxUPDATE_UI_NONE
;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "self",(char *) "flags", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27676 arg2
= (long)SWIG_As_long(obj1
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 (arg1
)->UpdateWindowUI(arg2
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 Py_INCREF(Py_None
); resultobj
= Py_None
;
27693 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxWindow
*arg1
= (wxWindow
*) 0 ;
27696 wxMenu
*arg2
= (wxMenu
*) 0 ;
27697 int arg3
= (int) -1 ;
27698 int arg4
= (int) -1 ;
27700 PyObject
* obj0
= 0 ;
27701 PyObject
* obj1
= 0 ;
27702 PyObject
* obj2
= 0 ;
27703 PyObject
* obj3
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27714 arg3
= (int)SWIG_As_int(obj2
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27718 arg4
= (int)SWIG_As_int(obj3
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27737 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxWindow
*arg1
= (wxWindow
*) 0 ;
27740 wxMenu
*arg2
= (wxMenu
*) 0 ;
27741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 PyObject
* obj2
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "menu",(char *) "pos", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27779 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxWindow
*arg1
= (wxWindow
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (long)wxWindow_GetHandle(arg1
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= SWIG_From_long((long)result
);
27805 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxWindow
*arg1
= (wxWindow
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self",(char *) "handle", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27818 arg2
= (long)SWIG_As_long(obj1
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 wxWindow_AssociateHandle(arg1
,arg2
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 Py_INCREF(Py_None
); resultobj
= Py_None
;
27834 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
;
27836 wxWindow
*arg1
= (wxWindow
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27838 char *kwnames
[] = {
27839 (char *) "self", NULL
27842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->DissociateHandle();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxWindow
*arg1
= (wxWindow
*) 0 ;
27862 wxPaintEvent
*arg2
= 0 ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self",(char *) "event", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27875 if (arg2
== NULL
) {
27876 PyErr_SetString(PyExc_TypeError
,"null reference");
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 (arg1
)->OnPaint(*arg2
);
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 Py_INCREF(Py_None
); resultobj
= Py_None
;
27893 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxWindow
*arg1
= (wxWindow
*) 0 ;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self",(char *) "orient", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 arg2
= (int)SWIG_As_int(obj1
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27925 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxWindow
*arg1
= (wxWindow
*) 0 ;
27932 bool arg6
= (bool) true ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 PyObject
* obj3
= 0 ;
27937 PyObject
* obj4
= 0 ;
27938 PyObject
* obj5
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27946 arg2
= (int)SWIG_As_int(obj1
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27948 arg3
= (int)SWIG_As_int(obj2
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27950 arg4
= (int)SWIG_As_int(obj3
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27952 arg5
= (int)SWIG_As_int(obj4
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 arg6
= (bool)SWIG_As_bool(obj5
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 Py_INCREF(Py_None
); resultobj
= Py_None
;
27972 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxWindow
*arg1
= (wxWindow
*) 0 ;
27977 bool arg4
= (bool) true ;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 PyObject
* obj2
= 0 ;
27981 PyObject
* obj3
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 arg2
= (int)SWIG_As_int(obj1
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27991 arg3
= (int)SWIG_As_int(obj2
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 arg4
= (bool)SWIG_As_bool(obj3
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 Py_INCREF(Py_None
); resultobj
= Py_None
;
28011 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxWindow
*arg1
= (wxWindow
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 char *kwnames
[] = {
28019 (char *) "self",(char *) "orientation", NULL
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28025 arg2
= (int)SWIG_As_int(obj1
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_From_int((int)result
);
28041 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxWindow
*arg1
= (wxWindow
*) 0 ;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "orientation", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 arg2
= (int)SWIG_As_int(obj1
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_From_int((int)result
);
28071 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxWindow
*arg1
= (wxWindow
*) 0 ;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "orientation", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28085 arg2
= (int)SWIG_As_int(obj1
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= SWIG_From_int((int)result
);
28101 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxRect
*arg4
= (wxRect
*) NULL
;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 PyObject
* obj2
= 0 ;
28110 PyObject
* obj3
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28118 arg2
= (int)SWIG_As_int(obj1
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28120 arg3
= (int)SWIG_As_int(obj2
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 Py_INCREF(Py_None
); resultobj
= Py_None
;
28140 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "lines", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 arg2
= (int)SWIG_As_int(obj1
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (bool)(arg1
)->ScrollLines(arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxWindow
*arg1
= (wxWindow
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "self",(char *) "pages", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 arg2
= (int)SWIG_As_int(obj1
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (bool)(arg1
)->ScrollPages(arg2
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28204 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28205 PyObject
*resultobj
;
28206 wxWindow
*arg1
= (wxWindow
*) 0 ;
28208 PyObject
* obj0
= 0 ;
28209 char *kwnames
[] = {
28210 (char *) "self", NULL
28213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 result
= (bool)(arg1
)->LineUp();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28232 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxWindow
*arg1
= (wxWindow
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (bool)(arg1
)->LineDown();
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28260 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (bool)(arg1
)->PageUp();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28288 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxWindow
*arg1
= (wxWindow
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (bool)(arg1
)->PageDown();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxWindow
*arg1
= (wxWindow
*) 0 ;
28319 wxString
*arg2
= 0 ;
28320 bool temp2
= false ;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "text", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28331 arg2
= wxString_in_helper(obj1
);
28332 if (arg2
== NULL
) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 Py_INCREF(Py_None
); resultobj
= Py_None
;
28357 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxWindow
*arg1
= (wxWindow
*) 0 ;
28360 wxString
*arg2
= 0 ;
28361 bool temp2
= false ;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 char *kwnames
[] = {
28365 (char *) "self",(char *) "text", NULL
28368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28372 arg2
= wxString_in_helper(obj1
);
28373 if (arg2
== NULL
) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28398 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28402 PyObject
* obj0
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28430 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxWindow
*arg1
= (wxWindow
*) 0 ;
28433 wxString
*arg2
= 0 ;
28434 bool temp2
= false ;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self",(char *) "tip", NULL
28441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 arg2
= wxString_in_helper(obj1
);
28446 if (arg2
== NULL
) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 Py_INCREF(Py_None
); resultobj
= Py_None
;
28471 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxWindow
*arg1
= (wxWindow
*) 0 ;
28474 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "tip", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 (arg1
)->SetToolTip(arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxWindow
*arg1
= (wxWindow
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= wxPyMake_wxObject(result
, 0);
28528 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxWindow
*arg1
= (wxWindow
*) 0 ;
28531 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self",(char *) "dropTarget", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28542 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 (arg1
)->SetDropTarget(arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 Py_INCREF(Py_None
); resultobj
= Py_None
;
28557 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxWindow
*arg1
= (wxWindow
*) 0 ;
28560 wxPyDropTarget
*result
;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28583 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxWindow
*arg1
= (wxWindow
*) 0 ;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self",(char *) "accept", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28596 arg2
= (bool)SWIG_As_bool(obj1
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 (arg1
)->DragAcceptFiles(arg2
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 Py_INCREF(Py_None
); resultobj
= Py_None
;
28612 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxWindow
*arg1
= (wxWindow
*) 0 ;
28615 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self",(char *) "constraints", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 (arg1
)->SetConstraints(arg2
);
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28634 Py_INCREF(Py_None
); resultobj
= Py_None
;
28641 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxWindow
*arg1
= (wxWindow
*) 0 ;
28644 wxLayoutConstraints
*result
;
28645 PyObject
* obj0
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28667 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 PyObject
* obj0
= 0 ;
28672 PyObject
* obj1
= 0 ;
28673 char *kwnames
[] = {
28674 (char *) "self",(char *) "autoLayout", NULL
28677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28680 arg2
= (bool)SWIG_As_bool(obj1
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 (arg1
)->SetAutoLayout(arg2
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 Py_INCREF(Py_None
); resultobj
= Py_None
;
28696 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxWindow
*arg1
= (wxWindow
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28724 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxWindow
*arg1
= (wxWindow
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 char *kwnames
[] = {
28730 (char *) "self", NULL
28733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (bool)(arg1
)->Layout();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28752 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxWindow
*arg1
= (wxWindow
*) 0 ;
28755 wxSizer
*arg2
= (wxSizer
*) 0 ;
28756 bool arg3
= (bool) true ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 PyObject
* obj2
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28770 arg3
= (bool)SWIG_As_bool(obj2
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 (arg1
)->SetSizer(arg2
,arg3
);
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 Py_INCREF(Py_None
); resultobj
= Py_None
;
28787 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxWindow
*arg1
= (wxWindow
*) 0 ;
28790 wxSizer
*arg2
= (wxSizer
*) 0 ;
28791 bool arg3
= (bool) true ;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 PyObject
* obj2
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28805 arg3
= (bool)SWIG_As_bool(obj2
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 Py_INCREF(Py_None
); resultobj
= Py_None
;
28822 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxWindow
*arg1
= (wxWindow
*) 0 ;
28826 PyObject
* obj0
= 0 ;
28827 char *kwnames
[] = {
28828 (char *) "self", NULL
28831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= wxPyMake_wxSizer(result
, 0);
28850 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxWindow
*arg1
= (wxWindow
*) 0 ;
28853 wxSizer
*arg2
= (wxSizer
*) 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "sizer", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->SetContainingSizer(arg2
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxWindow
*arg1
= (wxWindow
*) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= wxPyMake_wxSizer(result
, 0);
28907 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 (arg1
)->InheritAttributes();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 Py_INCREF(Py_None
); resultobj
= Py_None
;
28932 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxWindow
*arg1
= (wxWindow
*) 0 ;
28936 PyObject
* obj0
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28960 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28963 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28965 return Py_BuildValue((char *)"");
28967 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
;
28970 wxWindow
*arg2
= (wxWindow
*) NULL
;
28972 PyObject
* obj0
= 0 ;
28973 PyObject
* obj1
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "id",(char *) "parent", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28979 arg1
= (long)SWIG_As_long(obj0
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28986 if (!wxPyCheckForApp()) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= wxPyMake_wxObject(result
, 0);
29002 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxString
*arg1
= 0 ;
29005 wxWindow
*arg2
= (wxWindow
*) NULL
;
29007 bool temp1
= false ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "name",(char *) "parent", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29016 arg1
= wxString_in_helper(obj0
);
29017 if (arg1
== NULL
) SWIG_fail
;
29021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29025 if (!wxPyCheckForApp()) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= wxPyMake_wxObject(result
, 0);
29049 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
;
29051 wxString
*arg1
= 0 ;
29052 wxWindow
*arg2
= (wxWindow
*) NULL
;
29054 bool temp1
= false ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "label",(char *) "parent", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29063 arg1
= wxString_in_helper(obj0
);
29064 if (arg1
== NULL
) SWIG_fail
;
29068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29072 if (!wxPyCheckForApp()) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= wxPyMake_wxObject(result
, 0);
29096 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxWindow
*arg1
= (wxWindow
*) 0 ;
29099 unsigned long arg2
;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 char *kwnames
[] = {
29104 (char *) "parent",(char *) "_hWnd", NULL
29107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29110 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29116 wxPyEndAllowThreads(__tstate
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= wxPyMake_wxObject(result
, 0);
29128 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxValidator
*result
;
29131 char *kwnames
[] = {
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (wxValidator
*)new wxValidator();
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29150 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
;
29152 wxValidator
*arg1
= (wxValidator
*) 0 ;
29153 wxValidator
*result
;
29154 PyObject
* obj0
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= (wxValidator
*)(arg1
)->Clone();
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= wxPyMake_wxObject(result
, 0);
29178 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxValidator
*arg1
= (wxValidator
*) 0 ;
29181 wxWindow
*arg2
= (wxWindow
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "parent", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (bool)(arg1
)->Validate(arg2
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxValidator
*arg1
= (wxValidator
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (bool)(arg1
)->TransferToWindow();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29238 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxValidator
*arg1
= (wxValidator
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 result
= (bool)(arg1
)->TransferFromWindow();
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxValidator
*arg1
= (wxValidator
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (wxWindow
*)(arg1
)->GetWindow();
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= wxPyMake_wxObject(result
, 0);
29294 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxValidator
*arg1
= (wxValidator
*) 0 ;
29297 wxWindow
*arg2
= (wxWindow
*) 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "window", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 (arg1
)->SetWindow(arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 Py_INCREF(Py_None
); resultobj
= Py_None
;
29323 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29326 char *kwnames
[] = {
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (bool)wxValidator::IsSilent();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29347 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 int arg1
= (int) true ;
29350 PyObject
* obj0
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "doIt", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29357 arg1
= (int)SWIG_As_int(obj0
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 wxValidator::SetBellOnError(arg1
);
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29367 Py_INCREF(Py_None
); resultobj
= Py_None
;
29374 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29377 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29379 return Py_BuildValue((char *)"");
29381 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxPyValidator
*result
;
29384 char *kwnames
[] = {
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 result
= (wxPyValidator
*)new wxPyValidator();
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29403 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29406 PyObject
*arg2
= (PyObject
*) 0 ;
29407 PyObject
*arg3
= (PyObject
*) 0 ;
29408 int arg4
= (int) true ;
29409 PyObject
* obj0
= 0 ;
29410 PyObject
* obj1
= 0 ;
29411 PyObject
* obj2
= 0 ;
29412 PyObject
* obj3
= 0 ;
29413 char *kwnames
[] = {
29414 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29423 arg4
= (int)SWIG_As_int(obj3
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 Py_INCREF(Py_None
); resultobj
= Py_None
;
29440 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29443 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29445 return Py_BuildValue((char *)"");
29447 static int _wrap_DefaultValidator_set(PyObject
*) {
29448 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29453 static PyObject
*_wrap_DefaultValidator_get() {
29456 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29461 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29464 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29465 long arg2
= (long) 0 ;
29467 bool temp1
= false ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "title",(char *) "style", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29477 arg1
= wxString_in_helper(obj0
);
29478 if (arg1
== NULL
) SWIG_fail
;
29483 arg2
= (long)SWIG_As_long(obj1
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29487 if (!wxPyCheckForApp()) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29509 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxMenu
*arg1
= (wxMenu
*) 0 ;
29513 wxString
*arg3
= 0 ;
29514 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29515 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29516 int arg5
= (int) wxITEM_NORMAL
;
29517 wxMenuItem
*result
;
29518 bool temp3
= false ;
29519 bool temp4
= false ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 PyObject
* obj2
= 0 ;
29523 PyObject
* obj3
= 0 ;
29524 PyObject
* obj4
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 arg2
= (int)SWIG_As_int(obj1
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 arg3
= wxString_in_helper(obj2
);
29536 if (arg3
== NULL
) SWIG_fail
;
29541 arg4
= wxString_in_helper(obj3
);
29542 if (arg4
== NULL
) SWIG_fail
;
29547 arg5
= (int)SWIG_As_int(obj4
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= wxPyMake_wxObject(result
, 0);
29582 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxMenu
*arg1
= (wxMenu
*) 0 ;
29585 wxMenuItem
*result
;
29586 PyObject
* obj0
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= wxPyMake_wxObject(result
, 0);
29610 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxMenu
*arg1
= (wxMenu
*) 0 ;
29614 wxString
*arg3
= 0 ;
29615 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29616 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29617 wxMenuItem
*result
;
29618 bool temp3
= false ;
29619 bool temp4
= false ;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 PyObject
* obj2
= 0 ;
29623 PyObject
* obj3
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29631 arg2
= (int)SWIG_As_int(obj1
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 arg3
= wxString_in_helper(obj2
);
29635 if (arg3
== NULL
) SWIG_fail
;
29640 arg4
= wxString_in_helper(obj3
);
29641 if (arg4
== NULL
) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= wxPyMake_wxObject(result
, 0);
29677 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxMenu
*arg1
= (wxMenu
*) 0 ;
29681 wxString
*arg3
= 0 ;
29682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29684 wxMenuItem
*result
;
29685 bool temp3
= false ;
29686 bool temp4
= false ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 PyObject
* obj2
= 0 ;
29690 PyObject
* obj3
= 0 ;
29691 char *kwnames
[] = {
29692 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29698 arg2
= (int)SWIG_As_int(obj1
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 arg3
= wxString_in_helper(obj2
);
29702 if (arg3
== NULL
) SWIG_fail
;
29707 arg4
= wxString_in_helper(obj3
);
29708 if (arg4
== NULL
) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= wxPyMake_wxObject(result
, 0);
29744 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxMenu
*arg1
= (wxMenu
*) 0 ;
29748 wxString
*arg3
= 0 ;
29749 wxMenu
*arg4
= (wxMenu
*) 0 ;
29750 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29751 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29752 wxMenuItem
*result
;
29753 bool temp3
= false ;
29754 bool temp5
= false ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 PyObject
* obj2
= 0 ;
29758 PyObject
* obj3
= 0 ;
29759 PyObject
* obj4
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29767 arg2
= (int)SWIG_As_int(obj1
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 arg3
= wxString_in_helper(obj2
);
29771 if (arg3
== NULL
) SWIG_fail
;
29774 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29778 arg5
= wxString_in_helper(obj4
);
29779 if (arg5
== NULL
) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= wxPyMake_wxObject(result
, 0);
29815 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
;
29817 wxMenu
*arg1
= (wxMenu
*) 0 ;
29818 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29819 wxMenuItem
*result
;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self",(char *) "item", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= wxPyMake_wxObject(result
, 0);
29847 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
;
29849 wxMenu
*arg1
= (wxMenu
*) 0 ;
29850 PyObject
* obj0
= 0 ;
29851 char *kwnames
[] = {
29852 (char *) "self", NULL
29855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 Py_INCREF(Py_None
); resultobj
= Py_None
;
29872 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxMenu
*arg1
= (wxMenu
*) 0 ;
29876 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29877 wxMenuItem
*result
;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 PyObject
* obj2
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "pos",(char *) "item", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29890 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= wxPyMake_wxObject(result
, 0);
29908 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxMenu
*arg1
= (wxMenu
*) 0 ;
29913 wxString
*arg4
= 0 ;
29914 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29915 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29916 int arg6
= (int) wxITEM_NORMAL
;
29917 wxMenuItem
*result
;
29918 bool temp4
= false ;
29919 bool temp5
= false ;
29920 PyObject
* obj0
= 0 ;
29921 PyObject
* obj1
= 0 ;
29922 PyObject
* obj2
= 0 ;
29923 PyObject
* obj3
= 0 ;
29924 PyObject
* obj4
= 0 ;
29925 PyObject
* obj5
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29935 arg3
= (int)SWIG_As_int(obj2
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 arg4
= wxString_in_helper(obj3
);
29939 if (arg4
== NULL
) SWIG_fail
;
29944 arg5
= wxString_in_helper(obj4
);
29945 if (arg5
== NULL
) SWIG_fail
;
29950 arg6
= (int)SWIG_As_int(obj5
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= wxPyMake_wxObject(result
, 0);
29985 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxMenu
*arg1
= (wxMenu
*) 0 ;
29989 wxMenuItem
*result
;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 char *kwnames
[] = {
29993 (char *) "self",(char *) "pos", NULL
29996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29999 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= wxPyMake_wxObject(result
, 0);
30017 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxMenu
*arg1
= (wxMenu
*) 0 ;
30022 wxString
*arg4
= 0 ;
30023 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30024 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30025 wxMenuItem
*result
;
30026 bool temp4
= false ;
30027 bool temp5
= false ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 PyObject
* obj2
= 0 ;
30031 PyObject
* obj3
= 0 ;
30032 PyObject
* obj4
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30040 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30042 arg3
= (int)SWIG_As_int(obj2
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 arg4
= wxString_in_helper(obj3
);
30046 if (arg4
== NULL
) SWIG_fail
;
30051 arg5
= wxString_in_helper(obj4
);
30052 if (arg5
== NULL
) SWIG_fail
;
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= wxPyMake_wxObject(result
, 0);
30088 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxMenu
*arg1
= (wxMenu
*) 0 ;
30093 wxString
*arg4
= 0 ;
30094 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30095 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30096 wxMenuItem
*result
;
30097 bool temp4
= false ;
30098 bool temp5
= false ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 PyObject
* obj2
= 0 ;
30102 PyObject
* obj3
= 0 ;
30103 PyObject
* obj4
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30111 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30113 arg3
= (int)SWIG_As_int(obj2
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 arg4
= wxString_in_helper(obj3
);
30117 if (arg4
== NULL
) SWIG_fail
;
30122 arg5
= wxString_in_helper(obj4
);
30123 if (arg5
== NULL
) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= wxPyMake_wxObject(result
, 0);
30159 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
;
30161 wxMenu
*arg1
= (wxMenu
*) 0 ;
30164 wxString
*arg4
= 0 ;
30165 wxMenu
*arg5
= (wxMenu
*) 0 ;
30166 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30167 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30168 wxMenuItem
*result
;
30169 bool temp4
= false ;
30170 bool temp6
= false ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 PyObject
* obj2
= 0 ;
30174 PyObject
* obj3
= 0 ;
30175 PyObject
* obj4
= 0 ;
30176 PyObject
* obj5
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30186 arg3
= (int)SWIG_As_int(obj2
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30189 arg4
= wxString_in_helper(obj3
);
30190 if (arg4
== NULL
) SWIG_fail
;
30193 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30197 arg6
= wxString_in_helper(obj5
);
30198 if (arg6
== NULL
) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= wxPyMake_wxObject(result
, 0);
30234 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxMenu
*arg1
= (wxMenu
*) 0 ;
30237 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30238 wxMenuItem
*result
;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "item", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= wxPyMake_wxObject(result
, 0);
30266 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxMenu
*arg1
= (wxMenu
*) 0 ;
30270 wxString
*arg3
= 0 ;
30271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30273 int arg5
= (int) wxITEM_NORMAL
;
30274 wxMenuItem
*result
;
30275 bool temp3
= false ;
30276 bool temp4
= false ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 PyObject
* obj2
= 0 ;
30280 PyObject
* obj3
= 0 ;
30281 PyObject
* obj4
= 0 ;
30282 char *kwnames
[] = {
30283 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30289 arg2
= (int)SWIG_As_int(obj1
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 arg3
= wxString_in_helper(obj2
);
30293 if (arg3
== NULL
) SWIG_fail
;
30298 arg4
= wxString_in_helper(obj3
);
30299 if (arg4
== NULL
) SWIG_fail
;
30304 arg5
= (int)SWIG_As_int(obj4
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= wxPyMake_wxObject(result
, 0);
30339 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxMenu
*arg1
= (wxMenu
*) 0 ;
30342 wxMenuItem
*result
;
30343 PyObject
* obj0
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= wxPyMake_wxObject(result
, 0);
30367 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxMenu
*arg1
= (wxMenu
*) 0 ;
30371 wxString
*arg3
= 0 ;
30372 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30373 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30374 wxMenuItem
*result
;
30375 bool temp3
= false ;
30376 bool temp4
= false ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 PyObject
* obj3
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30388 arg2
= (int)SWIG_As_int(obj1
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 arg3
= wxString_in_helper(obj2
);
30392 if (arg3
== NULL
) SWIG_fail
;
30397 arg4
= wxString_in_helper(obj3
);
30398 if (arg4
== NULL
) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= wxPyMake_wxObject(result
, 0);
30434 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxMenu
*arg1
= (wxMenu
*) 0 ;
30438 wxString
*arg3
= 0 ;
30439 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30440 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30441 wxMenuItem
*result
;
30442 bool temp3
= false ;
30443 bool temp4
= false ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 PyObject
* obj2
= 0 ;
30447 PyObject
* obj3
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 arg2
= (int)SWIG_As_int(obj1
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 arg3
= wxString_in_helper(obj2
);
30459 if (arg3
== NULL
) SWIG_fail
;
30464 arg4
= wxString_in_helper(obj3
);
30465 if (arg4
== NULL
) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= wxPyMake_wxObject(result
, 0);
30501 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxMenu
*arg1
= (wxMenu
*) 0 ;
30505 wxString
*arg3
= 0 ;
30506 wxMenu
*arg4
= (wxMenu
*) 0 ;
30507 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30508 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30509 wxMenuItem
*result
;
30510 bool temp3
= false ;
30511 bool temp5
= false ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 PyObject
* obj2
= 0 ;
30515 PyObject
* obj3
= 0 ;
30516 PyObject
* obj4
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30524 arg2
= (int)SWIG_As_int(obj1
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 arg3
= wxString_in_helper(obj2
);
30528 if (arg3
== NULL
) SWIG_fail
;
30531 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30535 arg5
= wxString_in_helper(obj4
);
30536 if (arg5
== NULL
) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= wxPyMake_wxObject(result
, 0);
30572 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxMenu
*arg1
= (wxMenu
*) 0 ;
30576 wxMenuItem
*result
;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "id", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 arg2
= (int)SWIG_As_int(obj1
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= wxPyMake_wxObject(result
, 0);
30604 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxMenu
*arg1
= (wxMenu
*) 0 ;
30607 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30608 wxMenuItem
*result
;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self",(char *) "item", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= wxPyMake_wxObject(result
, 0);
30636 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
;
30638 wxMenu
*arg1
= (wxMenu
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self",(char *) "id", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30650 arg2
= (int)SWIG_As_int(obj1
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (bool)(arg1
)->Delete(arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30668 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxMenu
*arg1
= (wxMenu
*) 0 ;
30671 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30673 PyObject
* obj0
= 0 ;
30674 PyObject
* obj1
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self",(char *) "item", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= (bool)(arg1
)->Delete(arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30700 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxMenu
*arg1
= (wxMenu
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 wxMenu_Destroy(arg1
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 Py_INCREF(Py_None
); resultobj
= Py_None
;
30725 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxMenu
*arg1
= (wxMenu
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "self",(char *) "id", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30739 arg2
= (int)SWIG_As_int(obj1
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (bool)(arg1
)->Destroy(arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30757 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxMenu
*arg1
= (wxMenu
*) 0 ;
30760 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self",(char *) "item", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (bool)(arg1
)->Destroy(arg2
);
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30789 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxMenu
*arg1
= (wxMenu
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30815 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxMenu
*arg1
= (wxMenu
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= result
;
30841 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxMenu
*arg1
= (wxMenu
*) 0 ;
30844 wxString
*arg2
= 0 ;
30846 bool temp2
= false ;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 char *kwnames
[] = {
30850 (char *) "self",(char *) "item", NULL
30853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30857 arg2
= wxString_in_helper(obj1
);
30858 if (arg2
== NULL
) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_From_int((int)result
);
30883 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
;
30885 wxMenu
*arg1
= (wxMenu
*) 0 ;
30887 wxMenuItem
*result
;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self",(char *) "id", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30897 arg2
= (int)SWIG_As_int(obj1
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30907 resultobj
= wxPyMake_wxObject(result
, 0);
30915 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxMenu
*arg1
= (wxMenu
*) 0 ;
30919 wxMenuItem
*result
;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self",(char *) "position", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30929 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= wxPyMake_wxObject(result
, 0);
30947 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxMenu
*arg1
= (wxMenu
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 PyObject
* obj2
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "id",(char *) "enable", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30962 arg2
= (int)SWIG_As_int(obj1
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30964 arg3
= (bool)SWIG_As_bool(obj2
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 (arg1
)->Enable(arg2
,arg3
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 Py_INCREF(Py_None
); resultobj
= Py_None
;
30980 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxMenu
*arg1
= (wxMenu
*) 0 ;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char *kwnames
[] = {
30988 (char *) "self",(char *) "id", NULL
30991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30994 arg2
= (int)SWIG_As_int(obj1
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31012 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31014 wxMenu
*arg1
= (wxMenu
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 PyObject
* obj2
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "id",(char *) "check", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31027 arg2
= (int)SWIG_As_int(obj1
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31029 arg3
= (bool)SWIG_As_bool(obj2
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 (arg1
)->Check(arg2
,arg3
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 Py_INCREF(Py_None
); resultobj
= Py_None
;
31045 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenu
*arg1
= (wxMenu
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "id", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 arg2
= (int)SWIG_As_int(obj1
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31077 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxMenu
*arg1
= (wxMenu
*) 0 ;
31081 wxString
*arg3
= 0 ;
31082 bool temp3
= false ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 PyObject
* obj2
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "id",(char *) "label", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31093 arg2
= (int)SWIG_As_int(obj1
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 arg3
= wxString_in_helper(obj2
);
31097 if (arg3
== NULL
) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxMenu
*arg1
= (wxMenu
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 char *kwnames
[] = {
31130 (char *) "self",(char *) "id", NULL
31133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31136 arg2
= (int)SWIG_As_int(obj1
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31158 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31159 PyObject
*resultobj
;
31160 wxMenu
*arg1
= (wxMenu
*) 0 ;
31162 wxString
*arg3
= 0 ;
31163 bool temp3
= false ;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 PyObject
* obj2
= 0 ;
31167 char *kwnames
[] = {
31168 (char *) "self",(char *) "id",(char *) "helpString", NULL
31171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31174 arg2
= (int)SWIG_As_int(obj1
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 arg3
= wxString_in_helper(obj2
);
31178 if (arg3
== NULL
) SWIG_fail
;
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxMenu
*arg1
= (wxMenu
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 PyObject
* obj1
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "id", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31217 arg2
= (int)SWIG_As_int(obj1
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31239 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
;
31241 wxMenu
*arg1
= (wxMenu
*) 0 ;
31242 wxString
*arg2
= 0 ;
31243 bool temp2
= false ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self",(char *) "title", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31254 arg2
= wxString_in_helper(obj1
);
31255 if (arg2
== NULL
) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 (arg1
)->SetTitle((wxString
const &)*arg2
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 Py_INCREF(Py_None
); resultobj
= Py_None
;
31280 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxMenu
*arg1
= (wxMenu
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= ((wxMenu
const *)arg1
)->GetTitle();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31312 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxMenu
*arg1
= (wxMenu
*) 0 ;
31315 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self",(char *) "handler", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 (arg1
)->SetEventHandler(arg2
);
31331 wxPyEndAllowThreads(__tstate
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31334 Py_INCREF(Py_None
); resultobj
= Py_None
;
31341 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
;
31343 wxMenu
*arg1
= (wxMenu
*) 0 ;
31344 wxEvtHandler
*result
;
31345 PyObject
* obj0
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= wxPyMake_wxObject(result
, 0);
31369 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
;
31371 wxMenu
*arg1
= (wxMenu
*) 0 ;
31372 wxWindow
*arg2
= (wxWindow
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 char *kwnames
[] = {
31376 (char *) "self",(char *) "win", NULL
31379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 (arg1
)->SetInvokingWindow(arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 Py_INCREF(Py_None
); resultobj
= Py_None
;
31398 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxMenu
*arg1
= (wxMenu
*) 0 ;
31402 PyObject
* obj0
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= wxPyMake_wxObject(result
, 0);
31426 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxMenu
*arg1
= (wxMenu
*) 0 ;
31430 PyObject
* obj0
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_From_long((long)result
);
31452 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
;
31454 wxMenu
*arg1
= (wxMenu
*) 0 ;
31455 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31456 PyObject
* obj0
= 0 ;
31457 PyObject
* obj1
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self",(char *) "source", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 (arg1
)->UpdateUI(arg2
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 Py_INCREF(Py_None
); resultobj
= Py_None
;
31483 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
;
31485 wxMenu
*arg1
= (wxMenu
*) 0 ;
31487 PyObject
* obj0
= 0 ;
31488 char *kwnames
[] = {
31489 (char *) "self", NULL
31492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31503 resultobj
= wxPyMake_wxObject(result
, 0);
31511 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxMenu
*arg1
= (wxMenu
*) 0 ;
31514 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "menubar", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 (arg1
)->Attach(arg2
);
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31533 Py_INCREF(Py_None
); resultobj
= Py_None
;
31540 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31541 PyObject
*resultobj
;
31542 wxMenu
*arg1
= (wxMenu
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 Py_INCREF(Py_None
); resultobj
= Py_None
;
31565 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
;
31567 wxMenu
*arg1
= (wxMenu
*) 0 ;
31569 PyObject
* obj0
= 0 ;
31570 char *kwnames
[] = {
31571 (char *) "self", NULL
31574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31593 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31594 PyObject
*resultobj
;
31595 wxMenu
*arg1
= (wxMenu
*) 0 ;
31596 wxMenu
*arg2
= (wxMenu
*) 0 ;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self",(char *) "parent", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetParent(arg2
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 Py_INCREF(Py_None
); resultobj
= Py_None
;
31622 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxMenu
*arg1
= (wxMenu
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= wxPyMake_wxObject(result
, 0);
31650 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31653 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31655 return Py_BuildValue((char *)"");
31657 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 long arg1
= (long) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 char *kwnames
[] = {
31663 (char *) "style", NULL
31666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31668 arg1
= (long)SWIG_As_long(obj0
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 if (!wxPyCheckForApp()) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31686 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
;
31688 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31689 wxMenu
*arg2
= (wxMenu
*) 0 ;
31690 wxString
*arg3
= 0 ;
31692 bool temp3
= false ;
31693 PyObject
* obj0
= 0 ;
31694 PyObject
* obj1
= 0 ;
31695 PyObject
* obj2
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "menu",(char *) "title", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 arg3
= wxString_in_helper(obj2
);
31707 if (arg3
== NULL
) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31734 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
;
31736 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31738 wxMenu
*arg3
= (wxMenu
*) 0 ;
31739 wxString
*arg4
= 0 ;
31741 bool temp4
= false ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 PyObject
* obj2
= 0 ;
31745 PyObject
* obj3
= 0 ;
31746 char *kwnames
[] = {
31747 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31753 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31755 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31758 arg4
= wxString_in_helper(obj3
);
31759 if (arg4
== NULL
) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31786 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
;
31788 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31790 PyObject
* obj0
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31812 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self",(char *) "pos", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31826 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= wxPyMake_wxObject(result
, 0);
31844 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31848 wxMenu
*arg3
= (wxMenu
*) 0 ;
31849 wxString
*arg4
= 0 ;
31851 bool temp4
= false ;
31852 PyObject
* obj0
= 0 ;
31853 PyObject
* obj1
= 0 ;
31854 PyObject
* obj2
= 0 ;
31855 PyObject
* obj3
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31863 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31865 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31868 arg4
= wxString_in_helper(obj3
);
31869 if (arg4
== NULL
) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= wxPyMake_wxObject(result
, 0);
31896 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31901 PyObject
* obj0
= 0 ;
31902 PyObject
* obj1
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "pos", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31910 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= wxPyMake_wxObject(result
, 0);
31928 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31929 PyObject
*resultobj
;
31930 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "self",(char *) "pos",(char *) "enable", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31943 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31945 arg3
= (bool)SWIG_As_bool(obj2
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 (arg1
)->EnableTop(arg2
,arg3
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 Py_INCREF(Py_None
); resultobj
= Py_None
;
31961 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
;
31963 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31966 PyObject
* obj0
= 0 ;
31967 PyObject
* obj1
= 0 ;
31968 char *kwnames
[] = {
31969 (char *) "self",(char *) "pos", NULL
31972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31975 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31993 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
;
31995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31997 wxString
*arg3
= 0 ;
31998 bool temp3
= false ;
31999 PyObject
* obj0
= 0 ;
32000 PyObject
* obj1
= 0 ;
32001 PyObject
* obj2
= 0 ;
32002 char *kwnames
[] = {
32003 (char *) "self",(char *) "pos",(char *) "label", NULL
32006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32009 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 arg3
= wxString_in_helper(obj2
);
32013 if (arg3
== NULL
) SWIG_fail
;
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 Py_INCREF(Py_None
); resultobj
= Py_None
;
32038 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self",(char *) "pos", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32052 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32074 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
;
32076 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32077 wxString
*arg2
= 0 ;
32078 wxString
*arg3
= 0 ;
32080 bool temp2
= false ;
32081 bool temp3
= false ;
32082 PyObject
* obj0
= 0 ;
32083 PyObject
* obj1
= 0 ;
32084 PyObject
* obj2
= 0 ;
32085 char *kwnames
[] = {
32086 (char *) "self",(char *) "menu",(char *) "item", NULL
32089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32093 arg2
= wxString_in_helper(obj1
);
32094 if (arg2
== NULL
) SWIG_fail
;
32098 arg3
= wxString_in_helper(obj2
);
32099 if (arg3
== NULL
) SWIG_fail
;
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32104 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_From_int((int)result
);
32132 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
;
32134 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32136 wxMenuItem
*result
;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 char *kwnames
[] = {
32140 (char *) "self",(char *) "id", NULL
32143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32146 arg2
= (int)SWIG_As_int(obj1
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= wxPyMake_wxObject(result
, 0);
32164 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32165 PyObject
*resultobj
;
32166 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32167 wxString
*arg2
= 0 ;
32169 bool temp2
= false ;
32170 PyObject
* obj0
= 0 ;
32171 PyObject
* obj1
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "self",(char *) "title", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32180 arg2
= wxString_in_helper(obj1
);
32181 if (arg2
== NULL
) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= SWIG_From_int((int)result
);
32206 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
;
32208 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 PyObject
* obj2
= 0 ;
32214 char *kwnames
[] = {
32215 (char *) "self",(char *) "id",(char *) "enable", NULL
32218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32221 arg2
= (int)SWIG_As_int(obj1
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32223 arg3
= (bool)SWIG_As_bool(obj2
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->Enable(arg2
,arg3
);
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 Py_INCREF(Py_None
); resultobj
= Py_None
;
32239 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32244 PyObject
* obj0
= 0 ;
32245 PyObject
* obj1
= 0 ;
32246 PyObject
* obj2
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "id",(char *) "check", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32254 arg2
= (int)SWIG_As_int(obj1
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32256 arg3
= (bool)SWIG_As_bool(obj2
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 (arg1
)->Check(arg2
,arg3
);
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 Py_INCREF(Py_None
); resultobj
= Py_None
;
32272 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
;
32274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "self",(char *) "id", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32286 arg2
= (int)SWIG_As_int(obj1
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32304 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
;
32306 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 char *kwnames
[] = {
32312 (char *) "self",(char *) "id", NULL
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32318 arg2
= (int)SWIG_As_int(obj1
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32336 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
;
32338 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32340 wxString
*arg3
= 0 ;
32341 bool temp3
= false ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 PyObject
* obj2
= 0 ;
32345 char *kwnames
[] = {
32346 (char *) "self",(char *) "id",(char *) "label", NULL
32349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32352 arg2
= (int)SWIG_As_int(obj1
);
32353 if (PyErr_Occurred()) SWIG_fail
;
32355 arg3
= wxString_in_helper(obj2
);
32356 if (arg3
== NULL
) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 Py_INCREF(Py_None
); resultobj
= Py_None
;
32381 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
;
32383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "id", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32395 arg2
= (int)SWIG_As_int(obj1
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32417 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32421 wxString
*arg3
= 0 ;
32422 bool temp3
= false ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self",(char *) "id",(char *) "helpString", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32433 arg2
= (int)SWIG_As_int(obj1
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 arg3
= wxString_in_helper(obj2
);
32437 if (arg3
== NULL
) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 Py_INCREF(Py_None
); resultobj
= Py_None
;
32462 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
;
32464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self",(char *) "id", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32476 arg2
= (int)SWIG_As_int(obj1
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32498 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32499 PyObject
*resultobj
;
32500 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= wxPyMake_wxObject(result
, 0);
32526 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32530 PyObject
* obj0
= 0 ;
32531 char *kwnames
[] = {
32532 (char *) "self", NULL
32535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32554 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
;
32556 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32557 wxFrame
*arg2
= (wxFrame
*) 0 ;
32558 PyObject
* obj0
= 0 ;
32559 PyObject
* obj1
= 0 ;
32560 char *kwnames
[] = {
32561 (char *) "self",(char *) "frame", NULL
32564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 (arg1
)->Attach(arg2
);
32573 wxPyEndAllowThreads(__tstate
);
32574 if (PyErr_Occurred()) SWIG_fail
;
32576 Py_INCREF(Py_None
); resultobj
= Py_None
;
32583 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32584 PyObject
*resultobj
;
32585 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 char *kwnames
[] = {
32588 (char *) "self", NULL
32591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 Py_INCREF(Py_None
); resultobj
= Py_None
;
32608 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32611 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32613 return Py_BuildValue((char *)"");
32615 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32616 PyObject
*resultobj
;
32617 wxMenu
*arg1
= (wxMenu
*) NULL
;
32618 int arg2
= (int) wxID_ANY
;
32619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32621 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32622 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32623 int arg5
= (int) wxITEM_NORMAL
;
32624 wxMenu
*arg6
= (wxMenu
*) NULL
;
32625 wxMenuItem
*result
;
32626 bool temp3
= false ;
32627 bool temp4
= false ;
32628 PyObject
* obj0
= 0 ;
32629 PyObject
* obj1
= 0 ;
32630 PyObject
* obj2
= 0 ;
32631 PyObject
* obj3
= 0 ;
32632 PyObject
* obj4
= 0 ;
32633 PyObject
* obj5
= 0 ;
32634 char *kwnames
[] = {
32635 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32644 arg2
= (int)SWIG_As_int(obj1
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32649 arg3
= wxString_in_helper(obj2
);
32650 if (arg3
== NULL
) SWIG_fail
;
32656 arg4
= wxString_in_helper(obj3
);
32657 if (arg4
== NULL
) SWIG_fail
;
32662 arg5
= (int)SWIG_As_int(obj4
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32666 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= wxPyMake_wxObject(result
, 1);
32701 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
;
32703 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self", NULL
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= wxPyMake_wxObject(result
, 0);
32729 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
;
32731 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32732 wxMenu
*arg2
= (wxMenu
*) 0 ;
32733 PyObject
* obj0
= 0 ;
32734 PyObject
* obj1
= 0 ;
32735 char *kwnames
[] = {
32736 (char *) "self",(char *) "menu", NULL
32739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 (arg1
)->SetMenu(arg2
);
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 Py_INCREF(Py_None
); resultobj
= Py_None
;
32758 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
;
32760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32762 PyObject
* obj0
= 0 ;
32763 PyObject
* obj1
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self",(char *) "id", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32771 arg2
= (int)SWIG_As_int(obj1
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 (arg1
)->SetId(arg2
);
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 Py_INCREF(Py_None
); resultobj
= Py_None
;
32787 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32791 PyObject
* obj0
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_From_int((int)result
);
32813 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
;
32815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32817 PyObject
* obj0
= 0 ;
32818 char *kwnames
[] = {
32819 (char *) "self", NULL
32822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32841 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32844 wxString
*arg2
= 0 ;
32845 bool temp2
= false ;
32846 PyObject
* obj0
= 0 ;
32847 PyObject
* obj1
= 0 ;
32848 char *kwnames
[] = {
32849 (char *) "self",(char *) "str", NULL
32852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32856 arg2
= wxString_in_helper(obj1
);
32857 if (arg2
== NULL
) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->SetText((wxString
const &)*arg2
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 Py_INCREF(Py_None
); resultobj
= Py_None
;
32882 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32883 PyObject
*resultobj
;
32884 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32886 PyObject
* obj0
= 0 ;
32887 char *kwnames
[] = {
32888 (char *) "self", NULL
32891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32914 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32915 PyObject
*resultobj
;
32916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32918 PyObject
* obj0
= 0 ;
32919 char *kwnames
[] = {
32920 (char *) "self", NULL
32923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32930 result
= (wxString
*) &_result_ref
;
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32940 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32949 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
;
32951 wxString
*arg1
= 0 ;
32953 bool temp1
= false ;
32954 PyObject
* obj0
= 0 ;
32955 char *kwnames
[] = {
32956 (char *) "text", NULL
32959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32961 arg1
= wxString_in_helper(obj0
);
32962 if (arg1
== NULL
) SWIG_fail
;
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32993 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
;
32995 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32997 PyObject
* obj0
= 0 ;
32998 char *kwnames
[] = {
32999 (char *) "self", NULL
33002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33009 wxPyEndAllowThreads(__tstate
);
33010 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= SWIG_From_int((int)result
);
33019 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33020 PyObject
*resultobj
;
33021 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self",(char *) "kind", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33032 arg2
= (int)SWIG_As_int(obj1
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 (arg1
)->SetKind((wxItemKind
)arg2
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 Py_INCREF(Py_None
); resultobj
= Py_None
;
33048 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 PyObject
* obj1
= 0 ;
33054 char *kwnames
[] = {
33055 (char *) "self",(char *) "checkable", NULL
33058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33061 arg2
= (bool)SWIG_As_bool(obj1
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 (arg1
)->SetCheckable(arg2
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 Py_INCREF(Py_None
); resultobj
= Py_None
;
33077 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
;
33079 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33081 PyObject
* obj0
= 0 ;
33082 char *kwnames
[] = {
33083 (char *) "self", NULL
33086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33105 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
;
33107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33109 PyObject
* obj0
= 0 ;
33110 char *kwnames
[] = {
33111 (char *) "self", NULL
33114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33133 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
;
33135 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33136 wxMenu
*arg2
= (wxMenu
*) 0 ;
33137 PyObject
* obj0
= 0 ;
33138 PyObject
* obj1
= 0 ;
33139 char *kwnames
[] = {
33140 (char *) "self",(char *) "menu", NULL
33143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 (arg1
)->SetSubMenu(arg2
);
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 Py_INCREF(Py_None
); resultobj
= Py_None
;
33162 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
;
33164 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33166 PyObject
* obj0
= 0 ;
33167 char *kwnames
[] = {
33168 (char *) "self", NULL
33171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= wxPyMake_wxObject(result
, 0);
33190 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33191 PyObject
*resultobj
;
33192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33193 bool arg2
= (bool) true ;
33194 PyObject
* obj0
= 0 ;
33195 PyObject
* obj1
= 0 ;
33196 char *kwnames
[] = {
33197 (char *) "self",(char *) "enable", NULL
33200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33204 arg2
= (bool)SWIG_As_bool(obj1
);
33205 if (PyErr_Occurred()) SWIG_fail
;
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 (arg1
)->Enable(arg2
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 Py_INCREF(Py_None
); resultobj
= Py_None
;
33221 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
;
33223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33225 PyObject
* obj0
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33249 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33250 PyObject
*resultobj
;
33251 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33252 bool arg2
= (bool) true ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self",(char *) "check", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 arg2
= (bool)SWIG_As_bool(obj1
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 (arg1
)->Check(arg2
);
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33273 Py_INCREF(Py_None
); resultobj
= Py_None
;
33280 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
;
33282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 char *kwnames
[] = {
33286 (char *) "self", NULL
33289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33308 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
;
33310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33311 PyObject
* obj0
= 0 ;
33312 char *kwnames
[] = {
33313 (char *) "self", NULL
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33326 Py_INCREF(Py_None
); resultobj
= Py_None
;
33333 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33336 wxString
*arg2
= 0 ;
33337 bool temp2
= false ;
33338 PyObject
* obj0
= 0 ;
33339 PyObject
* obj1
= 0 ;
33340 char *kwnames
[] = {
33341 (char *) "self",(char *) "str", NULL
33344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33348 arg2
= wxString_in_helper(obj1
);
33349 if (arg2
== NULL
) SWIG_fail
;
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 (arg1
)->SetHelp((wxString
const &)*arg2
);
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 Py_INCREF(Py_None
); resultobj
= Py_None
;
33374 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33378 PyObject
* obj0
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "self", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33389 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33390 result
= (wxString
*) &_result_ref
;
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33409 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
;
33411 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33412 wxAcceleratorEntry
*result
;
33413 PyObject
* obj0
= 0 ;
33414 char *kwnames
[] = {
33415 (char *) "self", NULL
33418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33435 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33436 PyObject
*resultobj
;
33437 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33438 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33439 PyObject
* obj0
= 0 ;
33440 PyObject
* obj1
= 0 ;
33441 char *kwnames
[] = {
33442 (char *) "self",(char *) "accel", NULL
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 (arg1
)->SetAccel(arg2
);
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 Py_INCREF(Py_None
); resultobj
= Py_None
;
33464 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "font", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33480 if (arg2
== NULL
) {
33481 PyErr_SetString(PyExc_TypeError
,"null reference");
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 (arg1
)->SetFont((wxFont
const &)*arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 Py_INCREF(Py_None
); resultobj
= Py_None
;
33498 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
;
33500 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 char *kwnames
[] = {
33504 (char *) "self", NULL
33507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (arg1
)->GetFont();
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33518 wxFont
* resultptr
;
33519 resultptr
= new wxFont((wxFont
&) result
);
33520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33528 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
;
33530 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33531 wxColour
*arg2
= 0 ;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self",(char *) "colText", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 Py_INCREF(Py_None
); resultobj
= Py_None
;
33560 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
;
33562 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33564 PyObject
* obj0
= 0 ;
33565 char *kwnames
[] = {
33566 (char *) "self", NULL
33569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 result
= (arg1
)->GetTextColour();
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33580 wxColour
* resultptr
;
33581 resultptr
= new wxColour((wxColour
&) result
);
33582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33590 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33591 PyObject
*resultobj
;
33592 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33593 wxColour
*arg2
= 0 ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 char *kwnames
[] = {
33598 (char *) "self",(char *) "colBack", NULL
33601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33622 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
;
33624 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 char *kwnames
[] = {
33628 (char *) "self", NULL
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 result
= (arg1
)->GetBackgroundColour();
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33642 wxColour
* resultptr
;
33643 resultptr
= new wxColour((wxColour
&) result
);
33644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33652 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33653 PyObject
*resultobj
;
33654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33655 wxBitmap
*arg2
= 0 ;
33656 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33657 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 PyObject
* obj2
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33671 if (arg2
== NULL
) {
33672 PyErr_SetString(PyExc_TypeError
,"null reference");
33676 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33679 if (arg3
== NULL
) {
33680 PyErr_SetString(PyExc_TypeError
,"null reference");
33685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33686 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 Py_INCREF(Py_None
); resultobj
= Py_None
;
33698 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33701 wxBitmap
*arg2
= 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self",(char *) "bmpDisabled", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33714 if (arg2
== NULL
) {
33715 PyErr_SetString(PyExc_TypeError
,"null reference");
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 Py_INCREF(Py_None
); resultobj
= Py_None
;
33732 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
;
33734 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33736 PyObject
* obj0
= 0 ;
33737 char *kwnames
[] = {
33738 (char *) "self", NULL
33741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33748 result
= (wxBitmap
*) &_result_ref
;
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33755 wxBitmap
* resultptr
= new wxBitmap(*result
);
33756 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33764 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
;
33766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 char *kwnames
[] = {
33771 (char *) "self",(char *) "nWidth", NULL
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33777 arg2
= (int)SWIG_As_int(obj1
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 (arg1
)->SetMarginWidth(arg2
);
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 Py_INCREF(Py_None
); resultobj
= Py_None
;
33793 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33797 PyObject
* obj0
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (int)(arg1
)->GetMarginWidth();
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_From_int((int)result
);
33819 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
;
33822 char *kwnames
[] = {
33826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33829 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= SWIG_From_int((int)result
);
33841 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
;
33843 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33845 PyObject
* obj0
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33855 result
= (bool)(arg1
)->IsOwnerDrawn();
33857 wxPyEndAllowThreads(__tstate
);
33858 if (PyErr_Occurred()) SWIG_fail
;
33861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33869 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33870 PyObject
*resultobj
;
33871 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33872 bool arg2
= (bool) true ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 char *kwnames
[] = {
33876 (char *) "self",(char *) "ownerDrawn", NULL
33879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33883 arg2
= (bool)SWIG_As_bool(obj1
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33888 (arg1
)->SetOwnerDrawn(arg2
);
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 Py_INCREF(Py_None
); resultobj
= Py_None
;
33900 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
;
33902 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33903 PyObject
* obj0
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 (arg1
)->ResetOwnerDrawn();
33915 wxPyEndAllowThreads(__tstate
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33918 Py_INCREF(Py_None
); resultobj
= Py_None
;
33925 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33926 PyObject
*resultobj
;
33927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33928 wxBitmap
*arg2
= 0 ;
33929 PyObject
* obj0
= 0 ;
33930 PyObject
* obj1
= 0 ;
33931 char *kwnames
[] = {
33932 (char *) "self",(char *) "bitmap", NULL
33935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33941 if (arg2
== NULL
) {
33942 PyErr_SetString(PyExc_TypeError
,"null reference");
33946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33949 wxPyEndAllowThreads(__tstate
);
33950 if (PyErr_Occurred()) SWIG_fail
;
33952 Py_INCREF(Py_None
); resultobj
= Py_None
;
33959 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33960 PyObject
*resultobj
;
33961 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33963 PyObject
* obj0
= 0 ;
33964 char *kwnames
[] = {
33965 (char *) "self", NULL
33968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33975 result
= (wxBitmap
*) &_result_ref
;
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33982 wxBitmap
* resultptr
= new wxBitmap(*result
);
33983 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33991 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33994 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33996 return Py_BuildValue((char *)"");
33998 static int _wrap_ControlNameStr_set(PyObject
*) {
33999 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
34004 static PyObject
*_wrap_ControlNameStr_get() {
34009 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34011 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34018 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
;
34020 wxWindow
*arg1
= (wxWindow
*) 0 ;
34021 int arg2
= (int) -1 ;
34022 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34023 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34024 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34025 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34026 long arg5
= (long) 0 ;
34027 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34028 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34029 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
34030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34034 bool temp7
= false ;
34035 PyObject
* obj0
= 0 ;
34036 PyObject
* obj1
= 0 ;
34037 PyObject
* obj2
= 0 ;
34038 PyObject
* obj3
= 0 ;
34039 PyObject
* obj4
= 0 ;
34040 PyObject
* obj5
= 0 ;
34041 PyObject
* obj6
= 0 ;
34042 char *kwnames
[] = {
34043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34050 arg2
= (int)SWIG_As_int(obj1
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34066 arg5
= (long)SWIG_As_long(obj4
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34070 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34073 if (arg6
== NULL
) {
34074 PyErr_SetString(PyExc_TypeError
,"null reference");
34080 arg7
= wxString_in_helper(obj6
);
34081 if (arg7
== NULL
) SWIG_fail
;
34086 if (!wxPyCheckForApp()) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34108 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
;
34111 char *kwnames
[] = {
34115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34117 if (!wxPyCheckForApp()) SWIG_fail
;
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= (wxControl
*)new wxControl();
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34131 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
;
34133 wxControl
*arg1
= (wxControl
*) 0 ;
34134 wxWindow
*arg2
= (wxWindow
*) 0 ;
34135 int arg3
= (int) -1 ;
34136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34140 long arg6
= (long) 0 ;
34141 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34142 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34143 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34144 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34148 bool temp8
= false ;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 PyObject
* obj2
= 0 ;
34152 PyObject
* obj3
= 0 ;
34153 PyObject
* obj4
= 0 ;
34154 PyObject
* obj5
= 0 ;
34155 PyObject
* obj6
= 0 ;
34156 PyObject
* obj7
= 0 ;
34157 char *kwnames
[] = {
34158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34167 arg3
= (int)SWIG_As_int(obj2
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34183 arg6
= (long)SWIG_As_long(obj5
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34187 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34190 if (arg7
== NULL
) {
34191 PyErr_SetString(PyExc_TypeError
,"null reference");
34197 arg8
= wxString_in_helper(obj7
);
34198 if (arg8
== NULL
) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34226 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
;
34228 wxControl
*arg1
= (wxControl
*) 0 ;
34229 wxCommandEvent
*arg2
= 0 ;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 char *kwnames
[] = {
34233 (char *) "self",(char *) "event", NULL
34236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34242 if (arg2
== NULL
) {
34243 PyErr_SetString(PyExc_TypeError
,"null reference");
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 (arg1
)->Command(*arg2
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 Py_INCREF(Py_None
); resultobj
= Py_None
;
34260 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxControl
*arg1
= (wxControl
*) 0 ;
34264 PyObject
* obj0
= 0 ;
34265 char *kwnames
[] = {
34266 (char *) "self", NULL
34269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 result
= (arg1
)->GetLabel();
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34292 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxControl
*arg1
= (wxControl
*) 0 ;
34295 wxString
*arg2
= 0 ;
34296 bool temp2
= false ;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self",(char *) "label", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34307 arg2
= wxString_in_helper(obj1
);
34308 if (arg2
== NULL
) SWIG_fail
;
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 (arg1
)->SetLabel((wxString
const &)*arg2
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34318 Py_INCREF(Py_None
); resultobj
= Py_None
;
34333 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
;
34335 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34336 wxVisualAttributes result
;
34337 PyObject
* obj0
= 0 ;
34338 char *kwnames
[] = {
34339 (char *) "variant", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34344 arg1
= (int)SWIG_As_int(obj0
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 if (!wxPyCheckForApp()) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34356 wxVisualAttributes
* resultptr
;
34357 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34366 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34369 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34371 return Py_BuildValue((char *)"");
34373 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
;
34375 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34376 wxString
*arg2
= 0 ;
34377 PyObject
*arg3
= (PyObject
*) NULL
;
34379 bool temp2
= false ;
34380 PyObject
* obj0
= 0 ;
34381 PyObject
* obj1
= 0 ;
34382 PyObject
* obj2
= 0 ;
34383 char *kwnames
[] = {
34384 (char *) "self",(char *) "item",(char *) "clientData", NULL
34387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34391 arg2
= wxString_in_helper(obj1
);
34392 if (arg2
== NULL
) SWIG_fail
;
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= SWIG_From_int((int)result
);
34420 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
;
34422 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34423 wxArrayString
*arg2
= 0 ;
34424 bool temp2
= false ;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34427 char *kwnames
[] = {
34428 (char *) "self",(char *) "strings", NULL
34431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34435 if (! PySequence_Check(obj1
)) {
34436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34439 arg2
= new wxArrayString
;
34441 int i
, len
=PySequence_Length(obj1
);
34442 for (i
=0; i
<len
; i
++) {
34443 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34445 PyObject
* str
= PyObject_Unicode(item
);
34447 PyObject
* str
= PyObject_Str(item
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34450 arg2
->Add(Py2wxString(str
));
34456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34457 (arg1
)->Append((wxArrayString
const &)*arg2
);
34459 wxPyEndAllowThreads(__tstate
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34462 Py_INCREF(Py_None
); resultobj
= Py_None
;
34464 if (temp2
) delete arg2
;
34469 if (temp2
) delete arg2
;
34475 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
;
34477 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34478 wxString
*arg2
= 0 ;
34480 PyObject
*arg4
= (PyObject
*) NULL
;
34482 bool temp2
= false ;
34483 PyObject
* obj0
= 0 ;
34484 PyObject
* obj1
= 0 ;
34485 PyObject
* obj2
= 0 ;
34486 PyObject
* obj3
= 0 ;
34487 char *kwnames
[] = {
34488 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34495 arg2
= wxString_in_helper(obj1
);
34496 if (arg2
== NULL
) SWIG_fail
;
34499 arg3
= (int)SWIG_As_int(obj2
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34506 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= SWIG_From_int((int)result
);
34526 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
;
34528 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 Py_INCREF(Py_None
); resultobj
= Py_None
;
34551 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char *kwnames
[] = {
34558 (char *) "self",(char *) "n", NULL
34561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34564 arg2
= (int)SWIG_As_int(obj1
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 (arg1
)->Delete(arg2
);
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 Py_INCREF(Py_None
); resultobj
= Py_None
;
34580 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
;
34582 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34584 PyObject
* obj0
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_From_int((int)result
);
34606 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
;
34608 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34610 PyObject
* obj0
= 0 ;
34611 char *kwnames
[] = {
34612 (char *) "self", NULL
34615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34634 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 PyObject
* obj1
= 0 ;
34641 char *kwnames
[] = {
34642 (char *) "self",(char *) "n", NULL
34645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34648 arg2
= (int)SWIG_As_int(obj1
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34670 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34673 wxArrayString result
;
34674 PyObject
* obj0
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= wxArrayString2PyList_helper(result
);
34698 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34702 wxString
*arg3
= 0 ;
34703 bool temp3
= false ;
34704 PyObject
* obj0
= 0 ;
34705 PyObject
* obj1
= 0 ;
34706 PyObject
* obj2
= 0 ;
34707 char *kwnames
[] = {
34708 (char *) "self",(char *) "n",(char *) "s", NULL
34711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34714 arg2
= (int)SWIG_As_int(obj1
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34717 arg3
= wxString_in_helper(obj2
);
34718 if (arg3
== NULL
) SWIG_fail
;
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34728 Py_INCREF(Py_None
); resultobj
= Py_None
;
34743 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34744 PyObject
*resultobj
;
34745 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34746 wxString
*arg2
= 0 ;
34748 bool temp2
= false ;
34749 PyObject
* obj0
= 0 ;
34750 PyObject
* obj1
= 0 ;
34751 char *kwnames
[] = {
34752 (char *) "self",(char *) "s", NULL
34755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34759 arg2
= wxString_in_helper(obj1
);
34760 if (arg2
== NULL
) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_From_int((int)result
);
34785 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
;
34787 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34789 PyObject
* obj0
= 0 ;
34790 PyObject
* obj1
= 0 ;
34791 char *kwnames
[] = {
34792 (char *) "self",(char *) "n", NULL
34795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34798 arg2
= (int)SWIG_As_int(obj1
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 (arg1
)->Select(arg2
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 Py_INCREF(Py_None
); resultobj
= Py_None
;
34814 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
;
34816 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34818 PyObject
* obj0
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34828 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34830 wxPyEndAllowThreads(__tstate
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34833 resultobj
= SWIG_From_int((int)result
);
34840 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34841 PyObject
*resultobj
;
34842 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34844 PyObject
* obj0
= 0 ;
34845 char *kwnames
[] = {
34846 (char *) "self", NULL
34849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34854 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34856 wxPyEndAllowThreads(__tstate
);
34857 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34872 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34873 PyObject
*resultobj
;
34874 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 PyObject
* obj1
= 0 ;
34879 char *kwnames
[] = {
34880 (char *) "self",(char *) "n", NULL
34883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34886 arg2
= (int)SWIG_As_int(obj1
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= result
;
34902 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
;
34904 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34906 PyObject
*arg3
= (PyObject
*) 0 ;
34907 PyObject
* obj0
= 0 ;
34908 PyObject
* obj1
= 0 ;
34909 PyObject
* obj2
= 0 ;
34910 char *kwnames
[] = {
34911 (char *) "self",(char *) "n",(char *) "clientData", NULL
34914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34917 arg2
= (int)SWIG_As_int(obj1
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 Py_INCREF(Py_None
); resultobj
= Py_None
;
34934 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34937 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34939 return Py_BuildValue((char *)"");
34941 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34944 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34946 return Py_BuildValue((char *)"");
34948 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
;
34950 wxSizerItem
*result
;
34951 char *kwnames
[] = {
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= (wxSizerItem
*)new wxSizerItem();
34960 wxPyEndAllowThreads(__tstate
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34970 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34971 PyObject
*resultobj
;
34972 wxWindow
*arg1
= (wxWindow
*) 0 ;
34976 PyObject
*arg5
= (PyObject
*) NULL
;
34977 wxSizerItem
*result
;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 PyObject
* obj2
= 0 ;
34981 PyObject
* obj3
= 0 ;
34982 PyObject
* obj4
= 0 ;
34983 char *kwnames
[] = {
34984 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34990 arg2
= (int)SWIG_As_int(obj1
);
34991 if (PyErr_Occurred()) SWIG_fail
;
34992 arg3
= (int)SWIG_As_int(obj2
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34994 arg4
= (int)SWIG_As_int(obj3
);
34995 if (PyErr_Occurred()) SWIG_fail
;
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35013 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35020 PyObject
*arg6
= (PyObject
*) NULL
;
35021 wxSizerItem
*result
;
35022 PyObject
* obj0
= 0 ;
35023 PyObject
* obj1
= 0 ;
35024 PyObject
* obj2
= 0 ;
35025 PyObject
* obj3
= 0 ;
35026 PyObject
* obj4
= 0 ;
35027 PyObject
* obj5
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35033 arg1
= (int)SWIG_As_int(obj0
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35035 arg2
= (int)SWIG_As_int(obj1
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35037 arg3
= (int)SWIG_As_int(obj2
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35039 arg4
= (int)SWIG_As_int(obj3
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35041 arg5
= (int)SWIG_As_int(obj4
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35060 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxSizer
*arg1
= (wxSizer
*) 0 ;
35066 PyObject
*arg5
= (PyObject
*) NULL
;
35067 wxSizerItem
*result
;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 PyObject
* obj2
= 0 ;
35071 PyObject
* obj3
= 0 ;
35072 PyObject
* obj4
= 0 ;
35073 char *kwnames
[] = {
35074 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35080 arg2
= (int)SWIG_As_int(obj1
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35082 arg3
= (int)SWIG_As_int(obj2
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35084 arg4
= (int)SWIG_As_int(obj3
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35103 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
;
35105 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35106 PyObject
* obj0
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 (arg1
)->DeleteWindows();
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 Py_INCREF(Py_None
); resultobj
= Py_None
;
35128 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
;
35130 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35131 PyObject
* obj0
= 0 ;
35132 char *kwnames
[] = {
35133 (char *) "self", NULL
35136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 (arg1
)->DetachSizer();
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 Py_INCREF(Py_None
); resultobj
= Py_None
;
35153 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
;
35155 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 result
= (arg1
)->GetSize();
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35173 wxSize
* resultptr
;
35174 resultptr
= new wxSize((wxSize
&) result
);
35175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35183 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
;
35185 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35187 PyObject
* obj0
= 0 ;
35188 char *kwnames
[] = {
35189 (char *) "self", NULL
35192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35197 result
= (arg1
)->CalcMin();
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35203 wxSize
* resultptr
;
35204 resultptr
= new wxSize((wxSize
&) result
);
35205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35213 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
;
35215 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35220 PyObject
* obj0
= 0 ;
35221 PyObject
* obj1
= 0 ;
35222 PyObject
* obj2
= 0 ;
35223 char *kwnames
[] = {
35224 (char *) "self",(char *) "pos",(char *) "size", NULL
35227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35230 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35231 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35233 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35234 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->SetDimension(arg2
,arg3
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 Py_INCREF(Py_None
); resultobj
= Py_None
;
35250 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35251 PyObject
*resultobj
;
35252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35254 PyObject
* obj0
= 0 ;
35255 char *kwnames
[] = {
35256 (char *) "self", NULL
35259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35264 result
= (arg1
)->GetMinSize();
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35270 wxSize
* resultptr
;
35271 resultptr
= new wxSize((wxSize
&) result
);
35272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35280 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35300 wxSize
* resultptr
;
35301 resultptr
= new wxSize((wxSize
&) result
);
35302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35310 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
;
35312 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35315 PyObject
* obj0
= 0 ;
35316 PyObject
* obj1
= 0 ;
35317 PyObject
* obj2
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self",(char *) "x",(char *) "y", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35325 arg2
= (int)SWIG_As_int(obj1
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35327 arg3
= (int)SWIG_As_int(obj2
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->SetInitSize(arg2
,arg3
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 Py_INCREF(Py_None
); resultobj
= Py_None
;
35343 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35348 PyObject
* obj0
= 0 ;
35349 PyObject
* obj1
= 0 ;
35350 PyObject
* obj2
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "width",(char *) "height", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35358 arg2
= (int)SWIG_As_int(obj1
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35360 arg3
= (int)SWIG_As_int(obj2
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 (arg1
)->SetRatio(arg2
,arg3
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 Py_INCREF(Py_None
); resultobj
= Py_None
;
35376 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
;
35378 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "size", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35391 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35395 (arg1
)->SetRatio(arg2
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 Py_INCREF(Py_None
); resultobj
= Py_None
;
35407 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
;
35409 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self",(char *) "ratio", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35420 arg2
= (float)SWIG_As_float(obj1
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35424 (arg1
)->SetRatio(arg2
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 Py_INCREF(Py_None
); resultobj
= Py_None
;
35436 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
;
35438 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35440 PyObject
* obj0
= 0 ;
35441 char *kwnames
[] = {
35442 (char *) "self", NULL
35445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 result
= (float)(arg1
)->GetRatio();
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= SWIG_From_float((float)result
);
35462 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35466 PyObject
* obj0
= 0 ;
35467 char *kwnames
[] = {
35468 (char *) "self", NULL
35471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35476 result
= (arg1
)->GetRect();
35478 wxPyEndAllowThreads(__tstate
);
35479 if (PyErr_Occurred()) SWIG_fail
;
35482 wxRect
* resultptr
;
35483 resultptr
= new wxRect((wxRect
&) result
);
35484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35492 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
;
35494 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35496 PyObject
* obj0
= 0 ;
35497 char *kwnames
[] = {
35498 (char *) "self", NULL
35501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= (bool)(arg1
)->IsWindow();
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35520 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char *kwnames
[] = {
35526 (char *) "self", NULL
35529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= (bool)(arg1
)->IsSizer();
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35548 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35549 PyObject
*resultobj
;
35550 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35552 PyObject
* obj0
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "self", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 result
= (bool)(arg1
)->IsSpacer();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35576 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
;
35578 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35580 PyObject
* obj0
= 0 ;
35581 PyObject
* obj1
= 0 ;
35582 char *kwnames
[] = {
35583 (char *) "self",(char *) "proportion", NULL
35586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35589 arg2
= (int)SWIG_As_int(obj1
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 (arg1
)->SetProportion(arg2
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 Py_INCREF(Py_None
); resultobj
= Py_None
;
35605 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35606 PyObject
*resultobj
;
35607 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (int)(arg1
)->GetProportion();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_From_int((int)result
);
35631 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
;
35633 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35635 PyObject
* obj0
= 0 ;
35636 PyObject
* obj1
= 0 ;
35637 char *kwnames
[] = {
35638 (char *) "self",(char *) "flag", NULL
35641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35644 arg2
= (int)SWIG_As_int(obj1
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 (arg1
)->SetFlag(arg2
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 Py_INCREF(Py_None
); resultobj
= Py_None
;
35660 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
;
35662 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35664 PyObject
* obj0
= 0 ;
35665 char *kwnames
[] = {
35666 (char *) "self", NULL
35669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= (int)(arg1
)->GetFlag();
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= SWIG_From_int((int)result
);
35686 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
;
35688 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35690 PyObject
* obj0
= 0 ;
35691 PyObject
* obj1
= 0 ;
35692 char *kwnames
[] = {
35693 (char *) "self",(char *) "border", NULL
35696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35699 arg2
= (int)SWIG_As_int(obj1
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 (arg1
)->SetBorder(arg2
);
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35708 Py_INCREF(Py_None
); resultobj
= Py_None
;
35715 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35716 PyObject
*resultobj
;
35717 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35719 PyObject
* obj0
= 0 ;
35720 char *kwnames
[] = {
35721 (char *) "self", NULL
35724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (int)(arg1
)->GetBorder();
35731 wxPyEndAllowThreads(__tstate
);
35732 if (PyErr_Occurred()) SWIG_fail
;
35734 resultobj
= SWIG_From_int((int)result
);
35741 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35742 PyObject
*resultobj
;
35743 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35745 PyObject
* obj0
= 0 ;
35746 char *kwnames
[] = {
35747 (char *) "self", NULL
35750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= (wxWindow
*)(arg1
)->GetWindow();
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35761 resultobj
= wxPyMake_wxObject(result
, 0);
35769 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
;
35771 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35772 wxWindow
*arg2
= (wxWindow
*) 0 ;
35773 PyObject
* obj0
= 0 ;
35774 PyObject
* obj1
= 0 ;
35775 char *kwnames
[] = {
35776 (char *) "self",(char *) "window", NULL
35779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35786 (arg1
)->SetWindow(arg2
);
35788 wxPyEndAllowThreads(__tstate
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35791 Py_INCREF(Py_None
); resultobj
= Py_None
;
35798 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35799 PyObject
*resultobj
;
35800 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35802 PyObject
* obj0
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "self", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35812 result
= (wxSizer
*)(arg1
)->GetSizer();
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= wxPyMake_wxSizer(result
, 0);
35826 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
;
35828 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35829 wxSizer
*arg2
= (wxSizer
*) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 PyObject
* obj1
= 0 ;
35832 char *kwnames
[] = {
35833 (char *) "self",(char *) "sizer", NULL
35836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 (arg1
)->SetSizer(arg2
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 Py_INCREF(Py_None
); resultobj
= Py_None
;
35855 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 char *kwnames
[] = {
35861 (char *) "self", NULL
35864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35871 result
= (wxSize
*) &_result_ref
;
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35884 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
;
35886 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35889 PyObject
* obj0
= 0 ;
35890 PyObject
* obj1
= 0 ;
35891 char *kwnames
[] = {
35892 (char *) "self",(char *) "size", NULL
35895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35900 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 Py_INCREF(Py_None
); resultobj
= Py_None
;
35916 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self",(char *) "show", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35929 arg2
= (bool)SWIG_As_bool(obj1
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 (arg1
)->Show(arg2
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 Py_INCREF(Py_None
); resultobj
= Py_None
;
35945 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35949 PyObject
* obj0
= 0 ;
35950 char *kwnames
[] = {
35951 (char *) "self", NULL
35954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 result
= (bool)(arg1
)->IsShown();
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35973 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35974 PyObject
*resultobj
;
35975 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35977 PyObject
* obj0
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "self", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 result
= (arg1
)->GetPosition();
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35993 wxPoint
* resultptr
;
35994 resultptr
= new wxPoint((wxPoint
&) result
);
35995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36003 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
;
36005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 char *kwnames
[] = {
36009 (char *) "self", NULL
36012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
36013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36017 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= result
;
36029 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
36031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36032 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
36034 return Py_BuildValue((char *)"");
36036 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36037 PyObject
*resultobj
;
36038 wxSizer
*arg1
= (wxSizer
*) 0 ;
36039 PyObject
*arg2
= (PyObject
*) 0 ;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 char *kwnames
[] = {
36043 (char *) "self",(char *) "_self", NULL
36046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
36047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 wxSizer__setOORInfo(arg1
,arg2
);
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36057 Py_INCREF(Py_None
); resultobj
= Py_None
;
36064 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36065 PyObject
*resultobj
;
36066 wxSizer
*arg1
= (wxSizer
*) 0 ;
36067 PyObject
*arg2
= (PyObject
*) 0 ;
36068 int arg3
= (int) 0 ;
36069 int arg4
= (int) 0 ;
36070 int arg5
= (int) 0 ;
36071 PyObject
*arg6
= (PyObject
*) NULL
;
36072 wxSizerItem
*result
;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 PyObject
* obj2
= 0 ;
36076 PyObject
* obj3
= 0 ;
36077 PyObject
* obj4
= 0 ;
36078 PyObject
* obj5
= 0 ;
36079 char *kwnames
[] = {
36080 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36088 arg3
= (int)SWIG_As_int(obj2
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36092 arg4
= (int)SWIG_As_int(obj3
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36096 arg5
= (int)SWIG_As_int(obj4
);
36097 if (PyErr_Occurred()) SWIG_fail
;
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36116 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
;
36118 wxSizer
*arg1
= (wxSizer
*) 0 ;
36120 PyObject
*arg3
= (PyObject
*) 0 ;
36121 int arg4
= (int) 0 ;
36122 int arg5
= (int) 0 ;
36123 int arg6
= (int) 0 ;
36124 PyObject
*arg7
= (PyObject
*) NULL
;
36125 wxSizerItem
*result
;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 PyObject
* obj2
= 0 ;
36129 PyObject
* obj3
= 0 ;
36130 PyObject
* obj4
= 0 ;
36131 PyObject
* obj5
= 0 ;
36132 PyObject
* obj6
= 0 ;
36133 char *kwnames
[] = {
36134 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36140 arg2
= (int)SWIG_As_int(obj1
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36144 arg4
= (int)SWIG_As_int(obj3
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36148 arg5
= (int)SWIG_As_int(obj4
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36152 arg6
= (int)SWIG_As_int(obj5
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36172 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
;
36174 wxSizer
*arg1
= (wxSizer
*) 0 ;
36175 PyObject
*arg2
= (PyObject
*) 0 ;
36176 int arg3
= (int) 0 ;
36177 int arg4
= (int) 0 ;
36178 int arg5
= (int) 0 ;
36179 PyObject
*arg6
= (PyObject
*) NULL
;
36180 wxSizerItem
*result
;
36181 PyObject
* obj0
= 0 ;
36182 PyObject
* obj1
= 0 ;
36183 PyObject
* obj2
= 0 ;
36184 PyObject
* obj3
= 0 ;
36185 PyObject
* obj4
= 0 ;
36186 PyObject
* obj5
= 0 ;
36187 char *kwnames
[] = {
36188 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36196 arg3
= (int)SWIG_As_int(obj2
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36200 arg4
= (int)SWIG_As_int(obj3
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36204 arg5
= (int)SWIG_As_int(obj4
);
36205 if (PyErr_Occurred()) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36224 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxSizer
*arg1
= (wxSizer
*) 0 ;
36227 PyObject
*arg2
= (PyObject
*) 0 ;
36229 PyObject
* obj0
= 0 ;
36230 PyObject
* obj1
= 0 ;
36231 char *kwnames
[] = {
36232 (char *) "self",(char *) "item", NULL
36235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36255 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36256 PyObject
*resultobj
;
36257 wxSizer
*arg1
= (wxSizer
*) 0 ;
36258 PyObject
*arg2
= (PyObject
*) 0 ;
36260 PyObject
* obj0
= 0 ;
36261 PyObject
* obj1
= 0 ;
36262 char *kwnames
[] = {
36263 (char *) "self",(char *) "item", NULL
36266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36286 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
;
36288 wxSizer
*arg1
= (wxSizer
*) 0 ;
36289 PyObject
*arg2
= (PyObject
*) 0 ;
36290 wxSizerItem
*result
;
36291 PyObject
* obj0
= 0 ;
36292 PyObject
* obj1
= 0 ;
36293 char *kwnames
[] = {
36294 (char *) "self",(char *) "item", NULL
36297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36315 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
;
36317 wxSizer
*arg1
= (wxSizer
*) 0 ;
36318 PyObject
*arg2
= (PyObject
*) 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 PyObject
* obj2
= 0 ;
36324 char *kwnames
[] = {
36325 (char *) "self",(char *) "item",(char *) "size", NULL
36328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36334 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36338 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36340 wxPyEndAllowThreads(__tstate
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36343 Py_INCREF(Py_None
); resultobj
= Py_None
;
36350 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36351 PyObject
*resultobj
;
36352 wxSizer
*arg1
= (wxSizer
*) 0 ;
36353 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36354 wxSizerItem
*result
;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "self",(char *) "item", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36380 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
;
36382 wxSizer
*arg1
= (wxSizer
*) 0 ;
36384 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36385 wxSizerItem
*result
;
36386 PyObject
* obj0
= 0 ;
36387 PyObject
* obj1
= 0 ;
36388 PyObject
* obj2
= 0 ;
36389 char *kwnames
[] = {
36390 (char *) "self",(char *) "index",(char *) "item", NULL
36393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36396 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36398 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36414 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
;
36416 wxSizer
*arg1
= (wxSizer
*) 0 ;
36417 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36418 wxSizerItem
*result
;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 char *kwnames
[] = {
36422 (char *) "self",(char *) "item", NULL
36425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36444 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxSizer
*arg1
= (wxSizer
*) 0 ;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 PyObject
* obj2
= 0 ;
36454 PyObject
* obj3
= 0 ;
36455 PyObject
* obj4
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36463 arg2
= (int)SWIG_As_int(obj1
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36465 arg3
= (int)SWIG_As_int(obj2
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36467 arg4
= (int)SWIG_As_int(obj3
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36469 arg5
= (int)SWIG_As_int(obj4
);
36470 if (PyErr_Occurred()) SWIG_fail
;
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36475 wxPyEndAllowThreads(__tstate
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36478 Py_INCREF(Py_None
); resultobj
= Py_None
;
36485 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36486 PyObject
*resultobj
;
36487 wxSizer
*arg1
= (wxSizer
*) 0 ;
36490 PyObject
* obj0
= 0 ;
36491 PyObject
* obj1
= 0 ;
36492 char *kwnames
[] = {
36493 (char *) "self",(char *) "size", NULL
36496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36510 Py_INCREF(Py_None
); resultobj
= Py_None
;
36517 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36518 PyObject
*resultobj
;
36519 wxSizer
*arg1
= (wxSizer
*) 0 ;
36521 PyObject
* obj0
= 0 ;
36522 char *kwnames
[] = {
36523 (char *) "self", NULL
36526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= (arg1
)->GetSize();
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36537 wxSize
* resultptr
;
36538 resultptr
= new wxSize((wxSize
&) result
);
36539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36547 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36548 PyObject
*resultobj
;
36549 wxSizer
*arg1
= (wxSizer
*) 0 ;
36551 PyObject
* obj0
= 0 ;
36552 char *kwnames
[] = {
36553 (char *) "self", NULL
36556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 result
= (arg1
)->GetPosition();
36563 wxPyEndAllowThreads(__tstate
);
36564 if (PyErr_Occurred()) SWIG_fail
;
36567 wxPoint
* resultptr
;
36568 resultptr
= new wxPoint((wxPoint
&) result
);
36569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36577 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
;
36579 wxSizer
*arg1
= (wxSizer
*) 0 ;
36581 PyObject
* obj0
= 0 ;
36582 char *kwnames
[] = {
36583 (char *) "self", NULL
36586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (arg1
)->GetMinSize();
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36597 wxSize
* resultptr
;
36598 resultptr
= new wxSize((wxSize
&) result
);
36599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36607 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36608 PyObject
*resultobj
;
36609 wxSizer
*arg1
= (wxSizer
*) 0 ;
36610 PyObject
* obj0
= 0 ;
36611 char *kwnames
[] = {
36612 (char *) "self", NULL
36615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36620 (arg1
)->RecalcSizes();
36622 wxPyEndAllowThreads(__tstate
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36625 Py_INCREF(Py_None
); resultobj
= Py_None
;
36632 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36633 PyObject
*resultobj
;
36634 wxSizer
*arg1
= (wxSizer
*) 0 ;
36636 PyObject
* obj0
= 0 ;
36637 char *kwnames
[] = {
36638 (char *) "self", NULL
36641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 result
= (arg1
)->CalcMin();
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36652 wxSize
* resultptr
;
36653 resultptr
= new wxSize((wxSize
&) result
);
36654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36662 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
;
36664 wxSizer
*arg1
= (wxSizer
*) 0 ;
36665 PyObject
* obj0
= 0 ;
36666 char *kwnames
[] = {
36667 (char *) "self", NULL
36670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 wxPyEndAllowThreads(__tstate
);
36678 if (PyErr_Occurred()) SWIG_fail
;
36680 Py_INCREF(Py_None
); resultobj
= Py_None
;
36687 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36688 PyObject
*resultobj
;
36689 wxSizer
*arg1
= (wxSizer
*) 0 ;
36690 wxWindow
*arg2
= (wxWindow
*) 0 ;
36692 PyObject
* obj0
= 0 ;
36693 PyObject
* obj1
= 0 ;
36694 char *kwnames
[] = {
36695 (char *) "self",(char *) "window", NULL
36698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 result
= (arg1
)->Fit(arg2
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36711 wxSize
* resultptr
;
36712 resultptr
= new wxSize((wxSize
&) result
);
36713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36721 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
;
36723 wxSizer
*arg1
= (wxSizer
*) 0 ;
36724 wxWindow
*arg2
= (wxWindow
*) 0 ;
36725 PyObject
* obj0
= 0 ;
36726 PyObject
* obj1
= 0 ;
36727 char *kwnames
[] = {
36728 (char *) "self",(char *) "window", NULL
36731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 (arg1
)->FitInside(arg2
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxSizer
*arg1
= (wxSizer
*) 0 ;
36753 wxWindow
*arg2
= (wxWindow
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self",(char *) "window", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 (arg1
)->SetSizeHints(arg2
);
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 Py_INCREF(Py_None
); resultobj
= Py_None
;
36779 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
;
36781 wxSizer
*arg1
= (wxSizer
*) 0 ;
36782 wxWindow
*arg2
= (wxWindow
*) 0 ;
36783 PyObject
* obj0
= 0 ;
36784 PyObject
* obj1
= 0 ;
36785 char *kwnames
[] = {
36786 (char *) "self",(char *) "window", NULL
36789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36796 (arg1
)->SetVirtualSizeHints(arg2
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 Py_INCREF(Py_None
); resultobj
= Py_None
;
36808 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36809 PyObject
*resultobj
;
36810 wxSizer
*arg1
= (wxSizer
*) 0 ;
36811 bool arg2
= (bool) false ;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 char *kwnames
[] = {
36815 (char *) "self",(char *) "deleteWindows", NULL
36818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36822 arg2
= (bool)SWIG_As_bool(obj1
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36827 (arg1
)->Clear(arg2
);
36829 wxPyEndAllowThreads(__tstate
);
36830 if (PyErr_Occurred()) SWIG_fail
;
36832 Py_INCREF(Py_None
); resultobj
= Py_None
;
36839 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36840 PyObject
*resultobj
;
36841 wxSizer
*arg1
= (wxSizer
*) 0 ;
36842 PyObject
* obj0
= 0 ;
36843 char *kwnames
[] = {
36844 (char *) "self", NULL
36847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 (arg1
)->DeleteWindows();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 Py_INCREF(Py_None
); resultobj
= Py_None
;
36864 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36865 PyObject
*resultobj
;
36866 wxSizer
*arg1
= (wxSizer
*) 0 ;
36868 PyObject
* obj0
= 0 ;
36869 char *kwnames
[] = {
36870 (char *) "self", NULL
36873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36878 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 resultobj
= result
;
36890 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 wxSizer
*arg1
= (wxSizer
*) 0 ;
36893 PyObject
*arg2
= (PyObject
*) 0 ;
36894 bool arg3
= (bool) true ;
36895 bool arg4
= (bool) false ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 PyObject
* obj2
= 0 ;
36900 PyObject
* obj3
= 0 ;
36901 char *kwnames
[] = {
36902 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36910 arg3
= (bool)SWIG_As_bool(obj2
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36914 arg4
= (bool)SWIG_As_bool(obj3
);
36915 if (PyErr_Occurred()) SWIG_fail
;
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36933 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
;
36935 wxSizer
*arg1
= (wxSizer
*) 0 ;
36936 PyObject
*arg2
= (PyObject
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char *kwnames
[] = {
36941 (char *) "self",(char *) "item", NULL
36944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36950 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36964 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36965 PyObject
*resultobj
;
36966 wxSizer
*arg1
= (wxSizer
*) 0 ;
36968 PyObject
* obj0
= 0 ;
36969 PyObject
* obj1
= 0 ;
36970 char *kwnames
[] = {
36971 (char *) "self",(char *) "show", NULL
36974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36977 arg2
= (bool)SWIG_As_bool(obj1
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 (arg1
)->ShowItems(arg2
);
36983 wxPyEndAllowThreads(__tstate
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36986 Py_INCREF(Py_None
); resultobj
= Py_None
;
36993 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36996 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36998 return Py_BuildValue((char *)"");
37000 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37001 PyObject
*resultobj
;
37003 char *kwnames
[] = {
37007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 result
= (wxPySizer
*)new wxPySizer();
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
37022 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
;
37024 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
37025 PyObject
*arg2
= (PyObject
*) 0 ;
37026 PyObject
*arg3
= (PyObject
*) 0 ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 PyObject
* obj2
= 0 ;
37030 char *kwnames
[] = {
37031 (char *) "self",(char *) "self",(char *) "_class", NULL
37034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
37036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37046 Py_INCREF(Py_None
); resultobj
= Py_None
;
37053 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
37055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37056 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
37058 return Py_BuildValue((char *)"");
37060 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
;
37062 int arg1
= (int) wxHORIZONTAL
;
37063 wxBoxSizer
*result
;
37064 PyObject
* obj0
= 0 ;
37065 char *kwnames
[] = {
37066 (char *) "orient", NULL
37069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
37071 arg1
= (int)SWIG_As_int(obj0
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
37088 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37089 PyObject
*resultobj
;
37090 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37092 PyObject
* obj0
= 0 ;
37093 char *kwnames
[] = {
37094 (char *) "self", NULL
37097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
37098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37102 result
= (int)(arg1
)->GetOrientation();
37104 wxPyEndAllowThreads(__tstate
);
37105 if (PyErr_Occurred()) SWIG_fail
;
37107 resultobj
= SWIG_From_int((int)result
);
37114 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37115 PyObject
*resultobj
;
37116 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37118 PyObject
* obj0
= 0 ;
37119 PyObject
* obj1
= 0 ;
37120 char *kwnames
[] = {
37121 (char *) "self",(char *) "orient", NULL
37124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37127 arg2
= (int)SWIG_As_int(obj1
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37131 (arg1
)->SetOrientation(arg2
);
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 Py_INCREF(Py_None
); resultobj
= Py_None
;
37143 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37146 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37148 return Py_BuildValue((char *)"");
37150 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37153 int arg2
= (int) wxHORIZONTAL
;
37154 wxStaticBoxSizer
*result
;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "box",(char *) "orient", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37165 arg2
= (int)SWIG_As_int(obj1
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37170 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37172 wxPyEndAllowThreads(__tstate
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37182 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37183 PyObject
*resultobj
;
37184 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37185 wxStaticBox
*result
;
37186 PyObject
* obj0
= 0 ;
37187 char *kwnames
[] = {
37188 (char *) "self", NULL
37191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37202 resultobj
= wxPyMake_wxObject(result
, 0);
37210 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37213 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37215 return Py_BuildValue((char *)"");
37217 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37218 PyObject
*resultobj
;
37219 int arg1
= (int) 1 ;
37220 int arg2
= (int) 0 ;
37221 int arg3
= (int) 0 ;
37222 int arg4
= (int) 0 ;
37223 wxGridSizer
*result
;
37224 PyObject
* obj0
= 0 ;
37225 PyObject
* obj1
= 0 ;
37226 PyObject
* obj2
= 0 ;
37227 PyObject
* obj3
= 0 ;
37228 char *kwnames
[] = {
37229 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37234 arg1
= (int)SWIG_As_int(obj0
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37238 arg2
= (int)SWIG_As_int(obj1
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37242 arg3
= (int)SWIG_As_int(obj2
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37246 arg4
= (int)SWIG_As_int(obj3
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37263 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 char *kwnames
[] = {
37270 (char *) "self",(char *) "cols", NULL
37273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37276 arg2
= (int)SWIG_As_int(obj1
);
37277 if (PyErr_Occurred()) SWIG_fail
;
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 (arg1
)->SetCols(arg2
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 Py_INCREF(Py_None
); resultobj
= Py_None
;
37292 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37293 PyObject
*resultobj
;
37294 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 char *kwnames
[] = {
37299 (char *) "self",(char *) "rows", NULL
37302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37305 arg2
= (int)SWIG_As_int(obj1
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37309 (arg1
)->SetRows(arg2
);
37311 wxPyEndAllowThreads(__tstate
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37314 Py_INCREF(Py_None
); resultobj
= Py_None
;
37321 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37322 PyObject
*resultobj
;
37323 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 char *kwnames
[] = {
37328 (char *) "self",(char *) "gap", NULL
37331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37334 arg2
= (int)SWIG_As_int(obj1
);
37335 if (PyErr_Occurred()) SWIG_fail
;
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 (arg1
)->SetVGap(arg2
);
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37343 Py_INCREF(Py_None
); resultobj
= Py_None
;
37350 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37351 PyObject
*resultobj
;
37352 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37354 PyObject
* obj0
= 0 ;
37355 PyObject
* obj1
= 0 ;
37356 char *kwnames
[] = {
37357 (char *) "self",(char *) "gap", NULL
37360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37363 arg2
= (int)SWIG_As_int(obj1
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37367 (arg1
)->SetHGap(arg2
);
37369 wxPyEndAllowThreads(__tstate
);
37370 if (PyErr_Occurred()) SWIG_fail
;
37372 Py_INCREF(Py_None
); resultobj
= Py_None
;
37379 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
;
37381 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37383 PyObject
* obj0
= 0 ;
37384 char *kwnames
[] = {
37385 (char *) "self", NULL
37388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 result
= (int)(arg1
)->GetCols();
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= SWIG_From_int((int)result
);
37405 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
;
37407 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37409 PyObject
* obj0
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 result
= (int)(arg1
)->GetRows();
37421 wxPyEndAllowThreads(__tstate
);
37422 if (PyErr_Occurred()) SWIG_fail
;
37424 resultobj
= SWIG_From_int((int)result
);
37431 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
;
37433 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37435 PyObject
* obj0
= 0 ;
37436 char *kwnames
[] = {
37437 (char *) "self", NULL
37440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37445 result
= (int)(arg1
)->GetVGap();
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= SWIG_From_int((int)result
);
37457 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
;
37459 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37461 PyObject
* obj0
= 0 ;
37462 char *kwnames
[] = {
37463 (char *) "self", NULL
37466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37471 result
= (int)(arg1
)->GetHGap();
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= SWIG_From_int((int)result
);
37483 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37486 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37488 return Py_BuildValue((char *)"");
37490 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37491 PyObject
*resultobj
;
37492 int arg1
= (int) 1 ;
37493 int arg2
= (int) 0 ;
37494 int arg3
= (int) 0 ;
37495 int arg4
= (int) 0 ;
37496 wxFlexGridSizer
*result
;
37497 PyObject
* obj0
= 0 ;
37498 PyObject
* obj1
= 0 ;
37499 PyObject
* obj2
= 0 ;
37500 PyObject
* obj3
= 0 ;
37501 char *kwnames
[] = {
37502 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37507 arg1
= (int)SWIG_As_int(obj0
);
37508 if (PyErr_Occurred()) SWIG_fail
;
37511 arg2
= (int)SWIG_As_int(obj1
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37515 arg3
= (int)SWIG_As_int(obj2
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37519 arg4
= (int)SWIG_As_int(obj3
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37536 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37540 int arg3
= (int) 0 ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 PyObject
* obj2
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37551 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 arg3
= (int)SWIG_As_int(obj2
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37559 (arg1
)->AddGrowableRow(arg2
,arg3
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37564 Py_INCREF(Py_None
); resultobj
= Py_None
;
37571 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
;
37573 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "idx", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37584 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 (arg1
)->RemoveGrowableRow(arg2
);
37590 wxPyEndAllowThreads(__tstate
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37593 Py_INCREF(Py_None
); resultobj
= Py_None
;
37600 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
;
37602 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37604 int arg3
= (int) 0 ;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 PyObject
* obj2
= 0 ;
37608 char *kwnames
[] = {
37609 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37615 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37618 arg3
= (int)SWIG_As_int(obj2
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 (arg1
)->AddGrowableCol(arg2
,arg3
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 Py_INCREF(Py_None
); resultobj
= Py_None
;
37635 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
;
37637 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37639 PyObject
* obj0
= 0 ;
37640 PyObject
* obj1
= 0 ;
37641 char *kwnames
[] = {
37642 (char *) "self",(char *) "idx", NULL
37645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37648 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37649 if (PyErr_Occurred()) SWIG_fail
;
37651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37652 (arg1
)->RemoveGrowableCol(arg2
);
37654 wxPyEndAllowThreads(__tstate
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37657 Py_INCREF(Py_None
); resultobj
= Py_None
;
37664 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37665 PyObject
*resultobj
;
37666 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37668 PyObject
* obj0
= 0 ;
37669 PyObject
* obj1
= 0 ;
37670 char *kwnames
[] = {
37671 (char *) "self",(char *) "direction", NULL
37674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37677 arg2
= (int)SWIG_As_int(obj1
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37681 (arg1
)->SetFlexibleDirection(arg2
);
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37686 Py_INCREF(Py_None
); resultobj
= Py_None
;
37693 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37694 PyObject
*resultobj
;
37695 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37697 PyObject
* obj0
= 0 ;
37698 char *kwnames
[] = {
37699 (char *) "self", NULL
37702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 result
= (int)(arg1
)->GetFlexibleDirection();
37709 wxPyEndAllowThreads(__tstate
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37712 resultobj
= SWIG_From_int((int)result
);
37719 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37720 PyObject
*resultobj
;
37721 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 char *kwnames
[] = {
37726 (char *) "self",(char *) "mode", NULL
37729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37732 arg2
= (int)SWIG_As_int(obj1
);
37733 if (PyErr_Occurred()) SWIG_fail
;
37735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37736 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37738 wxPyEndAllowThreads(__tstate
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 Py_INCREF(Py_None
); resultobj
= Py_None
;
37748 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37749 PyObject
*resultobj
;
37750 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37752 PyObject
* obj0
= 0 ;
37753 char *kwnames
[] = {
37754 (char *) "self", NULL
37757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37762 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37764 wxPyEndAllowThreads(__tstate
);
37765 if (PyErr_Occurred()) SWIG_fail
;
37767 resultobj
= SWIG_From_int((int)result
);
37774 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37775 PyObject
*resultobj
;
37776 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37777 wxArrayInt
*result
;
37778 PyObject
* obj0
= 0 ;
37779 char *kwnames
[] = {
37780 (char *) "self", NULL
37783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37789 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37790 result
= (wxArrayInt
*) &_result_ref
;
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= PyList_New(0);
37799 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37800 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37801 PyList_Append(resultobj
, val
);
37811 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
;
37813 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37814 wxArrayInt
*result
;
37815 PyObject
* obj0
= 0 ;
37816 char *kwnames
[] = {
37817 (char *) "self", NULL
37820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37826 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37827 result
= (wxArrayInt
*) &_result_ref
;
37830 wxPyEndAllowThreads(__tstate
);
37831 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= PyList_New(0);
37836 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37837 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37838 PyList_Append(resultobj
, val
);
37848 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37851 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37853 return Py_BuildValue((char *)"");
37855 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37856 PyObject
*resultobj
;
37857 int arg1
= (int) 0 ;
37858 int arg2
= (int) 0 ;
37859 wxGBPosition
*result
;
37860 PyObject
* obj0
= 0 ;
37861 PyObject
* obj1
= 0 ;
37862 char *kwnames
[] = {
37863 (char *) "row",(char *) "col", NULL
37866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37868 arg1
= (int)SWIG_As_int(obj0
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37872 arg2
= (int)SWIG_As_int(obj1
);
37873 if (PyErr_Occurred()) SWIG_fail
;
37876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37877 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37889 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37890 PyObject
*resultobj
;
37891 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37893 PyObject
* obj0
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "self", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= SWIG_From_int((int)result
);
37915 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37916 PyObject
*resultobj
;
37917 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 char *kwnames
[] = {
37921 (char *) "self", NULL
37924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37934 resultobj
= SWIG_From_int((int)result
);
37941 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37942 PyObject
*resultobj
;
37943 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 char *kwnames
[] = {
37948 (char *) "self",(char *) "row", NULL
37951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37954 arg2
= (int)SWIG_As_int(obj1
);
37955 if (PyErr_Occurred()) SWIG_fail
;
37957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37958 (arg1
)->SetRow(arg2
);
37960 wxPyEndAllowThreads(__tstate
);
37961 if (PyErr_Occurred()) SWIG_fail
;
37963 Py_INCREF(Py_None
); resultobj
= Py_None
;
37970 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37971 PyObject
*resultobj
;
37972 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 char *kwnames
[] = {
37977 (char *) "self",(char *) "col", NULL
37980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37983 arg2
= (int)SWIG_As_int(obj1
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 (arg1
)->SetCol(arg2
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37992 Py_INCREF(Py_None
); resultobj
= Py_None
;
37999 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38000 PyObject
*resultobj
;
38001 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38002 wxGBPosition
*arg2
= 0 ;
38004 wxGBPosition temp2
;
38005 PyObject
* obj0
= 0 ;
38006 PyObject
* obj1
= 0 ;
38007 char *kwnames
[] = {
38008 (char *) "self",(char *) "other", NULL
38011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38016 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38020 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
38022 wxPyEndAllowThreads(__tstate
);
38023 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38034 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38035 PyObject
*resultobj
;
38036 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38037 wxGBPosition
*arg2
= 0 ;
38039 wxGBPosition temp2
;
38040 PyObject
* obj0
= 0 ;
38041 PyObject
* obj1
= 0 ;
38042 char *kwnames
[] = {
38043 (char *) "self",(char *) "other", NULL
38046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38051 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38069 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
;
38071 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38072 int arg2
= (int) 0 ;
38073 int arg3
= (int) 0 ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 PyObject
* obj2
= 0 ;
38077 char *kwnames
[] = {
38078 (char *) "self",(char *) "row",(char *) "col", NULL
38081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38085 arg2
= (int)SWIG_As_int(obj1
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38089 arg3
= (int)SWIG_As_int(obj2
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 wxGBPosition_Set(arg1
,arg2
,arg3
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38099 Py_INCREF(Py_None
); resultobj
= Py_None
;
38106 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38107 PyObject
*resultobj
;
38108 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38110 PyObject
* obj0
= 0 ;
38111 char *kwnames
[] = {
38112 (char *) "self", NULL
38115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38125 resultobj
= result
;
38132 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38135 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38137 return Py_BuildValue((char *)"");
38139 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38140 PyObject
*resultobj
;
38141 int arg1
= (int) 1 ;
38142 int arg2
= (int) 1 ;
38144 PyObject
* obj0
= 0 ;
38145 PyObject
* obj1
= 0 ;
38146 char *kwnames
[] = {
38147 (char *) "rowspan",(char *) "colspan", NULL
38150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38152 arg1
= (int)SWIG_As_int(obj0
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38156 arg2
= (int)SWIG_As_int(obj1
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38161 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38163 wxPyEndAllowThreads(__tstate
);
38164 if (PyErr_Occurred()) SWIG_fail
;
38166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38173 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38174 PyObject
*resultobj
;
38175 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38177 PyObject
* obj0
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "self", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= SWIG_From_int((int)result
);
38199 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
;
38201 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38203 PyObject
* obj0
= 0 ;
38204 char *kwnames
[] = {
38205 (char *) "self", NULL
38208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38218 resultobj
= SWIG_From_int((int)result
);
38225 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38226 PyObject
*resultobj
;
38227 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 char *kwnames
[] = {
38232 (char *) "self",(char *) "rowspan", NULL
38235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38238 arg2
= (int)SWIG_As_int(obj1
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38242 (arg1
)->SetRowspan(arg2
);
38244 wxPyEndAllowThreads(__tstate
);
38245 if (PyErr_Occurred()) SWIG_fail
;
38247 Py_INCREF(Py_None
); resultobj
= Py_None
;
38254 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38255 PyObject
*resultobj
;
38256 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38258 PyObject
* obj0
= 0 ;
38259 PyObject
* obj1
= 0 ;
38260 char *kwnames
[] = {
38261 (char *) "self",(char *) "colspan", NULL
38264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38267 arg2
= (int)SWIG_As_int(obj1
);
38268 if (PyErr_Occurred()) SWIG_fail
;
38270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38271 (arg1
)->SetColspan(arg2
);
38273 wxPyEndAllowThreads(__tstate
);
38274 if (PyErr_Occurred()) SWIG_fail
;
38276 Py_INCREF(Py_None
); resultobj
= Py_None
;
38283 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38284 PyObject
*resultobj
;
38285 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38286 wxGBSpan
*arg2
= 0 ;
38289 PyObject
* obj0
= 0 ;
38290 PyObject
* obj1
= 0 ;
38291 char *kwnames
[] = {
38292 (char *) "self",(char *) "other", NULL
38295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38300 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38306 wxPyEndAllowThreads(__tstate
);
38307 if (PyErr_Occurred()) SWIG_fail
;
38310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38318 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38319 PyObject
*resultobj
;
38320 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38321 wxGBSpan
*arg2
= 0 ;
38324 PyObject
* obj0
= 0 ;
38325 PyObject
* obj1
= 0 ;
38326 char *kwnames
[] = {
38327 (char *) "self",(char *) "other", NULL
38330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38335 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38353 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38354 PyObject
*resultobj
;
38355 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38356 int arg2
= (int) 1 ;
38357 int arg3
= (int) 1 ;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38361 char *kwnames
[] = {
38362 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 arg2
= (int)SWIG_As_int(obj1
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38373 arg3
= (int)SWIG_As_int(obj2
);
38374 if (PyErr_Occurred()) SWIG_fail
;
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 wxGBSpan_Set(arg1
,arg2
,arg3
);
38380 wxPyEndAllowThreads(__tstate
);
38381 if (PyErr_Occurred()) SWIG_fail
;
38383 Py_INCREF(Py_None
); resultobj
= Py_None
;
38390 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38391 PyObject
*resultobj
;
38392 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38394 PyObject
* obj0
= 0 ;
38395 char *kwnames
[] = {
38396 (char *) "self", NULL
38399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= result
;
38416 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38419 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38421 return Py_BuildValue((char *)"");
38423 static int _wrap_DefaultSpan_set(PyObject
*) {
38424 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38429 static PyObject
*_wrap_DefaultSpan_get() {
38432 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38437 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38438 PyObject
*resultobj
;
38439 wxGBSizerItem
*result
;
38440 char *kwnames
[] = {
38444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38459 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38460 PyObject
*resultobj
;
38461 wxWindow
*arg1
= (wxWindow
*) 0 ;
38462 wxGBPosition
*arg2
= 0 ;
38463 wxGBSpan
*arg3
= 0 ;
38466 PyObject
*arg6
= (PyObject
*) NULL
;
38467 wxGBSizerItem
*result
;
38468 wxGBPosition temp2
;
38470 PyObject
* obj0
= 0 ;
38471 PyObject
* obj1
= 0 ;
38472 PyObject
* obj2
= 0 ;
38473 PyObject
* obj3
= 0 ;
38474 PyObject
* obj4
= 0 ;
38475 PyObject
* obj5
= 0 ;
38476 char *kwnames
[] = {
38477 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38485 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38489 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38491 arg4
= (int)SWIG_As_int(obj3
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38493 arg5
= (int)SWIG_As_int(obj4
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38500 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38502 wxPyEndAllowThreads(__tstate
);
38503 if (PyErr_Occurred()) SWIG_fail
;
38505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38512 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38513 PyObject
*resultobj
;
38514 wxSizer
*arg1
= (wxSizer
*) 0 ;
38515 wxGBPosition
*arg2
= 0 ;
38516 wxGBSpan
*arg3
= 0 ;
38519 PyObject
*arg6
= (PyObject
*) NULL
;
38520 wxGBSizerItem
*result
;
38521 wxGBPosition temp2
;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 PyObject
* obj2
= 0 ;
38526 PyObject
* obj3
= 0 ;
38527 PyObject
* obj4
= 0 ;
38528 PyObject
* obj5
= 0 ;
38529 char *kwnames
[] = {
38530 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38538 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38542 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38544 arg4
= (int)SWIG_As_int(obj3
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38546 arg5
= (int)SWIG_As_int(obj4
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38565 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38566 PyObject
*resultobj
;
38569 wxGBPosition
*arg3
= 0 ;
38570 wxGBSpan
*arg4
= 0 ;
38573 PyObject
*arg7
= (PyObject
*) NULL
;
38574 wxGBSizerItem
*result
;
38575 wxGBPosition temp3
;
38577 PyObject
* obj0
= 0 ;
38578 PyObject
* obj1
= 0 ;
38579 PyObject
* obj2
= 0 ;
38580 PyObject
* obj3
= 0 ;
38581 PyObject
* obj4
= 0 ;
38582 PyObject
* obj5
= 0 ;
38583 PyObject
* obj6
= 0 ;
38584 char *kwnames
[] = {
38585 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38589 arg1
= (int)SWIG_As_int(obj0
);
38590 if (PyErr_Occurred()) SWIG_fail
;
38591 arg2
= (int)SWIG_As_int(obj1
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38595 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38599 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38601 arg5
= (int)SWIG_As_int(obj4
);
38602 if (PyErr_Occurred()) SWIG_fail
;
38603 arg6
= (int)SWIG_As_int(obj5
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38622 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38623 PyObject
*resultobj
;
38624 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38625 wxGBPosition result
;
38626 PyObject
* obj0
= 0 ;
38627 char *kwnames
[] = {
38628 (char *) "self", NULL
38631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 wxGBPosition
* resultptr
;
38643 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38652 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38653 PyObject
*resultobj
;
38654 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38656 PyObject
* obj0
= 0 ;
38657 char *kwnames
[] = {
38658 (char *) "self", NULL
38661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38666 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38668 wxPyEndAllowThreads(__tstate
);
38669 if (PyErr_Occurred()) SWIG_fail
;
38672 wxGBSpan
* resultptr
;
38673 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38682 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38683 PyObject
*resultobj
;
38684 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38685 wxGBPosition
*arg2
= 0 ;
38687 wxGBPosition temp2
;
38688 PyObject
* obj0
= 0 ;
38689 PyObject
* obj1
= 0 ;
38690 char *kwnames
[] = {
38691 (char *) "self",(char *) "pos", NULL
38694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38699 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38703 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38705 wxPyEndAllowThreads(__tstate
);
38706 if (PyErr_Occurred()) SWIG_fail
;
38709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38717 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38718 PyObject
*resultobj
;
38719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38720 wxGBSpan
*arg2
= 0 ;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 char *kwnames
[] = {
38726 (char *) "self",(char *) "span", NULL
38729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38734 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38738 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38740 wxPyEndAllowThreads(__tstate
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38752 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38753 PyObject
*resultobj
;
38754 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38755 wxGBSizerItem
*arg2
= 0 ;
38757 PyObject
* obj0
= 0 ;
38758 PyObject
* obj1
= 0 ;
38759 char *kwnames
[] = {
38760 (char *) "self",(char *) "other", NULL
38763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38769 if (arg2
== NULL
) {
38770 PyErr_SetString(PyExc_TypeError
,"null reference");
38774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38775 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38777 wxPyEndAllowThreads(__tstate
);
38778 if (PyErr_Occurred()) SWIG_fail
;
38781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38789 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
;
38791 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38792 wxGBPosition
*arg2
= 0 ;
38793 wxGBSpan
*arg3
= 0 ;
38795 wxGBPosition temp2
;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 PyObject
* obj2
= 0 ;
38800 char *kwnames
[] = {
38801 (char *) "self",(char *) "pos",(char *) "span", NULL
38804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38809 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38813 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38817 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38819 wxPyEndAllowThreads(__tstate
);
38820 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38831 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38832 PyObject
*resultobj
;
38833 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38834 wxGBPosition result
;
38835 PyObject
* obj0
= 0 ;
38836 char *kwnames
[] = {
38837 (char *) "self", NULL
38840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38845 result
= wxGBSizerItem_GetEndPos(arg1
);
38847 wxPyEndAllowThreads(__tstate
);
38848 if (PyErr_Occurred()) SWIG_fail
;
38851 wxGBPosition
* resultptr
;
38852 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38861 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38862 PyObject
*resultobj
;
38863 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38864 wxGridBagSizer
*result
;
38865 PyObject
* obj0
= 0 ;
38866 char *kwnames
[] = {
38867 (char *) "self", NULL
38870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38887 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38888 PyObject
*resultobj
;
38889 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38890 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38891 PyObject
* obj0
= 0 ;
38892 PyObject
* obj1
= 0 ;
38893 char *kwnames
[] = {
38894 (char *) "self",(char *) "sizer", NULL
38897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 (arg1
)->SetGBSizer(arg2
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38909 Py_INCREF(Py_None
); resultobj
= Py_None
;
38916 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38919 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38921 return Py_BuildValue((char *)"");
38923 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38924 PyObject
*resultobj
;
38925 int arg1
= (int) 0 ;
38926 int arg2
= (int) 0 ;
38927 wxGridBagSizer
*result
;
38928 PyObject
* obj0
= 0 ;
38929 PyObject
* obj1
= 0 ;
38930 char *kwnames
[] = {
38931 (char *) "vgap",(char *) "hgap", NULL
38934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38936 arg1
= (int)SWIG_As_int(obj0
);
38937 if (PyErr_Occurred()) SWIG_fail
;
38940 arg2
= (int)SWIG_As_int(obj1
);
38941 if (PyErr_Occurred()) SWIG_fail
;
38944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38945 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38957 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
;
38959 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38960 PyObject
*arg2
= (PyObject
*) 0 ;
38961 wxGBPosition
*arg3
= 0 ;
38962 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38963 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38964 int arg5
= (int) 0 ;
38965 int arg6
= (int) 0 ;
38966 PyObject
*arg7
= (PyObject
*) NULL
;
38967 wxGBSizerItem
*result
;
38968 wxGBPosition temp3
;
38970 PyObject
* obj0
= 0 ;
38971 PyObject
* obj1
= 0 ;
38972 PyObject
* obj2
= 0 ;
38973 PyObject
* obj3
= 0 ;
38974 PyObject
* obj4
= 0 ;
38975 PyObject
* obj5
= 0 ;
38976 PyObject
* obj6
= 0 ;
38977 char *kwnames
[] = {
38978 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38987 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38992 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38996 arg5
= (int)SWIG_As_int(obj4
);
38997 if (PyErr_Occurred()) SWIG_fail
;
39000 arg6
= (int)SWIG_As_int(obj5
);
39001 if (PyErr_Occurred()) SWIG_fail
;
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
39010 wxPyEndAllowThreads(__tstate
);
39011 if (PyErr_Occurred()) SWIG_fail
;
39013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39020 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39021 PyObject
*resultobj
;
39022 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39023 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39024 wxGBSizerItem
*result
;
39025 PyObject
* obj0
= 0 ;
39026 PyObject
* obj1
= 0 ;
39027 char *kwnames
[] = {
39028 (char *) "self",(char *) "item", NULL
39031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39038 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
39040 wxPyEndAllowThreads(__tstate
);
39041 if (PyErr_Occurred()) SWIG_fail
;
39043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39050 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39051 PyObject
*resultobj
;
39052 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39056 PyObject
* obj0
= 0 ;
39057 PyObject
* obj1
= 0 ;
39058 PyObject
* obj2
= 0 ;
39059 char *kwnames
[] = {
39060 (char *) "self",(char *) "row",(char *) "col", NULL
39063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39066 arg2
= (int)SWIG_As_int(obj1
);
39067 if (PyErr_Occurred()) SWIG_fail
;
39068 arg3
= (int)SWIG_As_int(obj2
);
39069 if (PyErr_Occurred()) SWIG_fail
;
39071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39072 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
39074 wxPyEndAllowThreads(__tstate
);
39075 if (PyErr_Occurred()) SWIG_fail
;
39078 wxSize
* resultptr
;
39079 resultptr
= new wxSize((wxSize
&) result
);
39080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39088 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
;
39090 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39092 PyObject
* obj0
= 0 ;
39093 char *kwnames
[] = {
39094 (char *) "self", NULL
39097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
39098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39108 wxSize
* resultptr
;
39109 resultptr
= new wxSize((wxSize
&) result
);
39110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39118 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39119 PyObject
*resultobj
;
39120 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39123 PyObject
* obj0
= 0 ;
39124 PyObject
* obj1
= 0 ;
39125 char *kwnames
[] = {
39126 (char *) "self",(char *) "sz", NULL
39129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39138 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39140 wxPyEndAllowThreads(__tstate
);
39141 if (PyErr_Occurred()) SWIG_fail
;
39143 Py_INCREF(Py_None
); resultobj
= Py_None
;
39150 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39151 PyObject
*resultobj
;
39152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39153 wxWindow
*arg2
= (wxWindow
*) 0 ;
39154 wxGBPosition result
;
39155 PyObject
* obj0
= 0 ;
39156 PyObject
* obj1
= 0 ;
39158 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39165 result
= (arg1
)->GetItemPosition(arg2
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39171 wxGBPosition
* resultptr
;
39172 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39181 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39182 PyObject
*resultobj
;
39183 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39184 wxSizer
*arg2
= (wxSizer
*) 0 ;
39185 wxGBPosition result
;
39186 PyObject
* obj0
= 0 ;
39187 PyObject
* obj1
= 0 ;
39189 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39196 result
= (arg1
)->GetItemPosition(arg2
);
39198 wxPyEndAllowThreads(__tstate
);
39199 if (PyErr_Occurred()) SWIG_fail
;
39202 wxGBPosition
* resultptr
;
39203 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39212 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39213 PyObject
*resultobj
;
39214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39216 wxGBPosition result
;
39217 PyObject
* obj0
= 0 ;
39218 PyObject
* obj1
= 0 ;
39220 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39223 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39224 if (PyErr_Occurred()) SWIG_fail
;
39226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39227 result
= (arg1
)->GetItemPosition(arg2
);
39229 wxPyEndAllowThreads(__tstate
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39233 wxGBPosition
* resultptr
;
39234 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39243 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39248 argc
= PyObject_Length(args
);
39249 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39250 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39256 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39266 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39274 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39282 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39292 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39300 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39308 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39316 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39318 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39323 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39328 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39329 PyObject
*resultobj
;
39330 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39331 wxWindow
*arg2
= (wxWindow
*) 0 ;
39332 wxGBPosition
*arg3
= 0 ;
39334 wxGBPosition temp3
;
39335 PyObject
* obj0
= 0 ;
39336 PyObject
* obj1
= 0 ;
39337 PyObject
* obj2
= 0 ;
39339 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39346 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39350 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39364 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39365 PyObject
*resultobj
;
39366 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39367 wxSizer
*arg2
= (wxSizer
*) 0 ;
39368 wxGBPosition
*arg3
= 0 ;
39370 wxGBPosition temp3
;
39371 PyObject
* obj0
= 0 ;
39372 PyObject
* obj1
= 0 ;
39373 PyObject
* obj2
= 0 ;
39375 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39382 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39388 wxPyEndAllowThreads(__tstate
);
39389 if (PyErr_Occurred()) SWIG_fail
;
39392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39400 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39401 PyObject
*resultobj
;
39402 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39404 wxGBPosition
*arg3
= 0 ;
39406 wxGBPosition temp3
;
39407 PyObject
* obj0
= 0 ;
39408 PyObject
* obj1
= 0 ;
39409 PyObject
* obj2
= 0 ;
39411 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39414 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39415 if (PyErr_Occurred()) SWIG_fail
;
39418 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39436 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39441 argc
= PyObject_Length(args
);
39442 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39443 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39449 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39459 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39468 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39471 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39480 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39490 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39499 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39502 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39519 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39522 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39525 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39531 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39536 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39537 PyObject
*resultobj
;
39538 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39539 wxWindow
*arg2
= (wxWindow
*) 0 ;
39541 PyObject
* obj0
= 0 ;
39542 PyObject
* obj1
= 0 ;
39544 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (arg1
)->GetItemSpan(arg2
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39557 wxGBSpan
* resultptr
;
39558 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39567 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39568 PyObject
*resultobj
;
39569 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39570 wxSizer
*arg2
= (wxSizer
*) 0 ;
39572 PyObject
* obj0
= 0 ;
39573 PyObject
* obj1
= 0 ;
39575 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 result
= (arg1
)->GetItemSpan(arg2
);
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39588 wxGBSpan
* resultptr
;
39589 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39598 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39599 PyObject
*resultobj
;
39600 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39603 PyObject
* obj0
= 0 ;
39604 PyObject
* obj1
= 0 ;
39606 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39609 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39610 if (PyErr_Occurred()) SWIG_fail
;
39612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 result
= (arg1
)->GetItemSpan(arg2
);
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39619 wxGBSpan
* resultptr
;
39620 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39629 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39634 argc
= PyObject_Length(args
);
39635 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39636 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39642 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39652 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39660 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39668 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39678 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39686 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39694 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39702 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39704 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39709 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39714 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39715 PyObject
*resultobj
;
39716 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39717 wxWindow
*arg2
= (wxWindow
*) 0 ;
39718 wxGBSpan
*arg3
= 0 ;
39721 PyObject
* obj0
= 0 ;
39722 PyObject
* obj1
= 0 ;
39723 PyObject
* obj2
= 0 ;
39725 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39732 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39736 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39738 wxPyEndAllowThreads(__tstate
);
39739 if (PyErr_Occurred()) SWIG_fail
;
39742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39750 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39751 PyObject
*resultobj
;
39752 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39753 wxSizer
*arg2
= (wxSizer
*) 0 ;
39754 wxGBSpan
*arg3
= 0 ;
39757 PyObject
* obj0
= 0 ;
39758 PyObject
* obj1
= 0 ;
39759 PyObject
* obj2
= 0 ;
39761 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39768 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39772 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39774 wxPyEndAllowThreads(__tstate
);
39775 if (PyErr_Occurred()) SWIG_fail
;
39778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39786 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39787 PyObject
*resultobj
;
39788 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39790 wxGBSpan
*arg3
= 0 ;
39793 PyObject
* obj0
= 0 ;
39794 PyObject
* obj1
= 0 ;
39795 PyObject
* obj2
= 0 ;
39797 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39800 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39801 if (PyErr_Occurred()) SWIG_fail
;
39804 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39810 wxPyEndAllowThreads(__tstate
);
39811 if (PyErr_Occurred()) SWIG_fail
;
39814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39822 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39827 argc
= PyObject_Length(args
);
39828 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39829 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39835 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39845 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39854 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39857 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39866 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39876 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39885 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39888 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39905 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39908 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39911 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39917 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39922 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39923 PyObject
*resultobj
;
39924 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39925 wxWindow
*arg2
= (wxWindow
*) 0 ;
39926 wxGBSizerItem
*result
;
39927 PyObject
* obj0
= 0 ;
39928 PyObject
* obj1
= 0 ;
39930 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39937 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39939 wxPyEndAllowThreads(__tstate
);
39940 if (PyErr_Occurred()) SWIG_fail
;
39942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39949 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39950 PyObject
*resultobj
;
39951 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39952 wxSizer
*arg2
= (wxSizer
*) 0 ;
39953 wxGBSizerItem
*result
;
39954 PyObject
* obj0
= 0 ;
39955 PyObject
* obj1
= 0 ;
39957 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39976 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39981 argc
= PyObject_Length(args
);
39982 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39983 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39989 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39999 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40007 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
40015 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40025 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40033 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
40038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
40043 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40044 PyObject
*resultobj
;
40045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40046 wxGBPosition
*arg2
= 0 ;
40047 wxGBSizerItem
*result
;
40048 wxGBPosition temp2
;
40049 PyObject
* obj0
= 0 ;
40050 PyObject
* obj1
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self",(char *) "pos", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40060 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
40066 wxPyEndAllowThreads(__tstate
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40076 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40077 PyObject
*resultobj
;
40078 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40079 wxPoint
*arg2
= 0 ;
40080 wxGBSizerItem
*result
;
40082 PyObject
* obj0
= 0 ;
40083 PyObject
* obj1
= 0 ;
40084 char *kwnames
[] = {
40085 (char *) "self",(char *) "pt", NULL
40088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
40089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40097 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
40099 wxPyEndAllowThreads(__tstate
);
40100 if (PyErr_Occurred()) SWIG_fail
;
40102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40109 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40110 PyObject
*resultobj
;
40111 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40112 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40113 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40115 PyObject
* obj0
= 0 ;
40116 PyObject
* obj1
= 0 ;
40117 PyObject
* obj2
= 0 ;
40118 char *kwnames
[] = {
40119 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40128 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40133 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40135 wxPyEndAllowThreads(__tstate
);
40136 if (PyErr_Occurred()) SWIG_fail
;
40139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40147 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40148 PyObject
*resultobj
;
40149 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40150 wxGBPosition
*arg2
= 0 ;
40151 wxGBSpan
*arg3
= 0 ;
40152 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40154 wxGBPosition temp2
;
40156 PyObject
* obj0
= 0 ;
40157 PyObject
* obj1
= 0 ;
40158 PyObject
* obj2
= 0 ;
40159 PyObject
* obj3
= 0 ;
40160 char *kwnames
[] = {
40161 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40169 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40173 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40176 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40181 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40183 wxPyEndAllowThreads(__tstate
);
40184 if (PyErr_Occurred()) SWIG_fail
;
40187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40195 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40198 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40200 return Py_BuildValue((char *)"");
40202 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40203 PyObject
*resultobj
;
40204 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40206 wxWindow
*arg3
= (wxWindow
*) 0 ;
40208 int arg5
= (int) 0 ;
40209 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40210 PyObject
* obj0
= 0 ;
40211 PyObject
* obj1
= 0 ;
40212 PyObject
* obj2
= 0 ;
40213 PyObject
* obj3
= 0 ;
40214 PyObject
* obj4
= 0 ;
40215 PyObject
* obj5
= 0 ;
40216 char *kwnames
[] = {
40217 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40223 arg2
= (int)SWIG_As_int(obj1
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40225 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40227 arg4
= (int)SWIG_As_int(obj3
);
40228 if (PyErr_Occurred()) SWIG_fail
;
40230 arg5
= (int)SWIG_As_int(obj4
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40234 arg6
= (int)SWIG_As_int(obj5
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40239 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40241 wxPyEndAllowThreads(__tstate
);
40242 if (PyErr_Occurred()) SWIG_fail
;
40244 Py_INCREF(Py_None
); resultobj
= Py_None
;
40251 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40252 PyObject
*resultobj
;
40253 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40254 wxWindow
*arg2
= (wxWindow
*) 0 ;
40255 int arg3
= (int) 0 ;
40256 PyObject
* obj0
= 0 ;
40257 PyObject
* obj1
= 0 ;
40258 PyObject
* obj2
= 0 ;
40259 char *kwnames
[] = {
40260 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40269 arg3
= (int)SWIG_As_int(obj2
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 (arg1
)->LeftOf(arg2
,arg3
);
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40279 Py_INCREF(Py_None
); resultobj
= Py_None
;
40286 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
;
40288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40289 wxWindow
*arg2
= (wxWindow
*) 0 ;
40290 int arg3
= (int) 0 ;
40291 PyObject
* obj0
= 0 ;
40292 PyObject
* obj1
= 0 ;
40293 PyObject
* obj2
= 0 ;
40294 char *kwnames
[] = {
40295 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40304 arg3
= (int)SWIG_As_int(obj2
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 (arg1
)->RightOf(arg2
,arg3
);
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 Py_INCREF(Py_None
); resultobj
= Py_None
;
40321 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40324 wxWindow
*arg2
= (wxWindow
*) 0 ;
40325 int arg3
= (int) 0 ;
40326 PyObject
* obj0
= 0 ;
40327 PyObject
* obj1
= 0 ;
40328 PyObject
* obj2
= 0 ;
40329 char *kwnames
[] = {
40330 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40339 arg3
= (int)SWIG_As_int(obj2
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 (arg1
)->Above(arg2
,arg3
);
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 Py_INCREF(Py_None
); resultobj
= Py_None
;
40356 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
;
40358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40359 wxWindow
*arg2
= (wxWindow
*) 0 ;
40360 int arg3
= (int) 0 ;
40361 PyObject
* obj0
= 0 ;
40362 PyObject
* obj1
= 0 ;
40363 PyObject
* obj2
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40374 arg3
= (int)SWIG_As_int(obj2
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40379 (arg1
)->Below(arg2
,arg3
);
40381 wxPyEndAllowThreads(__tstate
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40384 Py_INCREF(Py_None
); resultobj
= Py_None
;
40391 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40392 PyObject
*resultobj
;
40393 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40394 wxWindow
*arg2
= (wxWindow
*) 0 ;
40396 int arg4
= (int) 0 ;
40397 PyObject
* obj0
= 0 ;
40398 PyObject
* obj1
= 0 ;
40399 PyObject
* obj2
= 0 ;
40400 PyObject
* obj3
= 0 ;
40401 char *kwnames
[] = {
40402 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40410 arg3
= (int)SWIG_As_int(obj2
);
40411 if (PyErr_Occurred()) SWIG_fail
;
40413 arg4
= (int)SWIG_As_int(obj3
);
40414 if (PyErr_Occurred()) SWIG_fail
;
40417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40418 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40423 Py_INCREF(Py_None
); resultobj
= Py_None
;
40430 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
;
40432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40433 wxWindow
*arg2
= (wxWindow
*) 0 ;
40436 PyObject
* obj0
= 0 ;
40437 PyObject
* obj1
= 0 ;
40438 PyObject
* obj2
= 0 ;
40439 PyObject
* obj3
= 0 ;
40440 char *kwnames
[] = {
40441 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40449 arg3
= (int)SWIG_As_int(obj2
);
40450 if (PyErr_Occurred()) SWIG_fail
;
40451 arg4
= (int)SWIG_As_int(obj3
);
40452 if (PyErr_Occurred()) SWIG_fail
;
40454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40455 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 Py_INCREF(Py_None
); resultobj
= Py_None
;
40467 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
;
40469 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40471 PyObject
* obj0
= 0 ;
40472 PyObject
* obj1
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self",(char *) "val", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40480 arg2
= (int)SWIG_As_int(obj1
);
40481 if (PyErr_Occurred()) SWIG_fail
;
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 (arg1
)->Absolute(arg2
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40489 Py_INCREF(Py_None
); resultobj
= Py_None
;
40496 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40497 PyObject
*resultobj
;
40498 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40499 PyObject
* obj0
= 0 ;
40500 char *kwnames
[] = {
40501 (char *) "self", NULL
40504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40509 (arg1
)->Unconstrained();
40511 wxPyEndAllowThreads(__tstate
);
40512 if (PyErr_Occurred()) SWIG_fail
;
40514 Py_INCREF(Py_None
); resultobj
= Py_None
;
40521 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40522 PyObject
*resultobj
;
40523 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40524 PyObject
* obj0
= 0 ;
40525 char *kwnames
[] = {
40526 (char *) "self", NULL
40529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40536 wxPyEndAllowThreads(__tstate
);
40537 if (PyErr_Occurred()) SWIG_fail
;
40539 Py_INCREF(Py_None
); resultobj
= Py_None
;
40546 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40547 PyObject
*resultobj
;
40548 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40550 PyObject
* obj0
= 0 ;
40551 char *kwnames
[] = {
40552 (char *) "self", NULL
40555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40560 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40562 wxPyEndAllowThreads(__tstate
);
40563 if (PyErr_Occurred()) SWIG_fail
;
40566 resultobj
= wxPyMake_wxObject(result
, 0);
40574 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
;
40576 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40578 PyObject
* obj0
= 0 ;
40579 char *kwnames
[] = {
40580 (char *) "self", NULL
40583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40588 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40590 wxPyEndAllowThreads(__tstate
);
40591 if (PyErr_Occurred()) SWIG_fail
;
40593 resultobj
= SWIG_From_int((int)result
);
40600 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
;
40602 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40604 PyObject
* obj0
= 0 ;
40605 PyObject
* obj1
= 0 ;
40606 char *kwnames
[] = {
40607 (char *) "self",(char *) "which", NULL
40610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40613 arg2
= (int)SWIG_As_int(obj1
);
40614 if (PyErr_Occurred()) SWIG_fail
;
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 (arg1
)->SetEdge((wxEdge
)arg2
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 Py_INCREF(Py_None
); resultobj
= Py_None
;
40629 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
;
40631 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40633 PyObject
* obj0
= 0 ;
40634 PyObject
* obj1
= 0 ;
40635 char *kwnames
[] = {
40636 (char *) "self",(char *) "v", NULL
40639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40642 arg2
= (int)SWIG_As_int(obj1
);
40643 if (PyErr_Occurred()) SWIG_fail
;
40645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40646 (arg1
)->SetValue(arg2
);
40648 wxPyEndAllowThreads(__tstate
);
40649 if (PyErr_Occurred()) SWIG_fail
;
40651 Py_INCREF(Py_None
); resultobj
= Py_None
;
40658 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40659 PyObject
*resultobj
;
40660 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40662 PyObject
* obj0
= 0 ;
40663 char *kwnames
[] = {
40664 (char *) "self", NULL
40667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 result
= (int)(arg1
)->GetMargin();
40674 wxPyEndAllowThreads(__tstate
);
40675 if (PyErr_Occurred()) SWIG_fail
;
40677 resultobj
= SWIG_From_int((int)result
);
40684 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40685 PyObject
*resultobj
;
40686 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40688 PyObject
* obj0
= 0 ;
40689 PyObject
* obj1
= 0 ;
40690 char *kwnames
[] = {
40691 (char *) "self",(char *) "m", NULL
40694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40697 arg2
= (int)SWIG_As_int(obj1
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40701 (arg1
)->SetMargin(arg2
);
40703 wxPyEndAllowThreads(__tstate
);
40704 if (PyErr_Occurred()) SWIG_fail
;
40706 Py_INCREF(Py_None
); resultobj
= Py_None
;
40713 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40714 PyObject
*resultobj
;
40715 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40717 PyObject
* obj0
= 0 ;
40718 char *kwnames
[] = {
40719 (char *) "self", NULL
40722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40727 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40729 wxPyEndAllowThreads(__tstate
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40732 resultobj
= SWIG_From_int((int)result
);
40739 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
;
40741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40743 PyObject
* obj0
= 0 ;
40744 char *kwnames
[] = {
40745 (char *) "self", NULL
40748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= SWIG_From_int((int)result
);
40765 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40766 PyObject
*resultobj
;
40767 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40769 PyObject
* obj0
= 0 ;
40770 char *kwnames
[] = {
40771 (char *) "self", NULL
40774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40779 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40781 wxPyEndAllowThreads(__tstate
);
40782 if (PyErr_Occurred()) SWIG_fail
;
40784 resultobj
= SWIG_From_int((int)result
);
40791 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40792 PyObject
*resultobj
;
40793 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40795 PyObject
* obj0
= 0 ;
40796 char *kwnames
[] = {
40797 (char *) "self", NULL
40800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40805 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40807 wxPyEndAllowThreads(__tstate
);
40808 if (PyErr_Occurred()) SWIG_fail
;
40811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40819 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40820 PyObject
*resultobj
;
40821 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40823 PyObject
* obj0
= 0 ;
40824 PyObject
* obj1
= 0 ;
40825 char *kwnames
[] = {
40826 (char *) "self",(char *) "d", NULL
40829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40832 arg2
= (bool)SWIG_As_bool(obj1
);
40833 if (PyErr_Occurred()) SWIG_fail
;
40835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40836 (arg1
)->SetDone(arg2
);
40838 wxPyEndAllowThreads(__tstate
);
40839 if (PyErr_Occurred()) SWIG_fail
;
40841 Py_INCREF(Py_None
); resultobj
= Py_None
;
40848 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40849 PyObject
*resultobj
;
40850 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40852 PyObject
* obj0
= 0 ;
40853 char *kwnames
[] = {
40854 (char *) "self", NULL
40857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40862 result
= (int)(arg1
)->GetRelationship();
40864 wxPyEndAllowThreads(__tstate
);
40865 if (PyErr_Occurred()) SWIG_fail
;
40867 resultobj
= SWIG_From_int((int)result
);
40874 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40875 PyObject
*resultobj
;
40876 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 char *kwnames
[] = {
40881 (char *) "self",(char *) "r", NULL
40884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40887 arg2
= (int)SWIG_As_int(obj1
);
40888 if (PyErr_Occurred()) SWIG_fail
;
40890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40891 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40893 wxPyEndAllowThreads(__tstate
);
40894 if (PyErr_Occurred()) SWIG_fail
;
40896 Py_INCREF(Py_None
); resultobj
= Py_None
;
40903 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
;
40905 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40906 wxWindow
*arg2
= (wxWindow
*) 0 ;
40908 PyObject
* obj0
= 0 ;
40909 PyObject
* obj1
= 0 ;
40910 char *kwnames
[] = {
40911 (char *) "self",(char *) "otherW", NULL
40914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40921 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40923 wxPyEndAllowThreads(__tstate
);
40924 if (PyErr_Occurred()) SWIG_fail
;
40927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40935 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40936 PyObject
*resultobj
;
40937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40938 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40939 wxWindow
*arg3
= (wxWindow
*) 0 ;
40941 PyObject
* obj0
= 0 ;
40942 PyObject
* obj1
= 0 ;
40943 PyObject
* obj2
= 0 ;
40944 char *kwnames
[] = {
40945 (char *) "self",(char *) "constraints",(char *) "win", NULL
40948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40957 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40959 wxPyEndAllowThreads(__tstate
);
40960 if (PyErr_Occurred()) SWIG_fail
;
40963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40971 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40972 PyObject
*resultobj
;
40973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40975 wxWindow
*arg3
= (wxWindow
*) 0 ;
40976 wxWindow
*arg4
= (wxWindow
*) 0 ;
40978 PyObject
* obj0
= 0 ;
40979 PyObject
* obj1
= 0 ;
40980 PyObject
* obj2
= 0 ;
40981 PyObject
* obj3
= 0 ;
40982 char *kwnames
[] = {
40983 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40989 arg2
= (int)SWIG_As_int(obj1
);
40990 if (PyErr_Occurred()) SWIG_fail
;
40991 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40993 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40997 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40999 wxPyEndAllowThreads(__tstate
);
41000 if (PyErr_Occurred()) SWIG_fail
;
41002 resultobj
= SWIG_From_int((int)result
);
41009 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
41011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41012 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
41014 return Py_BuildValue((char *)"");
41016 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41017 PyObject
*resultobj
;
41018 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41019 wxIndividualLayoutConstraint
*result
;
41020 PyObject
* obj0
= 0 ;
41021 char *kwnames
[] = {
41022 (char *) "self", NULL
41025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
41026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41028 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
41030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41037 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41038 PyObject
*resultobj
;
41039 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41040 wxIndividualLayoutConstraint
*result
;
41041 PyObject
* obj0
= 0 ;
41042 char *kwnames
[] = {
41043 (char *) "self", NULL
41046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
41047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41049 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
41051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41058 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41059 PyObject
*resultobj
;
41060 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41061 wxIndividualLayoutConstraint
*result
;
41062 PyObject
* obj0
= 0 ;
41063 char *kwnames
[] = {
41064 (char *) "self", NULL
41067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
41068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41070 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
41072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41079 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41080 PyObject
*resultobj
;
41081 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41082 wxIndividualLayoutConstraint
*result
;
41083 PyObject
* obj0
= 0 ;
41084 char *kwnames
[] = {
41085 (char *) "self", NULL
41088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
41089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41091 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
41093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41100 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41101 PyObject
*resultobj
;
41102 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41103 wxIndividualLayoutConstraint
*result
;
41104 PyObject
* obj0
= 0 ;
41105 char *kwnames
[] = {
41106 (char *) "self", NULL
41109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41112 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41121 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41122 PyObject
*resultobj
;
41123 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41124 wxIndividualLayoutConstraint
*result
;
41125 PyObject
* obj0
= 0 ;
41126 char *kwnames
[] = {
41127 (char *) "self", NULL
41130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41133 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41142 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41143 PyObject
*resultobj
;
41144 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41145 wxIndividualLayoutConstraint
*result
;
41146 PyObject
* obj0
= 0 ;
41147 char *kwnames
[] = {
41148 (char *) "self", NULL
41151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41154 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41163 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41164 PyObject
*resultobj
;
41165 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41166 wxIndividualLayoutConstraint
*result
;
41167 PyObject
* obj0
= 0 ;
41168 char *kwnames
[] = {
41169 (char *) "self", NULL
41172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41175 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41184 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41185 PyObject
*resultobj
;
41186 wxLayoutConstraints
*result
;
41187 char *kwnames
[] = {
41191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41194 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41196 wxPyEndAllowThreads(__tstate
);
41197 if (PyErr_Occurred()) SWIG_fail
;
41199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41206 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41207 PyObject
*resultobj
;
41208 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41209 wxWindow
*arg2
= (wxWindow
*) 0 ;
41210 int *arg3
= (int *) 0 ;
41214 PyObject
* obj0
= 0 ;
41215 PyObject
* obj1
= 0 ;
41216 char *kwnames
[] = {
41217 (char *) "self",(char *) "win", NULL
41220 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41228 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41230 wxPyEndAllowThreads(__tstate
);
41231 if (PyErr_Occurred()) SWIG_fail
;
41234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41236 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41237 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41244 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41245 PyObject
*resultobj
;
41246 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41248 PyObject
* obj0
= 0 ;
41249 char *kwnames
[] = {
41250 (char *) "self", NULL
41253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41258 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41260 wxPyEndAllowThreads(__tstate
);
41261 if (PyErr_Occurred()) SWIG_fail
;
41264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41272 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41275 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41277 return Py_BuildValue((char *)"");
41279 static PyMethodDef SwigMethods
[] = {
41280 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41281 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41282 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41285 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41306 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41319 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41334 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41386 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41414 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41432 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41434 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41442 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41443 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41455 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41467 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41471 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41487 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41497 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41501 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41575 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41577 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41579 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41581 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41583 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41585 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41587 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41589 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41591 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41593 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41595 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41597 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41611 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41629 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41632 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41635 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41647 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41652 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41658 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41664 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41727 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41734 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41770 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41780 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41790 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41792 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41794 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41797 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41801 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41804 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41807 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41809 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41814 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41822 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41826 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41829 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41831 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41835 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41852 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41854 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41857 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41859 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41863 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41867 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41876 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41879 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41882 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41886 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41893 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41898 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41903 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41948 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41966 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41973 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41977 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41987 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42156 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42198 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42212 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42215 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42270 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42297 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42335 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42341 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42349 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42366 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42367 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42404 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42432 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42434 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42437 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42441 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42444 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42446 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42454 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42466 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42476 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42486 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42489 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42500 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42507 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42508 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42509 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42510 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42511 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42516 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42536 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42543 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42553 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42555 { NULL
, NULL
, 0, NULL
}
42559 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42561 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42562 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42564 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42565 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42567 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42568 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42570 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42571 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42573 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42574 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42576 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42577 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42579 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42580 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42582 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42583 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42585 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42586 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42588 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42589 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42591 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42592 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42594 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42595 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42597 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42598 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42600 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42601 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42603 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42604 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42606 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42609 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42610 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42612 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42613 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42615 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42616 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42618 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42621 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42622 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42624 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42625 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42627 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42628 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42630 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42631 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42633 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42634 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42636 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42637 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42639 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42640 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42642 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42643 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42645 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42648 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42649 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42651 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42652 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42654 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42655 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42657 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42658 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42660 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42661 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42663 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42664 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42666 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42667 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42669 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42670 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42672 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42673 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42675 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42678 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42679 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42681 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42682 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42684 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42685 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42687 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42688 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42690 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42691 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42693 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42694 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42696 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42697 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42699 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42700 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42702 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42703 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42705 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42706 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42708 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42709 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42711 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42714 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42715 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42717 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42718 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42720 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42721 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42723 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42726 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42727 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42729 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42730 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42732 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42733 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42735 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42736 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42738 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42739 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42741 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42742 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42744 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42745 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42747 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42748 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42750 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42751 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42753 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42754 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42756 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42757 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42759 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42760 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42762 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42763 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42765 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42766 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42768 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42769 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42771 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42772 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42774 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42775 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42777 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42778 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42780 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42781 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42783 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42784 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42786 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42787 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42789 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42790 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42792 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42793 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42795 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42796 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42801 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42802 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42804 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42805 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42807 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42808 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42810 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42813 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42816 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42819 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42820 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42822 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42823 return (void *)((wxObject
*) ((wxSizer
*) x
));
42825 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42826 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42828 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42829 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42831 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42832 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42834 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42835 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42837 static void *_p_wxImageTo_p_wxObject(void *x
) {
42838 return (void *)((wxObject
*) ((wxImage
*) x
));
42840 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42843 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42846 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42847 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42849 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42852 static void *_p_wxControlTo_p_wxObject(void *x
) {
42853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42855 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42856 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42858 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42859 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42861 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42862 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42864 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42867 static void *_p_wxEventTo_p_wxObject(void *x
) {
42868 return (void *)((wxObject
*) ((wxEvent
*) x
));
42870 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42871 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42873 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42874 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42876 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42877 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42879 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42880 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42882 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42883 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42885 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42886 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42888 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42891 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42892 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42894 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42897 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42898 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42900 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42903 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42904 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42906 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42909 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42910 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42912 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42913 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42915 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42916 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42918 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42921 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42924 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42927 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42930 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42933 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42936 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42937 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42939 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42940 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42942 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42943 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42945 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42946 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42948 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42949 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42951 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42952 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42955 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42957 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42958 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42960 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42961 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42963 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42966 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42967 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42969 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42970 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42972 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42973 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42975 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42976 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42978 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42979 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42981 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42982 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42984 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42985 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42987 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42990 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42991 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42993 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42994 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42996 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42999 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43000 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43002 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43003 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43005 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43006 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43008 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43009 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43011 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43012 return (void *)((wxWindow
*) ((wxControl
*) x
));
43014 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43015 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43017 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43018 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43020 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43021 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43023 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43024 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43026 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43027 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43029 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43030 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43032 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43033 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43035 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43036 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43038 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43039 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43041 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43042 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43044 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43045 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43047 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}};
43048 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}};
43049 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}};
43050 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}};
43051 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}};
43052 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}};
43053 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}};
43054 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}};
43055 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}};
43056 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}};
43057 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}};
43058 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}};
43059 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}};
43060 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}};
43061 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}};
43062 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}};
43063 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}};
43064 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}};
43065 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}};
43066 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}};
43067 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}};
43068 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}};
43069 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}};
43070 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}};
43071 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}};
43072 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}};
43073 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}};
43074 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}};
43075 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}};
43076 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}};
43077 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}};
43078 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}};
43079 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}};
43080 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}};
43081 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}};
43082 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}};
43083 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}};
43084 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}};
43085 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}};
43086 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}};
43087 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}};
43088 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}};
43089 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}};
43090 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}};
43091 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}};
43092 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}};
43093 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}};
43094 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}};
43095 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}};
43096 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}};
43097 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}};
43098 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}};
43099 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}};
43100 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}};
43101 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}};
43102 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}};
43103 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}};
43104 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}};
43105 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}};
43106 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}};
43107 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}};
43108 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}};
43109 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}};
43110 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}};
43111 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}};
43112 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}};
43113 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}};
43114 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}};
43115 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}};
43116 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}};
43117 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}};
43118 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}};
43119 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}};
43120 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}};
43121 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}};
43122 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}};
43123 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}};
43124 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}};
43125 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}};
43126 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}};
43127 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}};
43128 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}};
43129 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}};
43130 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}};
43131 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}};
43132 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}};
43133 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}};
43134 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}};
43135 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}};
43136 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}};
43137 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}};
43138 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}};
43139 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}};
43140 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}};
43141 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}};
43142 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}};
43143 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}};
43144 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}};
43145 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}};
43146 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}};
43147 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}};
43148 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}};
43149 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}};
43150 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}};
43151 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}};
43152 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}};
43153 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}};
43154 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}};
43155 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}};
43156 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}};
43157 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}};
43158 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}};
43159 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}};
43160 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}};
43161 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}};
43162 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}};
43163 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}};
43165 static swig_type_info
*swig_types_initial
[] = {
43166 _swigt__p_wxLayoutConstraints
,
43167 _swigt__p_wxRealPoint
,
43168 _swigt__p_wxSizerItem
,
43169 _swigt__p_wxGBSizerItem
,
43170 _swigt__p_wxScrollEvent
,
43171 _swigt__p_wxEventLoop
,
43172 _swigt__p_wxIndividualLayoutConstraint
,
43174 _swigt__p_wxBoxSizer
,
43175 _swigt__p_wxStaticBoxSizer
,
43176 _swigt__p_wxGridBagSizer
,
43177 _swigt__p_wxAcceleratorEntry
,
43178 _swigt__p_wxUpdateUIEvent
,
43181 _swigt__p_wxGridSizer
,
43182 _swigt__p_wxFlexGridSizer
,
43183 _swigt__p_wxInitDialogEvent
,
43184 _swigt__p_wxItemContainer
,
43185 _swigt__p_wxNcPaintEvent
,
43186 _swigt__p_wxPaintEvent
,
43187 _swigt__p_wxSysColourChangedEvent
,
43188 _swigt__p_wxMouseCaptureChangedEvent
,
43189 _swigt__p_wxDisplayChangedEvent
,
43190 _swigt__p_wxPaletteChangedEvent
,
43191 _swigt__p_wxControl
,
43193 _swigt__p_wxMenuBarBase
,
43194 _swigt__p_wxSetCursorEvent
,
43195 _swigt__p_wxFSFile
,
43197 _swigt__p_wxRegion
,
43198 _swigt__p_wxPoint2D
,
43202 _swigt__p_wxPySizer
,
43203 _swigt__p_wxVisualAttributes
,
43204 _swigt__p_wxNotifyEvent
,
43205 _swigt__p_wxPyEvent
,
43206 _swigt__p_wxPropagationDisabler
,
43207 _swigt__p_wxAppTraits
,
43208 _swigt__p_wxArrayString
,
43209 _swigt__p_wxShowEvent
,
43210 _swigt__p_wxToolTip
,
43211 _swigt__p_wxIconizeEvent
,
43212 _swigt__p_wxActivateEvent
,
43213 _swigt__p_wxMoveEvent
,
43214 _swigt__p_wxSizeEvent
,
43215 _swigt__p_wxMaximizeEvent
,
43216 _swigt__p_wxQueryNewPaletteEvent
,
43217 _swigt__p_wxWindowCreateEvent
,
43218 _swigt__p_wxIdleEvent
,
43219 _swigt__p_wxMenuItem
,
43220 _swigt__p_wxStaticBox
,
43222 _swigt__p_wxTIFFHandler
,
43223 _swigt__p_wxXPMHandler
,
43224 _swigt__p_wxPNMHandler
,
43225 _swigt__p_wxJPEGHandler
,
43226 _swigt__p_wxPCXHandler
,
43227 _swigt__p_wxGIFHandler
,
43228 _swigt__p_wxPNGHandler
,
43229 _swigt__p_wxANIHandler
,
43230 _swigt__p_wxMemoryFSHandler
,
43231 _swigt__p_wxEvtHandler
,
43232 _swigt__p_wxCURHandler
,
43233 _swigt__p_wxICOHandler
,
43234 _swigt__p_wxBMPHandler
,
43235 _swigt__p_wxImageHandler
,
43236 _swigt__p_wxFileSystemHandler
,
43237 _swigt__p_wxPyFileSystemHandler
,
43238 _swigt__p_wxInternetFSHandler
,
43239 _swigt__p_wxZipFSHandler
,
43241 _swigt__p_wxGBSpan
,
43242 _swigt__p_wxPropagateOnce
,
43243 _swigt__p_wxAcceleratorTable
,
43245 _swigt__p_wxGBPosition
,
43248 _swigt__p_wxScrollWinEvent
,
43249 _swigt__p_wxImageHistogram
,
43252 _swigt__p_wxCursor
,
43253 _swigt__p_wxObject
,
43254 _swigt__p_wxPyInputStream
,
43255 _swigt__p_wxOutputStream
,
43256 _swigt__p_wxInputStream
,
43257 _swigt__p_wxDateTime
,
43258 _swigt__p_wxKeyEvent
,
43259 _swigt__p_wxNavigationKeyEvent
,
43260 _swigt__p_wxWindowDestroyEvent
,
43261 _swigt__p_wxWindow
,
43262 _swigt__p_wxMenuBar
,
43263 _swigt__p_wxFileSystem
,
43264 _swigt__p_wxBitmap
,
43265 _swigt__p_wxMenuEvent
,
43266 _swigt__p_wxContextMenuEvent
,
43267 _swigt__p_unsigned_char
,
43268 _swigt__p_wxCloseEvent
,
43269 _swigt__p_wxEraseEvent
,
43270 _swigt__p_wxMouseEvent
,
43272 _swigt__p_wxCommandEvent
,
43273 _swigt__p_wxPyCommandEvent
,
43274 _swigt__p_wxPyDropTarget
,
43275 _swigt__p_wxQuantize
,
43276 _swigt__p_wxChildFocusEvent
,
43277 _swigt__p_wxFocusEvent
,
43278 _swigt__p_wxDropFilesEvent
,
43279 _swigt__p_wxControlWithItems
,
43280 _swigt__p_wxColour
,
43281 _swigt__p_wxValidator
,
43282 _swigt__p_wxPyValidator
,
43287 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43289 static swig_const_info swig_const_table
[] = {
43290 {0, 0, 0, 0.0, 0, 0}};
43299 SWIGEXPORT(void) SWIG_init(void) {
43300 static PyObject
*SWIG_globals
= 0;
43301 static int typeinit
= 0;
43304 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43305 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43306 d
= PyModule_GetDict(m
);
43309 for (i
= 0; swig_types_initial
[i
]; i
++) {
43310 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43314 SWIG_InstallConstants(d
,swig_const_table
);
43317 #ifndef wxPyUSE_EXPORT
43318 // Make our API structure a CObject so other modules can import it
43319 // from this module.
43320 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43321 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43325 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43326 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43327 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43328 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43329 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43330 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43331 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43332 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43333 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43334 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43335 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43336 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43337 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43338 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43339 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43340 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43341 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43342 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43343 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43344 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43345 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43346 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43347 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43348 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43349 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43350 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43351 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43352 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43353 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43354 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43355 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43356 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43357 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43358 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43359 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43360 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43361 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43362 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43363 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43364 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43365 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43366 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43367 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43368 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43369 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43370 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43371 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43372 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43373 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43374 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43375 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43376 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43377 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43378 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43379 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43380 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43381 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43382 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43383 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43384 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43385 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43386 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43387 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43388 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43389 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43390 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43391 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43392 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43393 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43394 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43395 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43396 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43397 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43398 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43399 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43400 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43401 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43402 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43403 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43404 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43405 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43406 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43407 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43408 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43409 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43410 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43411 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43412 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43413 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43414 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43415 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43416 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43417 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43418 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43419 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43420 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43421 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43422 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43423 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43424 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43425 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43426 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43427 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43428 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43429 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43430 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43431 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43432 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43433 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43434 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43435 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43436 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43437 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43438 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43439 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43440 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43441 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43442 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43443 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43444 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43445 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43446 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43447 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43448 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43449 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43450 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43451 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43452 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43453 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43454 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43455 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43456 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43457 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43458 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43459 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43460 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43461 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43462 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43463 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43464 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43465 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43466 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43467 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43468 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43469 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43470 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43471 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43472 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43473 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43474 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43475 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43476 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43477 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43478 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43479 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43480 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43481 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43482 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43483 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43484 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43485 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43486 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43487 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43488 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43489 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43490 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43491 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43492 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43493 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43494 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43495 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43496 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43497 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43498 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43499 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43500 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43501 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43502 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43503 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43504 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43505 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43506 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43507 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43508 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43509 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43510 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43511 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43512 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43513 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43514 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43515 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43516 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43517 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43518 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43519 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43520 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43521 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43522 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43523 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43524 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43525 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43526 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43527 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43528 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43529 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43530 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43531 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43532 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43533 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43534 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43535 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43536 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43537 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43538 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43539 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43540 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43541 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43542 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43543 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43544 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43545 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43546 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43547 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43548 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43549 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43550 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43551 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43552 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43553 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43554 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43555 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43556 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43557 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43558 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43559 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43560 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43561 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43562 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43563 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43564 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43565 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43566 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43567 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43568 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43569 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43570 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43571 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43572 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43573 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43574 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43575 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43576 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43577 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43578 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43579 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43580 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43581 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43582 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43583 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43584 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43585 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43586 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43587 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43588 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43589 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43590 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43591 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43592 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43593 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43594 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43595 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43596 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43597 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43598 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43599 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43600 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43601 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43602 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43603 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43604 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43605 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43606 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43607 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43608 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43609 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43610 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43611 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43612 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43613 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43614 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43615 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43616 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43617 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43618 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43619 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43620 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43621 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43622 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43623 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43624 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43625 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43626 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43627 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43628 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43629 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43630 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43631 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43632 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43633 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43634 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43635 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43636 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43637 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43638 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43639 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43640 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43641 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43642 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43643 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43644 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43645 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43646 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43647 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43648 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43649 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43650 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43651 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43652 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43653 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43654 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43655 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43656 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43657 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43658 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43659 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43660 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43661 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43662 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43663 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43664 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43665 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43666 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43667 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43668 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43669 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43670 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43671 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43672 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43673 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43674 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43675 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43676 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43677 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43678 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43679 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43680 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43681 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43682 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43683 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43684 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43685 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43686 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43687 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43688 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43689 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43690 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43691 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43692 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43693 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43694 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43695 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43696 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43697 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43698 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43699 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43700 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43701 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43702 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43703 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43704 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43705 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43706 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43707 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43708 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43709 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43710 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43711 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43712 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43713 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43714 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43715 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43716 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43717 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43718 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43719 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43720 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43721 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43722 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43723 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43724 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43725 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43726 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43727 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43728 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43729 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43730 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43731 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43732 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43733 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43734 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43735 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43736 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43737 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43738 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43739 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43740 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43741 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43742 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43743 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43744 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43745 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43746 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43747 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43748 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43749 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43750 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43751 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43752 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43753 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43754 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43755 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43756 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43757 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43758 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43759 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43760 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43761 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43762 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43763 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43764 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43765 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43766 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43767 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43768 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43769 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43770 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43771 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43772 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43773 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43774 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43775 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43776 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43777 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43778 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43779 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43780 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43781 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43782 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43783 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43784 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43785 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43786 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43787 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43788 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43789 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43790 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43791 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43792 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43793 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43794 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43795 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43796 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43797 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43798 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43799 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43800 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43801 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43802 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43803 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43804 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43805 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43806 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43807 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43808 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43809 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43810 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43811 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43812 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43813 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43814 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43815 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43816 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43817 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43818 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43819 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43820 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43821 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43822 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43823 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43824 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43825 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43826 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43827 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43828 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43829 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43830 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43831 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43832 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43833 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43834 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43835 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43836 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43837 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43838 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43839 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43840 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43841 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43842 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43843 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43844 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43845 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43846 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43847 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43848 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43849 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43850 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43851 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43852 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43853 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43854 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43855 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43856 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43857 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43858 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43859 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43860 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43861 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43862 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43863 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43864 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43865 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43866 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43867 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43868 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43869 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43870 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43871 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43872 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43873 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43874 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43875 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43876 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43877 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43878 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43879 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43880 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43881 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43882 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43883 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43884 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43885 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43886 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43887 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43888 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43889 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43890 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43891 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43892 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43893 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43894 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43895 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43896 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43897 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43898 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43899 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43900 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43901 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43902 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43903 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43904 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43905 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43906 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43907 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43908 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43909 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43910 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43911 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43912 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43913 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43914 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43915 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43916 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43917 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43918 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43919 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43920 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43921 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43922 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43923 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43925 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43928 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43930 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43931 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43932 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43933 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43934 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43935 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43936 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43937 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43938 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43939 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43940 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43941 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43942 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43943 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43944 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43945 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43946 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43947 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43948 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43949 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43950 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43951 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43952 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43953 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43954 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43955 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43956 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43959 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43960 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43961 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43962 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43963 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43964 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43965 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43966 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43967 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43970 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43971 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43972 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43973 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43974 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43975 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43976 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43977 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43978 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43979 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43980 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43981 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43982 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43983 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43984 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43985 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43986 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43987 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43988 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43989 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43990 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43991 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43992 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43993 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43994 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43995 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43996 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43997 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43998 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43999 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
44000 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
44001 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
44002 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
44003 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
44004 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
44005 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
44006 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
44007 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
44008 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
44009 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
44010 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
44011 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
44012 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
44013 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
44014 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
44015 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
44016 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
44017 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
44018 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
44019 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
44020 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
44021 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
44022 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
44023 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
44024 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
44025 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
44026 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
44027 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
44028 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
44029 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
44030 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
44031 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
44032 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
44033 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
44034 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
44035 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
44036 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
44037 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
44038 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
44039 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
44040 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
44041 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
44042 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
44043 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
44044 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
44045 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
44046 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
44047 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
44048 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
44049 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
44050 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
44051 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
44052 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
44053 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
44054 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
44055 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
44056 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
44057 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
44058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
44059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
44060 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
44061 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
44062 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
44063 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
44064 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
44065 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
44066 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
44067 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
44068 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
44069 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
44070 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
44071 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
44072 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
44073 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
44074 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
44075 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
44076 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
44077 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
44078 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
44079 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
44080 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
44081 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
44082 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
44083 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
44084 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
44085 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
44086 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
44087 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
44088 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
44089 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
44090 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
44091 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
44092 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
44093 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
44094 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
44095 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
44096 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
44097 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
44098 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
44099 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
44100 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
44101 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
44102 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
44103 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
44104 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
44105 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
44106 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
44107 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
44108 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
44109 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
44110 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
44111 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44112 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44113 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44114 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44116 // Initialize threading, some globals and such
44120 // Although these are defined in __version__ they need to be here too so
44121 // that an assert can be done to ensure that the wxPython and the wxWindows
44123 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44124 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44125 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));