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 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
1260 // Copy the source data so the wxImage can clean it up later
1261 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
1262 if (dcopy
== NULL
) {
1266 memcpy(dcopy
, data
, width
*height
*3);
1267 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
1268 if (acopy
== NULL
) {
1272 memcpy(acopy
, alpha
, width
*height
);
1274 return new wxImage(width
, height
, dcopy
, acopy
, false);
1276 wxSize
wxImage_GetSize(wxImage
*self
){
1277 wxSize
size(self
->GetWidth(), self
->GetHeight());
1280 PyObject
*wxImage_GetData(wxImage
*self
){
1281 unsigned char* data
= self
->GetData();
1282 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1284 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1287 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1288 unsigned char* dataPtr
;
1290 if (! PyString_Check(data
)) {
1291 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1292 "Expected string object"));
1296 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1297 dataPtr
= (unsigned char*) malloc(len
);
1298 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1299 self
->SetData(dataPtr
);
1300 // wxImage takes ownership of dataPtr...
1302 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1303 unsigned char* data
= self
->GetData();
1304 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1306 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1309 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1310 unsigned char* buffer
;
1313 bool blocked
= wxPyBeginBlockThreads();
1314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1317 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1318 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1321 self
->SetData(buffer
);
1323 wxPyEndBlockThreads(blocked
);
1325 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1330 int len
= self
->GetWidth() * self
->GetHeight();
1332 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1336 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1337 unsigned char* dataPtr
;
1339 if (! PyString_Check(data
)) {
1340 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1344 size_t len
= self
->GetWidth() * self
->GetHeight();
1345 dataPtr
= (unsigned char*) malloc(len
);
1346 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1347 self
->SetAlpha(dataPtr
);
1348 // wxImage takes ownership of dataPtr...
1350 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1351 unsigned char* data
= self
->GetAlpha();
1352 int len
= self
->GetWidth() * self
->GetHeight();
1354 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1357 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1358 unsigned char* buffer
;
1361 bool blocked
= wxPyBeginBlockThreads();
1362 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1365 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1366 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1369 self
->SetAlpha(buffer
);
1371 wxPyEndBlockThreads(blocked
);
1374 SWIGSTATICINLINE(unsigned long)
1375 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1378 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1380 this is needed to make valgrind/purify happier. the other
1381 solution is throw an exception, but since this code should work
1384 memset((void*)&v
, 0, sizeof(unsigned long));
1390 SWIGSTATICINLINE(int)
1391 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1393 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1396 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1397 wxBitmap
bitmap(*self
, depth
);
1400 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1401 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1402 wxBitmap
bitmap( mono
, 1 );
1405 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1406 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1407 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1408 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1409 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1411 #include <wx/quantize.h>
1413 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1414 return wxQuantize::Quantize(src
, dest
,
1417 NULL
, // eightBitData
1420 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1421 if (PyCallable_Check(func
)) {
1422 self
->Connect(id
, lastId
, eventType
,
1423 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1424 new wxPyCallback(func
));
1426 else if (func
== Py_None
) {
1427 self
->Disconnect(id
, lastId
, eventType
,
1428 (wxObjectEventFunction
)
1429 &wxPyCallback::EventThunker
);
1433 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1436 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1437 return self
->Disconnect(id
, lastId
, eventType
,
1438 (wxObjectEventFunction
)
1439 &wxPyCallback::EventThunker
);
1441 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1442 if (_self
&& _self
!= Py_None
) {
1443 self
->SetClientObject(new wxPyOORClientData(_self
));
1446 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1448 self
->SetClientObject(NULL
); // This will delete it too
1453 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1455 return self
->GetUnicodeKey();
1461 #if UINT_MAX < LONG_MAX
1462 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1463 #define SWIG_From_unsigned_SS_int SWIG_From_long
1466 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1467 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1472 #if UINT_MAX != ULONG_MAX
1473 SWIGSTATICINLINE(int)
1474 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1476 const char* errmsg
= val
? "unsigned int" : 0;
1478 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1479 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1480 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1487 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1492 SWIGSTATICINLINE(unsigned int)
1493 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1495 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1500 SWIGSTATICINLINE(unsigned int)
1501 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1504 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1506 this is needed to make valgrind/purify happier. the other
1507 solution is throw an exception, but since this code should work
1510 memset((void*)&v
, 0, sizeof(unsigned int));
1516 SWIGSTATICINLINE(int)
1517 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1519 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1522 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1523 self
->m_size
= size
;
1525 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1528 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1529 int count
= self
->GetNumberOfFiles();
1530 wxString
* files
= self
->GetFiles();
1531 PyObject
* list
= PyList_New(count
);
1534 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1538 for (int i
=0; i
<count
; i
++) {
1539 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1545 wxPyApp
*new_wxPyApp(){
1546 wxPythonApp
= new wxPyApp();
1550 void wxApp_CleanUp() {
1555 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1560 // A dummy class that raises an exception if used...
1564 wxEventLoop() { wxPyRaiseNotImplemented(); }
1565 int Run() { return 0; }
1566 void Exit(int rc
= 0) {}
1567 bool Pending() const { return false; }
1568 bool Dispatch() { return false; }
1569 bool IsRunning() const { return false; }
1570 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1571 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1576 #include <wx/evtloop.h>
1582 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1583 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1584 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1585 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1586 wxWindowList
& list
= self
->GetChildren();
1587 return wxPy_ConvertList(&list
);
1589 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1591 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1596 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1603 long wxWindow_GetHandle(wxWindow
*self
){
1604 return wxPyGetWinHandle(self
);
1606 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1607 self
->AssociateHandle((WXWidget
)handle
);
1610 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1611 return wxWindow::FindWindowById(id
, parent
);
1614 wxWindow
* wxFindWindowByName( const wxString
& name
,
1615 const wxWindow
*parent
= NULL
) {
1616 return wxWindow::FindWindowByName(name
, parent
);
1619 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1620 const wxWindow
*parent
= NULL
) {
1621 return wxWindow::FindWindowByLabel(label
, parent
);
1626 #include <wx/msw/private.h> // to get wxGetWindowId
1630 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1632 WXHWND hWnd
= (WXHWND
)_hWnd
;
1633 long id
= wxGetWindowId(hWnd
);
1634 wxWindow
* win
= new wxWindow
;
1635 parent
->AddChild(win
);
1636 win
->SetEventHandler(win
);
1639 win
->SubclassWin(hWnd
);
1640 win
->AdoptAttributesFromHWND();
1641 win
->SetupColours();
1644 wxPyRaiseNotImplemented();
1650 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1651 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1652 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1654 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1656 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1657 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1658 wxMenuItemList
& list
= self
->GetMenuItems();
1659 return wxPy_ConvertList(&list
);
1661 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1662 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1664 wxPyClientData
* data
= new wxPyClientData(clientData
);
1665 return self
->Append(item
, data
);
1667 return self
->Append(item
);
1669 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1671 wxPyClientData
* data
= new wxPyClientData(clientData
);
1672 return self
->Insert(item
, pos
, data
);
1674 return self
->Insert(item
, pos
);
1676 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1677 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1679 Py_INCREF(data
->m_obj
);
1686 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1687 wxPyClientData
* data
= new wxPyClientData(clientData
);
1688 self
->SetClientObject(n
, data
);
1692 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1693 wxPyUserData
* data
= NULL
;
1695 bool blocked
= wxPyBeginBlockThreads();
1696 data
= new wxPyUserData(userData
);
1697 wxPyEndBlockThreads(blocked
);
1699 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1701 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1702 wxPyUserData
* data
= NULL
;
1704 bool blocked
= wxPyBeginBlockThreads();
1705 data
= new wxPyUserData(userData
);
1706 wxPyEndBlockThreads(blocked
);
1708 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1710 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1711 wxPyUserData
* data
= NULL
;
1713 bool blocked
= wxPyBeginBlockThreads();
1714 data
= new wxPyUserData(userData
);
1715 wxPyEndBlockThreads(blocked
);
1717 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1721 SWIGSTATICINLINE(int)
1722 SWIG_CheckDoubleInRange(double value
, double min_value
,
1723 double max_value
, const char* errmsg
)
1725 if (value
< min_value
) {
1727 PyErr_Format(PyExc_OverflowError
,
1728 "value %g is less than %s minimum %g",
1729 value
, errmsg
, min_value
);
1732 } else if (value
> max_value
) {
1734 PyErr_Format(PyExc_OverflowError
,
1735 "value %g is greater than %s maximum %g",
1736 value
, errmsg
, max_value
);
1744 SWIGSTATICINLINE(int)
1745 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1747 const char* errmsg
= val
? "float" : 0;
1749 if (SWIG_AsVal_double(obj
, &v
)) {
1750 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1760 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1766 SWIGSTATICINLINE(float)
1767 SWIG_As_float(PyObject
* obj
)
1770 if (!SWIG_AsVal_float(obj
, &v
)) {
1772 this is needed to make valgrind/purify happier. the other
1773 solution is throw an exception, but since this code should work
1776 memset((void*)&v
, 0, sizeof(float));
1782 SWIGSTATICINLINE(int)
1783 SWIG_Check_float(PyObject
* obj
)
1785 return SWIG_AsVal_float(obj
, (float*)0);
1788 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1789 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1791 Py_INCREF(data
->m_obj
);
1799 // Figure out the type of the sizer item
1801 struct wxPySizerItemInfo
{
1803 : window(NULL
), sizer(NULL
), gotSize(false),
1804 size(wxDefaultSize
), gotPos(false), pos(-1)
1815 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1817 wxPySizerItemInfo info
;
1819 wxSize
* sizePtr
= &size
;
1821 // Find out what the type of the item is
1823 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1828 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1832 // try wxSize or (w,h)
1833 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1834 info
.size
= *sizePtr
;
1835 info
.gotSize
= true;
1839 if (checkIdx
&& PyInt_Check(item
)) {
1840 info
.pos
= PyInt_AsLong(item
);
1846 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1847 // no expected type, figure out what kind of error message to generate
1848 if ( !checkSize
&& !checkIdx
)
1849 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1850 else if ( checkSize
&& !checkIdx
)
1851 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1852 else if ( !checkSize
&& checkIdx
)
1853 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1855 // can this one happen?
1856 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1862 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1863 if (!self
->GetClientObject())
1864 self
->SetClientObject(new wxPyOORClientData(_self
));
1866 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1868 wxPyUserData
* data
= NULL
;
1869 bool blocked
= wxPyBeginBlockThreads();
1870 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1871 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1872 data
= new wxPyUserData(userData
);
1873 wxPyEndBlockThreads(blocked
);
1875 // Now call the real Add method if a valid item type was found
1877 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1878 else if ( info
.sizer
)
1879 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1880 else if (info
.gotSize
)
1881 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1882 proportion
, flag
, border
, data
);
1886 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1888 wxPyUserData
* data
= NULL
;
1889 bool blocked
= wxPyBeginBlockThreads();
1890 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1891 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1892 data
= new wxPyUserData(userData
);
1893 wxPyEndBlockThreads(blocked
);
1895 // Now call the real Insert method if a valid item type was found
1897 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1898 else if ( info
.sizer
)
1899 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1900 else if (info
.gotSize
)
1901 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1902 proportion
, flag
, border
, data
);
1906 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1908 wxPyUserData
* data
= NULL
;
1909 bool blocked
= wxPyBeginBlockThreads();
1910 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1911 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1912 data
= new wxPyUserData(userData
);
1913 wxPyEndBlockThreads(blocked
);
1915 // Now call the real Prepend method if a valid item type was found
1917 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1918 else if ( info
.sizer
)
1919 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1920 else if (info
.gotSize
)
1921 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1922 proportion
, flag
, border
, data
);
1926 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1927 bool blocked
= wxPyBeginBlockThreads();
1928 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1929 wxPyEndBlockThreads(blocked
);
1931 return self
->Remove(info
.window
);
1932 else if ( info
.sizer
)
1933 return self
->Remove(info
.sizer
);
1934 else if ( info
.gotPos
)
1935 return self
->Remove(info
.pos
);
1939 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1940 bool blocked
= wxPyBeginBlockThreads();
1941 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1942 wxPyEndBlockThreads(blocked
);
1944 return self
->Detach(info
.window
);
1945 else if ( info
.sizer
)
1946 return self
->Detach(info
.sizer
);
1947 else if ( info
.gotPos
)
1948 return self
->Detach(info
.pos
);
1952 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1953 bool blocked
= wxPyBeginBlockThreads();
1954 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1955 wxPyEndBlockThreads(blocked
);
1957 return self
->GetItem(info
.window
);
1958 else if ( info
.sizer
)
1959 return self
->GetItem(info
.sizer
);
1960 else if ( info
.gotPos
)
1961 return self
->GetItem(info
.pos
);
1965 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1966 bool blocked
= wxPyBeginBlockThreads();
1967 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1968 wxPyEndBlockThreads(blocked
);
1970 self
->SetItemMinSize(info
.window
, size
);
1971 else if ( info
.sizer
)
1972 self
->SetItemMinSize(info
.sizer
, size
);
1973 else if ( info
.gotPos
)
1974 self
->SetItemMinSize(info
.pos
, size
);
1976 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1977 wxSizerItemList
& list
= self
->GetChildren();
1978 return wxPy_ConvertList(&list
);
1980 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1981 bool blocked
= wxPyBeginBlockThreads();
1982 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1983 wxPyEndBlockThreads(blocked
);
1985 return self
->Show(info
.window
, show
, recursive
);
1986 else if ( info
.sizer
)
1987 return self
->Show(info
.sizer
, show
, recursive
);
1988 else if ( info
.gotPos
)
1989 return self
->Show(info
.pos
, show
);
1993 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1994 bool blocked
= wxPyBeginBlockThreads();
1995 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1996 wxPyEndBlockThreads(blocked
);
1998 return self
->IsShown(info
.window
);
1999 else if ( info
.sizer
)
2000 return self
->IsShown(info
.sizer
);
2001 else if ( info
.gotPos
)
2002 return self
->IsShown(info
.pos
);
2008 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
2009 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
2010 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2015 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2017 if (source
== Py_None
) {
2018 **obj
= wxGBPosition(-1,-1);
2021 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2024 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2026 if (source
== Py_None
) {
2027 **obj
= wxGBSpan(-1,-1);
2030 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2034 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2038 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2039 bool blocked
= wxPyBeginBlockThreads();
2040 PyObject
* tup
= PyTuple_New(2);
2041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2043 wxPyEndBlockThreads(blocked
);
2046 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2047 self
->SetRowspan(rowspan
);
2048 self
->SetColspan(colspan
);
2050 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2051 bool blocked
= wxPyBeginBlockThreads();
2052 PyObject
* tup
= PyTuple_New(2);
2053 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2054 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2055 wxPyEndBlockThreads(blocked
);
2058 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2059 wxPyUserData
* data
= NULL
;
2061 bool blocked
= wxPyBeginBlockThreads();
2062 data
= new wxPyUserData(userData
);
2063 wxPyEndBlockThreads(blocked
);
2065 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2067 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2068 wxPyUserData
* data
= NULL
;
2070 bool blocked
= wxPyBeginBlockThreads();
2071 data
= new wxPyUserData(userData
);
2072 wxPyEndBlockThreads(blocked
);
2074 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2076 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2077 wxPyUserData
* data
= NULL
;
2079 bool blocked
= wxPyBeginBlockThreads();
2080 data
= new wxPyUserData(userData
);
2081 wxPyEndBlockThreads(blocked
);
2083 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2085 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2087 self
->GetEndPos(row
, col
);
2088 return wxGBPosition(row
, col
);
2090 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2092 wxPyUserData
* data
= NULL
;
2093 bool blocked
= wxPyBeginBlockThreads();
2094 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2095 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2096 data
= new wxPyUserData(userData
);
2097 wxPyEndBlockThreads(blocked
);
2099 // Now call the real Add method if a valid item type was found
2101 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2102 else if ( info
.sizer
)
2103 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2104 else if (info
.gotSize
)
2105 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2106 pos
, span
, flag
, border
, data
);
2114 static int _wrap_EmptyString_set(PyObject
*) {
2115 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2120 static PyObject
*_wrap_EmptyString_get() {
2125 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2127 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2134 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxObject
*arg1
= (wxObject
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 result
= wxObject_GetClassName(arg1
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2166 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxObject
*arg1
= (wxObject
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxObject_Destroy(arg1
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 Py_INCREF(Py_None
); resultobj
= Py_None
;
2191 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2194 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2196 return Py_BuildValue((char *)"");
2198 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxSize
*arg1
= (wxSize
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2205 (char *) "self",(char *) "x", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 arg2
= (int)SWIG_As_int(obj1
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2213 if (arg1
) (arg1
)->x
= arg2
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2234 result
= (int) ((arg1
)->x
);
2236 resultobj
= SWIG_From_int((int)result
);
2243 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxSize
*arg1
= (wxSize
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "y", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2256 arg2
= (int)SWIG_As_int(obj1
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2258 if (arg1
) (arg1
)->y
= arg2
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2267 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxSize
*arg1
= (wxSize
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2273 (char *) "self", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2279 result
= (int) ((arg1
)->y
);
2281 resultobj
= SWIG_From_int((int)result
);
2288 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 int arg1
= (int) 0 ;
2291 int arg2
= (int) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "w",(char *) "h", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 arg1
= (int)SWIG_As_int(obj0
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2305 arg2
= (int)SWIG_As_int(obj1
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2322 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2324 wxSize
*arg1
= (wxSize
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2327 (char *) "self", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 Py_INCREF(Py_None
); resultobj
= Py_None
;
2347 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxSize
*arg1
= (wxSize
*) 0 ;
2353 PyObject
* obj0
= 0 ;
2354 PyObject
* obj1
= 0 ;
2356 (char *) "self",(char *) "sz", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2382 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxSize
*arg1
= (wxSize
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2389 PyObject
* obj1
= 0 ;
2391 (char *) "self",(char *) "sz", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2417 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxSize
*arg1
= (wxSize
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "sz", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2445 resultptr
= new wxSize((wxSize
&) result
);
2446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2454 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxSize
*arg1
= (wxSize
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "sz", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2482 resultptr
= new wxSize((wxSize
&) result
);
2483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2491 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxSize
*arg1
= (wxSize
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2497 PyObject
* obj1
= 0 ;
2499 (char *) "self",(char *) "sz", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->IncTo((wxSize
const &)*arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxSize
*arg1
= (wxSize
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "sz", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->DecTo((wxSize
const &)*arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxSize
*arg1
= (wxSize
*) 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2562 PyObject
* obj2
= 0 ;
2564 (char *) "self",(char *) "w",(char *) "h", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (int)SWIG_As_int(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2572 arg3
= (int)SWIG_As_int(obj2
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 (arg1
)->Set(arg2
,arg3
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 Py_INCREF(Py_None
); resultobj
= Py_None
;
2588 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxSize
*arg1
= (wxSize
*) 0 ;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2595 (char *) "self",(char *) "w", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 arg2
= (int)SWIG_As_int(obj1
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->SetWidth(arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxSize
*arg1
= (wxSize
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2622 PyObject
* obj1
= 0 ;
2624 (char *) "self",(char *) "h", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 arg2
= (int)SWIG_As_int(obj1
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 (arg1
)->SetHeight(arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 Py_INCREF(Py_None
); resultobj
= Py_None
;
2646 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxSize
*arg1
= (wxSize
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_From_int((int)result
);
2672 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxSize
*arg1
= (wxSize
*) 0 ;
2676 PyObject
* obj0
= 0 ;
2678 (char *) "self", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= SWIG_From_int((int)result
);
2698 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxSize
*arg1
= (wxSize
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2726 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxSize
*arg1
= (wxSize
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2732 PyObject
* obj1
= 0 ;
2734 (char *) "self",(char *) "size", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxSize
*arg1
= (wxSize
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (PyObject
*)wxSize_Get(arg1
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2784 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2787 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2789 return Py_BuildValue((char *)"");
2791 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2798 (char *) "self",(char *) "x", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2804 arg2
= (double)SWIG_As_double(obj1
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2806 if (arg1
) (arg1
)->x
= arg2
;
2808 Py_INCREF(Py_None
); resultobj
= Py_None
;
2815 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "self", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2827 result
= (double) ((arg1
)->x
);
2829 resultobj
= SWIG_From_double((double)result
);
2836 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2843 (char *) "self",(char *) "y", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 arg2
= (double)SWIG_As_double(obj1
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2851 if (arg1
) (arg1
)->y
= arg2
;
2853 Py_INCREF(Py_None
); resultobj
= Py_None
;
2860 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2872 result
= (double) ((arg1
)->y
);
2874 resultobj
= SWIG_From_double((double)result
);
2881 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 double arg1
= (double) 0.0 ;
2884 double arg2
= (double) 0.0 ;
2885 wxRealPoint
*result
;
2886 PyObject
* obj0
= 0 ;
2887 PyObject
* obj1
= 0 ;
2889 (char *) "x",(char *) "y", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 arg1
= (double)SWIG_As_double(obj0
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 arg2
= (double)SWIG_As_double(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2915 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2918 PyObject
* obj0
= 0 ;
2920 (char *) "self", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 Py_INCREF(Py_None
); resultobj
= Py_None
;
2940 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2943 wxRealPoint
*arg2
= 0 ;
2946 PyObject
* obj0
= 0 ;
2947 PyObject
* obj1
= 0 ;
2949 (char *) "self",(char *) "pt", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2975 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2978 wxRealPoint
*arg2
= 0 ;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2984 (char *) "self",(char *) "pt", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3010 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3013 wxRealPoint
*arg2
= 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3019 (char *) "self",(char *) "pt", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3027 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3037 wxRealPoint
* resultptr
;
3038 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3047 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3050 wxRealPoint
*arg2
= 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3056 (char *) "self",(char *) "pt", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3064 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 wxRealPoint
* resultptr
;
3075 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3084 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3093 (char *) "self",(char *) "x",(char *) "y", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3099 arg2
= (double)SWIG_As_double(obj1
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3101 arg3
= (double)SWIG_As_double(obj2
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 wxRealPoint_Set(arg1
,arg2
,arg3
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3110 Py_INCREF(Py_None
); resultobj
= Py_None
;
3117 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3143 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3146 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3148 return Py_BuildValue((char *)"");
3150 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxPoint
*arg1
= (wxPoint
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3155 PyObject
* obj1
= 0 ;
3157 (char *) "self",(char *) "x", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 arg2
= (int)SWIG_As_int(obj1
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3165 if (arg1
) (arg1
)->x
= arg2
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxPoint
*arg1
= (wxPoint
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 result
= (int) ((arg1
)->x
);
3188 resultobj
= SWIG_From_int((int)result
);
3195 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxPoint
*arg1
= (wxPoint
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3202 (char *) "self",(char *) "y", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3208 arg2
= (int)SWIG_As_int(obj1
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3210 if (arg1
) (arg1
)->y
= arg2
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxPoint
*arg1
= (wxPoint
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3225 (char *) "self", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 result
= (int) ((arg1
)->y
);
3233 resultobj
= SWIG_From_int((int)result
);
3240 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 int arg1
= (int) 0 ;
3243 int arg2
= (int) 0 ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "x",(char *) "y", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 arg1
= (int)SWIG_As_int(obj0
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 arg2
= (int)SWIG_As_int(obj1
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3274 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxPoint
*arg1
= (wxPoint
*) 0 ;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "self", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxPoint
*arg1
= (wxPoint
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3308 (char *) "self",(char *) "pt", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3334 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxPoint
*arg1
= (wxPoint
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "pt", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3369 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxPoint
*arg1
= (wxPoint
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 (char *) "self",(char *) "pt", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3396 wxPoint
* resultptr
;
3397 resultptr
= new wxPoint((wxPoint
&) result
);
3398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3406 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxPoint
*arg1
= (wxPoint
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3415 (char *) "self",(char *) "pt", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3433 wxPoint
* resultptr
;
3434 resultptr
= new wxPoint((wxPoint
&) result
);
3435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3443 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxPoint
*arg1
= (wxPoint
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "pt", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3457 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3466 result
= (wxPoint
*) &_result_ref
;
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3479 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPoint
*arg1
= (wxPoint
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "pt", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3493 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3496 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3502 result
= (wxPoint
*) &_result_ref
;
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3515 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxPoint
*arg1
= (wxPoint
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "x",(char *) "y", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= (long)SWIG_As_long(obj1
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3532 arg3
= (long)SWIG_As_long(obj2
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPoint_Set(arg1
,arg2
,arg3
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxPoint
*arg1
= (wxPoint
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3554 (char *) "self", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (PyObject
*)wxPoint_Get(arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3574 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3577 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3579 return Py_BuildValue((char *)"");
3581 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 int arg1
= (int) 0 ;
3584 int arg2
= (int) 0 ;
3585 int arg3
= (int) 0 ;
3586 int arg4
= (int) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3590 PyObject
* obj2
= 0 ;
3591 PyObject
* obj3
= 0 ;
3593 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3598 arg1
= (int)SWIG_As_int(obj0
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 arg2
= (int)SWIG_As_int(obj1
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 arg3
= (int)SWIG_As_int(obj2
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 arg4
= (int)SWIG_As_int(obj3
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3627 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "topLeft",(char *) "bottomRight", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3643 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3663 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3673 (char *) "pos",(char *) "size", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3679 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3683 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3699 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "size", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3712 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3728 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxRect
*arg1
= (wxRect
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxRect
*arg1
= (wxRect
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)((wxRect
const *)arg1
)->GetX();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_From_int((int)result
);
3779 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxRect
*arg1
= (wxRect
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "x", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 arg2
= (int)SWIG_As_int(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxRect
*arg1
= (wxRect
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)(arg1
)->GetY();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_From_int((int)result
);
3834 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxRect
*arg1
= (wxRect
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3841 (char *) "self",(char *) "y", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 arg2
= (int)SWIG_As_int(obj1
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxRect
*arg1
= (wxRect
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_From_int((int)result
);
3889 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxRect
*arg1
= (wxRect
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3896 (char *) "self",(char *) "w", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 arg2
= (int)SWIG_As_int(obj1
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 (arg1
)->SetWidth(arg2
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 Py_INCREF(Py_None
); resultobj
= Py_None
;
3918 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxRect
*arg1
= (wxRect
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3924 (char *) "self", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_From_int((int)result
);
3944 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxRect
*arg1
= (wxRect
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3951 (char *) "self",(char *) "h", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 arg2
= (int)SWIG_As_int(obj1
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 (arg1
)->SetHeight(arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxRect
*arg1
= (wxRect
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= ((wxRect
const *)arg1
)->GetPosition();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 wxPoint
* resultptr
;
3994 resultptr
= new wxPoint((wxPoint
&) result
);
3995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4003 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxRect
*arg1
= (wxRect
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4009 PyObject
* obj1
= 0 ;
4011 (char *) "self",(char *) "p", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 Py_INCREF(Py_None
); resultobj
= Py_None
;
4035 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4037 wxRect
*arg1
= (wxRect
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 result
= ((wxRect
const *)arg1
)->GetSize();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4056 resultptr
= new wxSize((wxSize
&) result
);
4057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4065 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRect
*arg1
= (wxRect
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "s", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->SetSize((wxSize
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRect
*arg1
= (wxRect
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4117 wxPoint
* resultptr
;
4118 resultptr
= new wxPoint((wxPoint
&) result
);
4119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4127 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxRect
*arg1
= (wxRect
*) 0 ;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4135 (char *) "self",(char *) "p", NULL
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxRect
*arg1
= (wxRect
*) 0 ;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "self", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 wxPoint
* resultptr
;
4180 resultptr
= new wxPoint((wxPoint
&) result
);
4181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4189 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxRect
*arg1
= (wxRect
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "p", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4221 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxRect
*arg1
= (wxRect
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 (char *) "self", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_From_int((int)result
);
4247 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxRect
*arg1
= (wxRect
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "self", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (int)((wxRect
const *)arg1
)->GetTop();
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_From_int((int)result
);
4273 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxRect
*arg1
= (wxRect
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4279 (char *) "self", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= SWIG_From_int((int)result
);
4299 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxRect
*arg1
= (wxRect
*) 0 ;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "self", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (int)((wxRect
const *)arg1
)->GetRight();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_int((int)result
);
4325 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxRect
*arg1
= (wxRect
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4332 (char *) "self",(char *) "left", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 arg2
= (int)SWIG_As_int(obj1
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetLeft(arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 Py_INCREF(Py_None
); resultobj
= Py_None
;
4354 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxRect
*arg1
= (wxRect
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4361 (char *) "self",(char *) "right", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg2
= (int)SWIG_As_int(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetRight(arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "top", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 arg2
= (int)SWIG_As_int(obj1
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 (arg1
)->SetTop(arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxRect
*arg1
= (wxRect
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "bottom", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg2
= (int)SWIG_As_int(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetBottom(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxRect
*arg1
= (wxRect
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 PyObject
* obj2
= 0 ;
4451 (char *) "self",(char *) "dx",(char *) "dy", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 arg2
= (int)SWIG_As_int(obj1
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4459 arg3
= (int)SWIG_As_int(obj2
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4465 result
= (wxRect
*) &_result_ref
;
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4478 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxRect
*arg1
= (wxRect
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4488 (char *) "self",(char *) "dx",(char *) "dy", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 arg2
= (int)SWIG_As_int(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4496 arg3
= (int)SWIG_As_int(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4502 result
= (wxRect
*) &_result_ref
;
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4515 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxRect
*arg1
= (wxRect
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 PyObject
* obj2
= 0 ;
4524 (char *) "self",(char *) "dx",(char *) "dy", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4530 arg2
= (int)SWIG_As_int(obj1
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4532 arg3
= (int)SWIG_As_int(obj2
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->Offset(arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "pt", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 (arg1
)->Offset((wxPoint
const &)*arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxRect
*arg1
= (wxRect
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4589 (char *) "self",(char *) "rect", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4603 result
= (wxRect
*) &_result_ref
;
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4616 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxRect
*arg1
= (wxRect
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "rect", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 resultptr
= new wxRect((wxRect
&) result
);
4645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4653 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxRect
*arg1
= (wxRect
*) 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4662 (char *) "self",(char *) "rect", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4667 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4670 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4676 result
= (wxRect
*) &_result_ref
;
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4689 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxRect
*arg1
= (wxRect
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4698 (char *) "self",(char *) "rect", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4706 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4724 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxRect
*arg1
= (wxRect
*) 0 ;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4733 (char *) "self",(char *) "rect", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxRect
*arg1
= (wxRect
*) 0 ;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4769 (char *) "self",(char *) "x",(char *) "y", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4775 arg2
= (int)SWIG_As_int(obj1
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4777 arg3
= (int)SWIG_As_int(obj2
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4795 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxRect
*arg1
= (wxRect
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "self",(char *) "pt", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxRect
*arg1
= (wxRect
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4839 (char *) "self",(char *) "rect", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxRect
*arg1
= (wxRect
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4872 (char *) "self",(char *) "x", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4878 arg2
= (int)SWIG_As_int(obj1
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4880 if (arg1
) (arg1
)->x
= arg2
;
4882 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxRect
*arg1
= (wxRect
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 result
= (int) ((arg1
)->x
);
4903 resultobj
= SWIG_From_int((int)result
);
4910 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRect
*arg1
= (wxRect
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4917 (char *) "self",(char *) "y", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4923 arg2
= (int)SWIG_As_int(obj1
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4925 if (arg1
) (arg1
)->y
= arg2
;
4927 Py_INCREF(Py_None
); resultobj
= Py_None
;
4934 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRect
*arg1
= (wxRect
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4946 result
= (int) ((arg1
)->y
);
4948 resultobj
= SWIG_From_int((int)result
);
4955 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxRect
*arg1
= (wxRect
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4962 (char *) "self",(char *) "width", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (int)SWIG_As_int(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4970 if (arg1
) (arg1
)->width
= arg2
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4979 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxRect
*arg1
= (wxRect
*) 0 ;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "self", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 result
= (int) ((arg1
)->width
);
4993 resultobj
= SWIG_From_int((int)result
);
5000 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxRect
*arg1
= (wxRect
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "height", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 arg2
= (int)SWIG_As_int(obj1
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5015 if (arg1
) (arg1
)->height
= arg2
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxRect
*arg1
= (wxRect
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5030 (char *) "self", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 result
= (int) ((arg1
)->height
);
5038 resultobj
= SWIG_From_int((int)result
);
5045 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxRect
*arg1
= (wxRect
*) 0 ;
5048 int arg2
= (int) 0 ;
5049 int arg3
= (int) 0 ;
5050 int arg4
= (int) 0 ;
5051 int arg5
= (int) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 PyObject
* obj2
= 0 ;
5055 PyObject
* obj3
= 0 ;
5056 PyObject
* obj4
= 0 ;
5058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 arg2
= (int)SWIG_As_int(obj1
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 arg3
= (int)SWIG_As_int(obj2
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 arg4
= (int)SWIG_As_int(obj3
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 arg5
= (int)SWIG_As_int(obj4
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxRect
*arg1
= (wxRect
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5100 (char *) "self", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (PyObject
*)wxRect_Get(arg1
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5120 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5123 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5125 return Py_BuildValue((char *)"");
5127 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxRect
*arg1
= (wxRect
*) 0 ;
5130 wxRect
*arg2
= (wxRect
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5135 (char *) "r1",(char *) "r2", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 if (!wxPyCheckForApp()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5158 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 double arg1
= (double) 0.0 ;
5161 double arg2
= (double) 0.0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "x",(char *) "y", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5171 arg1
= (double)SWIG_As_double(obj0
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 arg2
= (double)SWIG_As_double(obj1
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5192 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxPoint2D
*arg1
= 0 ;
5197 PyObject
* obj0
= 0 ;
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5205 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5221 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5226 PyObject
* obj0
= 0 ;
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5234 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5250 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5253 int *arg2
= (int *) 0 ;
5254 int *arg3
= (int *) 0 ;
5259 PyObject
* obj0
= 0 ;
5261 (char *) "self", NULL
5264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5265 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5278 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5279 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5280 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5287 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5290 int *arg2
= (int *) 0 ;
5291 int *arg3
= (int *) 0 ;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "self", NULL
5301 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5302 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5315 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5316 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5317 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5324 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "self", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= SWIG_From_double((double)result
);
5350 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "self", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_From_double((double)result
);
5376 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5383 (char *) "self",(char *) "length", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 arg2
= (double)SWIG_As_double(obj1
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 (arg1
)->SetVectorLength(arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 Py_INCREF(Py_None
); resultobj
= Py_None
;
5405 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "degrees", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (double)SWIG_As_double(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->SetVectorAngle(arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5434 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5437 wxPoint2D
*arg2
= 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "pt", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= SWIG_From_double((double)result
);
5467 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5470 wxPoint2D
*arg2
= 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "pt", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5484 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_From_double((double)result
);
5500 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5503 wxPoint2D
*arg2
= 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "vec", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_double((double)result
);
5533 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5536 wxPoint2D
*arg2
= 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5542 (char *) "self",(char *) "vec", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_From_double((double)result
);
5566 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5572 (char *) "self", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= (arg1
)->operator -();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 wxPoint2D
* resultptr
;
5587 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5596 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5599 wxPoint2D
*arg2
= 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "pt", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5610 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5613 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5619 result
= (wxPoint2D
*) &_result_ref
;
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5632 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5635 wxPoint2D
*arg2
= 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5641 (char *) "self",(char *) "pt", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5646 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5649 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5655 result
= (wxPoint2D
*) &_result_ref
;
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5668 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5671 wxPoint2D
*arg2
= 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "pt", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5682 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5685 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5691 result
= (wxPoint2D
*) &_result_ref
;
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5704 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5707 wxPoint2D
*arg2
= 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "self",(char *) "pt", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5718 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5721 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5727 result
= (wxPoint2D
*) &_result_ref
;
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5740 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5743 wxPoint2D
*arg2
= 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "pt", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5778 wxPoint2D
*arg2
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5784 (char *) "self",(char *) "pt", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5810 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "m_x", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 arg2
= (double)SWIG_As_double(obj1
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5825 if (arg1
) (arg1
)->m_x
= arg2
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 result
= (double) ((arg1
)->m_x
);
5848 resultobj
= SWIG_From_double((double)result
);
5855 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5862 (char *) "self",(char *) "m_y", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 arg2
= (double)SWIG_As_double(obj1
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5870 if (arg1
) (arg1
)->m_y
= arg2
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5879 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 result
= (double) ((arg1
)->m_y
);
5893 resultobj
= SWIG_From_double((double)result
);
5900 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5903 double arg2
= (double) 0 ;
5904 double arg3
= (double) 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 PyObject
* obj2
= 0 ;
5909 (char *) "self",(char *) "x",(char *) "y", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 arg2
= (double)SWIG_As_double(obj1
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 arg3
= (double)SWIG_As_double(obj2
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 wxPoint2D_Set(arg1
,arg2
,arg3
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5963 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5966 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5968 return Py_BuildValue((char *)"");
5970 static int _wrap_DefaultPosition_set(PyObject
*) {
5971 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5976 static PyObject
*_wrap_DefaultPosition_get() {
5979 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5984 static int _wrap_DefaultSize_set(PyObject
*) {
5985 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5990 static PyObject
*_wrap_DefaultSize_get() {
5993 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5998 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 PyObject
*arg1
= (PyObject
*) 0 ;
6001 wxPyInputStream
*result
;
6002 PyObject
* obj0
= 0 ;
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6023 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 Py_INCREF(Py_None
); resultobj
= Py_None
;
6048 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6053 (char *) "self", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 Py_INCREF(Py_None
); resultobj
= Py_None
;
6073 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)(arg1
)->eof();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6126 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6129 int arg2
= (int) -1 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6134 (char *) "self",(char *) "size", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg2
= (int)SWIG_As_int(obj1
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (PyObject
*)(arg1
)->read(arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6158 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6161 int arg2
= (int) -1 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "size", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 arg2
= (int)SWIG_As_int(obj1
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (PyObject
*)(arg1
)->readline(arg2
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6190 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6193 int arg2
= (int) -1 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "sizehint", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 arg2
= (int)SWIG_As_int(obj1
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6222 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6226 int arg3
= (int) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 PyObject
* obj2
= 0 ;
6231 (char *) "self",(char *) "offset",(char *) "whence", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 arg2
= (int)SWIG_As_int(obj1
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 arg3
= (int)SWIG_As_int(obj2
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 (arg1
)->seek(arg2
,arg3
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6263 (char *) "self", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (int)(arg1
)->tell();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_From_int((int)result
);
6283 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (char)(arg1
)->Peek();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_From_char((char)result
);
6309 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (char)(arg1
)->GetC();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_From_char((char)result
);
6335 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (size_t)(arg1
)->LastRead();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6361 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)(arg1
)->CanRead();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (bool)(arg1
)->Eof();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6417 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6425 (char *) "self",(char *) "c", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6431 arg2
= (char)SWIG_As_char(obj1
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (bool)(arg1
)->Ungetch(arg2
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6449 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6453 int arg3
= (int) wxFromStart
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6459 (char *) "self",(char *) "pos",(char *) "mode", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 arg2
= (long)SWIG_As_long(obj1
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 arg3
= (int)SWIG_As_int(obj2
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_long((long)result
);
6485 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (long)(arg1
)->TellI();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_From_long((long)result
);
6511 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6514 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6516 return Py_BuildValue((char *)"");
6518 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6521 PyObject
*arg2
= (PyObject
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "obj", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 wxOutputStream_write(arg1
,arg2
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6549 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6551 return Py_BuildValue((char *)"");
6553 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6556 wxString
*arg2
= 0 ;
6557 wxString
*arg3
= 0 ;
6558 wxString
*arg4
= 0 ;
6561 wxPyInputStream
*temp1
;
6563 bool temp2
= false ;
6564 bool temp3
= false ;
6565 bool temp4
= false ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6570 PyObject
* obj3
= 0 ;
6571 PyObject
* obj4
= 0 ;
6573 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6578 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6579 arg1
= temp1
->m_wxis
;
6582 PyErr_Clear(); // clear the failure of the wxPyConvert above
6583 arg1
= wxPyCBInputStream_create(obj0
, false);
6585 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6592 arg2
= wxString_in_helper(obj1
);
6593 if (arg2
== NULL
) SWIG_fail
;
6597 arg3
= wxString_in_helper(obj2
);
6598 if (arg3
== NULL
) SWIG_fail
;
6602 arg4
= wxString_in_helper(obj3
);
6603 if (arg4
== NULL
) SWIG_fail
;
6606 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6607 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= wxPyMake_wxObject(result
, 1);
6657 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6685 wxInputStream
*result
;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (wxInputStream
*)(arg1
)->GetStream();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 wxPyInputStream
* _ptr
= NULL
;
6705 _ptr
= new wxPyInputStream(result
);
6707 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6715 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6721 (char *) "self", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6731 result
= (wxString
*) &_result_ref
;
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6750 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6756 (char *) "self", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxString
const &_result_ref
= (arg1
)->GetLocation();
6766 result
= (wxString
*) &_result_ref
;
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6776 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6785 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "self", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6801 result
= (wxString
*) &_result_ref
;
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6820 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "self", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (arg1
)->GetModificationTime();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 wxDateTime
* resultptr
;
6841 resultptr
= new wxDateTime((wxDateTime
&) result
);
6842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6850 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6853 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6855 return Py_BuildValue((char *)"");
6857 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6860 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6862 return Py_BuildValue((char *)"");
6864 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxPyFileSystemHandler
*result
;
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6886 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6889 PyObject
*arg2
= (PyObject
*) 0 ;
6890 PyObject
*arg3
= (PyObject
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6893 PyObject
* obj2
= 0 ;
6895 (char *) "self",(char *) "self",(char *) "_class", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 Py_INCREF(Py_None
); resultobj
= Py_None
;
6917 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6920 wxString
*arg2
= 0 ;
6922 bool temp2
= false ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "location", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 arg2
= wxString_in_helper(obj1
);
6934 if (arg2
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6961 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6964 wxFileSystem
*arg2
= 0 ;
6965 wxString
*arg3
= 0 ;
6967 bool temp3
= false ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6970 PyObject
* obj2
= 0 ;
6972 (char *) "self",(char *) "fs",(char *) "location", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6982 PyErr_SetString(PyExc_TypeError
,"null reference");
6986 arg3
= wxString_in_helper(obj2
);
6987 if (arg3
== NULL
) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= wxPyMake_wxObject(result
, 1);
7014 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7017 wxString
*arg2
= 0 ;
7018 int arg3
= (int) 0 ;
7020 bool temp2
= false ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 PyObject
* obj2
= 0 ;
7025 (char *) "self",(char *) "spec",(char *) "flags", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 arg2
= wxString_in_helper(obj1
);
7033 if (arg2
== NULL
) SWIG_fail
;
7037 arg3
= (int)SWIG_As_int(obj2
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7068 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7074 (char *) "self", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (arg1
)->FindNext();
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7100 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7103 wxString
*arg2
= 0 ;
7105 bool temp2
= false ;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7109 (char *) "self",(char *) "location", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 arg2
= wxString_in_helper(obj1
);
7117 if (arg2
== NULL
) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7148 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7151 wxString
*arg2
= 0 ;
7153 bool temp2
= false ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7157 (char *) "self",(char *) "location", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 arg2
= wxString_in_helper(obj1
);
7165 if (arg2
== NULL
) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7196 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7199 wxString
*arg2
= 0 ;
7201 bool temp2
= false ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "location", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 arg2
= wxString_in_helper(obj1
);
7213 if (arg2
== NULL
) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7244 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7247 wxString
*arg2
= 0 ;
7249 bool temp2
= false ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "location", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 arg2
= wxString_in_helper(obj1
);
7261 if (arg2
== NULL
) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7292 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7295 wxString
*arg2
= 0 ;
7297 bool temp2
= false ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7301 (char *) "self",(char *) "location", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= wxString_in_helper(obj1
);
7309 if (arg2
== NULL
) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7340 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7345 return Py_BuildValue((char *)"");
7347 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxFileSystem
*result
;
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (wxFileSystem
*)new wxFileSystem();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= wxPyMake_wxObject(result
, 1);
7371 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7399 wxString
*arg2
= 0 ;
7400 bool arg3
= (bool) false ;
7401 bool temp2
= false ;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7404 PyObject
* obj2
= 0 ;
7406 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7413 arg2
= wxString_in_helper(obj1
);
7414 if (arg2
== NULL
) SWIG_fail
;
7418 arg3
= (bool)SWIG_As_bool(obj2
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (arg1
)->GetPath();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7475 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7478 wxString
*arg2
= 0 ;
7480 bool temp2
= false ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7484 (char *) "self",(char *) "location", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7491 arg2
= wxString_in_helper(obj1
);
7492 if (arg2
== NULL
) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= wxPyMake_wxObject(result
, 1);
7519 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7522 wxString
*arg2
= 0 ;
7523 int arg3
= (int) 0 ;
7525 bool temp2
= false ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7528 PyObject
* obj2
= 0 ;
7530 (char *) "self",(char *) "spec",(char *) "flags", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 arg2
= wxString_in_helper(obj1
);
7538 if (arg2
== NULL
) SWIG_fail
;
7542 arg3
= (int)SWIG_As_int(obj2
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7573 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "self", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (arg1
)->FindNext();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7605 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "handler", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxFileSystem::AddHandler(arg1
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 Py_INCREF(Py_None
); resultobj
= Py_None
;
7630 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 wxFileSystem::CleanUpHandlers();
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxString
*arg1
= 0 ;
7655 bool temp1
= false ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "filename", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7663 arg1
= wxString_in_helper(obj0
);
7664 if (arg1
== NULL
) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7695 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxString
*arg1
= 0 ;
7699 bool temp1
= false ;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "url", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7707 arg1
= wxString_in_helper(obj0
);
7708 if (arg1
== NULL
) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7739 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7742 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7744 return Py_BuildValue((char *)"");
7746 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxInternetFSHandler
*result
;
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7768 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7771 wxString
*arg2
= 0 ;
7773 bool temp2
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "location", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 arg2
= wxString_in_helper(obj1
);
7785 if (arg2
== NULL
) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7812 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7815 wxFileSystem
*arg2
= 0 ;
7816 wxString
*arg3
= 0 ;
7818 bool temp3
= false ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7821 PyObject
* obj2
= 0 ;
7823 (char *) "self",(char *) "fs",(char *) "location", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7833 PyErr_SetString(PyExc_TypeError
,"null reference");
7837 arg3
= wxString_in_helper(obj2
);
7838 if (arg3
== NULL
) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= wxPyMake_wxObject(result
, 1);
7865 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7868 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7870 return Py_BuildValue((char *)"");
7872 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxZipFSHandler
*result
;
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7894 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7897 wxString
*arg2
= 0 ;
7899 bool temp2
= false ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7903 (char *) "self",(char *) "location", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 arg2
= wxString_in_helper(obj1
);
7911 if (arg2
== NULL
) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7938 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7941 wxFileSystem
*arg2
= 0 ;
7942 wxString
*arg3
= 0 ;
7944 bool temp3
= false ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7947 PyObject
* obj2
= 0 ;
7949 (char *) "self",(char *) "fs",(char *) "location", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7959 PyErr_SetString(PyExc_TypeError
,"null reference");
7963 arg3
= wxString_in_helper(obj2
);
7964 if (arg3
== NULL
) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
, 1);
7991 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7994 wxString
*arg2
= 0 ;
7995 int arg3
= (int) 0 ;
7997 bool temp2
= false ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8002 (char *) "self",(char *) "spec",(char *) "flags", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 arg2
= wxString_in_helper(obj1
);
8010 if (arg2
== NULL
) SWIG_fail
;
8014 arg3
= (int)SWIG_As_int(obj2
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8045 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8051 (char *) "self", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (arg1
)->FindNext();
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8077 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8080 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8082 return Py_BuildValue((char *)"");
8084 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxString
*arg1
= 0 ;
8089 bool temp1
= false ;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8092 PyObject
* obj2
= 0 ;
8094 (char *) "filename",(char *) "image",(char *) "type", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8099 arg1
= wxString_in_helper(obj0
);
8100 if (arg1
== NULL
) SWIG_fail
;
8103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8107 PyErr_SetString(PyExc_TypeError
,"null reference");
8110 arg3
= (long)SWIG_As_long(obj2
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxString
*arg1
= 0 ;
8137 wxBitmap
*arg2
= 0 ;
8139 bool temp1
= false ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8144 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8149 arg1
= wxString_in_helper(obj0
);
8150 if (arg1
== NULL
) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8157 PyErr_SetString(PyExc_TypeError
,"null reference");
8160 arg3
= (long)SWIG_As_long(obj2
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxString
*arg1
= 0 ;
8187 PyObject
*arg2
= (PyObject
*) 0 ;
8188 bool temp1
= false ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8192 (char *) "filename",(char *) "data", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8197 arg1
= wxString_in_helper(obj0
);
8198 if (arg1
== NULL
) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8224 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxMemoryFSHandler
*result
;
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8246 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxString
*arg1
= 0 ;
8249 bool temp1
= false ;
8250 PyObject
* obj0
= 0 ;
8252 (char *) "filename", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8257 arg1
= wxString_in_helper(obj0
);
8258 if (arg1
== NULL
) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8286 wxString
*arg2
= 0 ;
8288 bool temp2
= false ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8292 (char *) "self",(char *) "location", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 arg2
= wxString_in_helper(obj1
);
8300 if (arg2
== NULL
) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8327 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8330 wxFileSystem
*arg2
= 0 ;
8331 wxString
*arg3
= 0 ;
8333 bool temp3
= false ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 PyObject
* obj2
= 0 ;
8338 (char *) "self",(char *) "fs",(char *) "location", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8348 PyErr_SetString(PyExc_TypeError
,"null reference");
8352 arg3
= wxString_in_helper(obj2
);
8353 if (arg3
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= wxPyMake_wxObject(result
, 1);
8380 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8383 wxString
*arg2
= 0 ;
8384 int arg3
= (int) 0 ;
8386 bool temp2
= false ;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8389 PyObject
* obj2
= 0 ;
8391 (char *) "self",(char *) "spec",(char *) "flags", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= wxString_in_helper(obj1
);
8399 if (arg2
== NULL
) SWIG_fail
;
8403 arg3
= (int)SWIG_As_int(obj2
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8434 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (arg1
)->FindNext();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8466 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8469 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8471 return Py_BuildValue((char *)"");
8473 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (arg1
)->GetName();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8505 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (arg1
)->GetExtension();
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8537 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "self", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (long)(arg1
)->GetType();
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_From_long((long)result
);
8563 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (arg1
)->GetMimeType();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8595 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8598 wxString
*arg2
= 0 ;
8600 bool temp2
= false ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8604 (char *) "self",(char *) "name", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 arg2
= wxString_in_helper(obj1
);
8612 if (arg2
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8639 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8642 wxString
*arg2
= 0 ;
8643 bool temp2
= false ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8647 (char *) "self",(char *) "name", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8654 arg2
= wxString_in_helper(obj1
);
8655 if (arg2
== NULL
) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 (arg1
)->SetName((wxString
const &)*arg2
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 Py_INCREF(Py_None
); resultobj
= Py_None
;
8680 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8683 wxString
*arg2
= 0 ;
8684 bool temp2
= false ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "extension", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8695 arg2
= wxString_in_helper(obj1
);
8696 if (arg2
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 (arg1
)->SetExtension((wxString
const &)*arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "self",(char *) "type", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8734 arg2
= (long)SWIG_As_long(obj1
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetType(arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8753 wxString
*arg2
= 0 ;
8754 bool temp2
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "mimetype", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 arg2
= wxString_in_helper(obj1
);
8766 if (arg2
== NULL
) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8794 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8796 return Py_BuildValue((char *)"");
8798 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxImageHistogram
*result
;
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (wxImageHistogram
*)new wxImageHistogram();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8820 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 unsigned char arg1
;
8823 unsigned char arg2
;
8824 unsigned char arg3
;
8825 unsigned long result
;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8830 (char *) "r",(char *) "g",(char *) "b", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8834 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8836 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8838 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8854 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8857 unsigned char *arg2
= (unsigned char *) 0 ;
8858 unsigned char *arg3
= (unsigned char *) 0 ;
8859 unsigned char *arg4
= (unsigned char *) 0 ;
8860 unsigned char arg5
= (unsigned char) 1 ;
8861 unsigned char arg6
= (unsigned char) 0 ;
8862 unsigned char arg7
= (unsigned char) 0 ;
8864 unsigned char temp2
;
8866 unsigned char temp3
;
8868 unsigned char temp4
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8873 PyObject
* obj3
= 0 ;
8875 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8878 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8879 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8880 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8906 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8907 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8908 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8909 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8910 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8911 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8918 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8923 return Py_BuildValue((char *)"");
8925 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxString
*arg1
= 0 ;
8928 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8929 int arg3
= (int) -1 ;
8931 bool temp1
= false ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8936 (char *) "name",(char *) "type",(char *) "index", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8941 arg1
= wxString_in_helper(obj0
);
8942 if (arg1
== NULL
) SWIG_fail
;
8946 arg2
= (long)SWIG_As_long(obj1
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 arg3
= (int)SWIG_As_int(obj2
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8975 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxImage
*arg1
= (wxImage
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxString
*arg1
= 0 ;
9003 wxString
*arg2
= 0 ;
9004 int arg3
= (int) -1 ;
9006 bool temp1
= false ;
9007 bool temp2
= false ;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 PyObject
* obj2
= 0 ;
9012 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 arg1
= wxString_in_helper(obj0
);
9018 if (arg1
== NULL
) SWIG_fail
;
9022 arg2
= wxString_in_helper(obj1
);
9023 if (arg2
== NULL
) SWIG_fail
;
9027 arg3
= (int)SWIG_As_int(obj2
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9060 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxInputStream
*arg1
= 0 ;
9063 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9064 int arg3
= (int) -1 ;
9066 wxPyInputStream
*temp1
;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9070 PyObject
* obj2
= 0 ;
9072 (char *) "stream",(char *) "type",(char *) "index", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9077 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9078 arg1
= temp1
->m_wxis
;
9081 PyErr_Clear(); // clear the failure of the wxPyConvert above
9082 arg1
= wxPyCBInputStream_create(obj0
, false);
9084 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9091 arg2
= (long)SWIG_As_long(obj1
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 arg3
= (int)SWIG_As_int(obj2
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9120 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxInputStream
*arg1
= 0 ;
9123 wxString
*arg2
= 0 ;
9124 int arg3
= (int) -1 ;
9126 wxPyInputStream
*temp1
;
9128 bool temp2
= false ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9133 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9138 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9139 arg1
= temp1
->m_wxis
;
9142 PyErr_Clear(); // clear the failure of the wxPyConvert above
9143 arg1
= wxPyCBInputStream_create(obj0
, false);
9145 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9152 arg2
= wxString_in_helper(obj1
);
9153 if (arg2
== NULL
) SWIG_fail
;
9157 arg3
= (int)SWIG_As_int(obj2
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9190 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 int arg1
= (int) 0 ;
9193 int arg2
= (int) 0 ;
9194 bool arg3
= (bool) true ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 PyObject
* obj2
= 0 ;
9200 (char *) "width",(char *) "height",(char *) "clear", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9205 arg1
= (int)SWIG_As_int(obj0
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9209 arg2
= (int)SWIG_As_int(obj1
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 arg3
= (bool)SWIG_As_bool(obj2
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9230 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxBitmap
*arg1
= 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "bitmap", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9244 PyErr_SetString(PyExc_TypeError
,"null reference");
9248 if (!wxPyCheckForApp()) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9262 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9266 unsigned char *arg3
= (unsigned char *) 0 ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9270 PyObject
* obj2
= 0 ;
9272 (char *) "width",(char *) "height",(char *) "data", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9276 arg1
= (int)SWIG_As_int(obj0
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9278 arg2
= (int)SWIG_As_int(obj1
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9280 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9296 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9300 unsigned char *arg3
= (unsigned char *) 0 ;
9301 unsigned char *arg4
= (unsigned char *) 0 ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9305 PyObject
* obj2
= 0 ;
9306 PyObject
* obj3
= 0 ;
9308 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9312 arg1
= (int)SWIG_As_int(obj0
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9314 arg2
= (int)SWIG_As_int(obj1
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9316 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9334 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxImage
*arg1
= (wxImage
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9343 (char *) "self",(char *) "width",(char *) "height", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 arg2
= (int)SWIG_As_int(obj1
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9351 arg3
= (int)SWIG_As_int(obj2
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 (arg1
)->Create(arg2
,arg3
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 Py_INCREF(Py_None
); resultobj
= Py_None
;
9367 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxImage
*arg1
= (wxImage
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9372 (char *) "self", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 Py_INCREF(Py_None
); resultobj
= Py_None
;
9392 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxImage
*arg1
= (wxImage
*) 0 ;
9397 SwigValueWrapper
< wxImage
> result
;
9398 PyObject
* obj0
= 0 ;
9399 PyObject
* obj1
= 0 ;
9400 PyObject
* obj2
= 0 ;
9402 (char *) "self",(char *) "width",(char *) "height", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9408 arg2
= (int)SWIG_As_int(obj1
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9410 arg3
= (int)SWIG_As_int(obj2
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (arg1
)->Scale(arg2
,arg3
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 wxImage
* resultptr
;
9421 resultptr
= new wxImage((wxImage
&) result
);
9422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9430 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxImage
*arg1
= (wxImage
*) 0 ;
9435 SwigValueWrapper
< wxImage
> result
;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9440 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9458 wxImage
* resultptr
;
9459 resultptr
= new wxImage((wxImage
&) result
);
9460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9468 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxImage
*arg1
= (wxImage
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9478 (char *) "self",(char *) "width",(char *) "height", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 arg2
= (int)SWIG_As_int(obj1
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg3
= (int)SWIG_As_int(obj2
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9492 result
= (wxImage
*) &_result_ref
;
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9505 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxImage
*arg1
= (wxImage
*) 0 ;
9510 unsigned char arg4
;
9511 unsigned char arg5
;
9512 unsigned char arg6
;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9515 PyObject
* obj2
= 0 ;
9516 PyObject
* obj3
= 0 ;
9517 PyObject
* obj4
= 0 ;
9518 PyObject
* obj5
= 0 ;
9520 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9526 arg2
= (int)SWIG_As_int(obj1
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9528 arg3
= (int)SWIG_As_int(obj2
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9530 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9532 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9534 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxImage
*arg1
= (wxImage
*) 0 ;
9555 unsigned char result
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9558 PyObject
* obj2
= 0 ;
9560 (char *) "self",(char *) "x",(char *) "y", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9566 arg2
= (int)SWIG_As_int(obj1
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9568 arg3
= (int)SWIG_As_int(obj2
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9584 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxImage
*arg1
= (wxImage
*) 0 ;
9589 unsigned char result
;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 PyObject
* obj2
= 0 ;
9594 (char *) "self",(char *) "x",(char *) "y", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9600 arg2
= (int)SWIG_As_int(obj1
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9602 arg3
= (int)SWIG_As_int(obj2
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9618 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxImage
*arg1
= (wxImage
*) 0 ;
9623 unsigned char result
;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9626 PyObject
* obj2
= 0 ;
9628 (char *) "self",(char *) "x",(char *) "y", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 arg2
= (int)SWIG_As_int(obj1
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9636 arg3
= (int)SWIG_As_int(obj2
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9652 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxImage
*arg1
= (wxImage
*) 0 ;
9657 unsigned char arg4
;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9660 PyObject
* obj2
= 0 ;
9661 PyObject
* obj3
= 0 ;
9663 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (int)SWIG_As_int(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9671 arg3
= (int)SWIG_As_int(obj2
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9673 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxImage
*arg1
= (wxImage
*) 0 ;
9694 unsigned char result
;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 PyObject
* obj2
= 0 ;
9699 (char *) "self",(char *) "x",(char *) "y", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 arg2
= (int)SWIG_As_int(obj1
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9707 arg3
= (int)SWIG_As_int(obj2
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9723 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxImage
*arg1
= (wxImage
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "self", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (bool)(arg1
)->HasAlpha();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9751 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxImage
*arg1
= (wxImage
*) 0 ;
9754 byte
*arg2
= (byte
*) 0 ;
9755 byte
*arg3
= (byte
*) 0 ;
9756 byte
*arg4
= (byte
*) 0 ;
9757 byte arg5
= (byte
) 0 ;
9758 byte arg6
= (byte
) 0 ;
9759 byte arg7
= (byte
) 0 ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9769 PyObject
* obj2
= 0 ;
9770 PyObject
* obj3
= 0 ;
9772 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9775 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9776 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9777 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9782 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9803 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9804 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9805 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9806 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9807 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9808 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9815 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxImage
*arg1
= (wxImage
*) 0 ;
9818 byte arg2
= (byte
) 128 ;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9823 (char *) "self",(char *) "threshold", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxImage
*arg1
= (wxImage
*) 0 ;
9852 unsigned char arg2
;
9853 unsigned char arg3
;
9854 unsigned char arg4
;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9858 PyObject
* obj2
= 0 ;
9859 PyObject
* obj3
= 0 ;
9861 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9871 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9889 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxImage
*arg1
= (wxImage
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9899 PyObject
* obj2
= 0 ;
9900 PyObject
* obj3
= 0 ;
9901 PyObject
* obj4
= 0 ;
9903 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9913 PyErr_SetString(PyExc_TypeError
,"null reference");
9916 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9918 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9920 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9938 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxString
*arg1
= 0 ;
9942 bool temp1
= false ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "name", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9950 arg1
= wxString_in_helper(obj0
);
9951 if (arg1
== NULL
) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxString
*arg1
= 0 ;
9981 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9983 bool temp1
= false ;
9984 PyObject
* obj0
= 0 ;
9985 PyObject
* obj1
= 0 ;
9987 (char *) "name",(char *) "type", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9992 arg1
= wxString_in_helper(obj0
);
9993 if (arg1
== NULL
) SWIG_fail
;
9997 arg2
= (long)SWIG_As_long(obj1
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_From_int((int)result
);
10022 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxImage
*arg1
= (wxImage
*) 0 ;
10025 wxString
*arg2
= 0 ;
10026 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10027 int arg4
= (int) -1 ;
10029 bool temp2
= false ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 PyObject
* obj3
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
10047 arg3
= (long)SWIG_As_long(obj2
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 arg4
= (int)SWIG_As_int(obj3
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxImage
*arg1
= (wxImage
*) 0 ;
10081 wxString
*arg2
= 0 ;
10082 wxString
*arg3
= 0 ;
10083 int arg4
= (int) -1 ;
10085 bool temp2
= false ;
10086 bool temp3
= false ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 PyObject
* obj2
= 0 ;
10090 PyObject
* obj3
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10099 arg2
= wxString_in_helper(obj1
);
10100 if (arg2
== NULL
) SWIG_fail
;
10104 arg3
= wxString_in_helper(obj2
);
10105 if (arg3
== NULL
) SWIG_fail
;
10109 arg4
= (int)SWIG_As_int(obj3
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10144 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxImage
*arg1
= (wxImage
*) 0 ;
10147 wxString
*arg2
= 0 ;
10150 bool temp2
= false ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 PyObject
* obj2
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self",(char *) "name",(char *) "type", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10162 arg2
= wxString_in_helper(obj1
);
10163 if (arg2
== NULL
) SWIG_fail
;
10166 arg3
= (int)SWIG_As_int(obj2
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10192 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxImage
*arg1
= (wxImage
*) 0 ;
10195 wxString
*arg2
= 0 ;
10196 wxString
*arg3
= 0 ;
10198 bool temp2
= false ;
10199 bool temp3
= false ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 PyObject
* obj2
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 arg2
= wxString_in_helper(obj1
);
10212 if (arg2
== NULL
) SWIG_fail
;
10216 arg3
= wxString_in_helper(obj2
);
10217 if (arg3
== NULL
) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10252 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxInputStream
*arg1
= 0 ;
10256 wxPyInputStream
*temp1
;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "stream", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10265 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10266 arg1
= temp1
->m_wxis
;
10269 PyErr_Clear(); // clear the failure of the wxPyConvert above
10270 arg1
= wxPyCBInputStream_create(obj0
, false);
10271 if (arg1
== NULL
) {
10272 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (bool)wxImage::CanRead(*arg1
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10302 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxImage
*arg1
= (wxImage
*) 0 ;
10305 wxInputStream
*arg2
= 0 ;
10306 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10307 int arg4
= (int) -1 ;
10309 wxPyInputStream
*temp2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 PyObject
* obj2
= 0 ;
10314 PyObject
* obj3
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10324 arg2
= temp2
->m_wxis
;
10327 PyErr_Clear(); // clear the failure of the wxPyConvert above
10328 arg2
= wxPyCBInputStream_create(obj1
, false);
10329 if (arg2
== NULL
) {
10330 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10337 arg3
= (long)SWIG_As_long(obj2
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 arg4
= (int)SWIG_As_int(obj3
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxImage
*arg1
= (wxImage
*) 0 ;
10371 wxInputStream
*arg2
= 0 ;
10372 wxString
*arg3
= 0 ;
10373 int arg4
= (int) -1 ;
10375 wxPyInputStream
*temp2
;
10377 bool temp3
= false ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 PyObject
* obj2
= 0 ;
10381 PyObject
* obj3
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10391 arg2
= temp2
->m_wxis
;
10394 PyErr_Clear(); // clear the failure of the wxPyConvert above
10395 arg2
= wxPyCBInputStream_create(obj1
, false);
10396 if (arg2
== NULL
) {
10397 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10404 arg3
= wxString_in_helper(obj2
);
10405 if (arg3
== NULL
) SWIG_fail
;
10409 arg4
= (int)SWIG_As_int(obj3
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxImage
*arg1
= (wxImage
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (bool)(arg1
)->Ok();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10472 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxImage
*arg1
= (wxImage
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (int)(arg1
)->GetWidth();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_From_int((int)result
);
10498 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxImage
*arg1
= (wxImage
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (int)(arg1
)->GetHeight();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_From_int((int)result
);
10524 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxImage
*arg1
= (wxImage
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= wxImage_GetSize(arg1
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10544 wxSize
* resultptr
;
10545 resultptr
= new wxSize((wxSize
&) result
);
10546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10554 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxImage
*arg1
= (wxImage
*) 0 ;
10558 SwigValueWrapper
< wxImage
> result
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self",(char *) "rect", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 wxImage
* resultptr
;
10582 resultptr
= new wxImage((wxImage
&) result
);
10583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10591 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxImage
*arg1
= (wxImage
*) 0 ;
10594 SwigValueWrapper
< wxImage
> result
;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (arg1
)->Copy();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 wxImage
* resultptr
;
10612 resultptr
= new wxImage((wxImage
&) result
);
10613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10621 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxImage
*arg1
= (wxImage
*) 0 ;
10624 wxImage
*arg2
= 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 PyObject
* obj3
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10641 if (arg2
== NULL
) {
10642 PyErr_SetString(PyExc_TypeError
,"null reference");
10645 arg3
= (int)SWIG_As_int(obj2
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10647 arg4
= (int)SWIG_As_int(obj3
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxImage
*arg1
= (wxImage
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (PyObject
*)wxImage_GetData(arg1
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= result
;
10689 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxImage
*arg1
= (wxImage
*) 0 ;
10692 PyObject
*arg2
= (PyObject
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "data", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 wxImage_SetData(arg1
,arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 Py_INCREF(Py_None
); resultobj
= Py_None
;
10717 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxImage
*arg1
= (wxImage
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= result
;
10743 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10746 PyObject
*arg2
= (PyObject
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "data", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 wxImage_SetDataBuffer(arg1
,arg2
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxImage
*arg1
= (wxImage
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= result
;
10797 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxImage
*arg1
= (wxImage
*) 0 ;
10800 PyObject
*arg2
= (PyObject
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "data", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 wxImage_SetAlphaData(arg1
,arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxImage
*arg1
= (wxImage
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
;
10851 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxImage
*arg1
= (wxImage
*) 0 ;
10854 PyObject
*arg2
= (PyObject
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "data", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 wxImage_SetAlphaBuffer(arg1
,arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxImage
*arg1
= (wxImage
*) 0 ;
10882 unsigned char arg2
;
10883 unsigned char arg3
;
10884 unsigned char arg4
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10898 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10900 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxImage
*arg1
= (wxImage
*) 0 ;
10919 unsigned char result
;
10920 PyObject
* obj0
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (unsigned char)(arg1
)->GetMaskRed();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10942 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxImage
*arg1
= (wxImage
*) 0 ;
10945 unsigned char result
;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (unsigned char)(arg1
)->GetMaskGreen();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10968 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxImage
*arg1
= (wxImage
*) 0 ;
10971 unsigned char result
;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (unsigned char)(arg1
)->GetMaskBlue();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10994 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxImage
*arg1
= (wxImage
*) 0 ;
10997 bool arg2
= (bool) true ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "mask", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 arg2
= (bool)SWIG_As_bool(obj1
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 (arg1
)->SetMask(arg2
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxImage
*arg1
= (wxImage
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)(arg1
)->HasMask();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxImage
*arg1
= (wxImage
*) 0 ;
11057 wxPoint
*arg3
= 0 ;
11058 bool arg4
= (bool) true ;
11059 wxPoint
*arg5
= (wxPoint
*) NULL
;
11060 SwigValueWrapper
< wxImage
> result
;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 PyObject
* obj3
= 0 ;
11066 PyObject
* obj4
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 arg2
= (double)SWIG_As_double(obj1
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11081 arg4
= (bool)SWIG_As_bool(obj3
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 wxImage
* resultptr
;
11097 resultptr
= new wxImage((wxImage
&) result
);
11098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11106 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxImage
*arg1
= (wxImage
*) 0 ;
11109 bool arg2
= (bool) true ;
11110 SwigValueWrapper
< wxImage
> result
;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "clockwise", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 arg2
= (bool)SWIG_As_bool(obj1
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (arg1
)->Rotate90(arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 wxImage
* resultptr
;
11133 resultptr
= new wxImage((wxImage
&) result
);
11134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11142 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxImage
*arg1
= (wxImage
*) 0 ;
11145 bool arg2
= (bool) true ;
11146 SwigValueWrapper
< wxImage
> result
;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "horizontally", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 arg2
= (bool)SWIG_As_bool(obj1
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (arg1
)->Mirror(arg2
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 wxImage
* resultptr
;
11169 resultptr
= new wxImage((wxImage
&) result
);
11170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11178 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxImage
*arg1
= (wxImage
*) 0 ;
11181 unsigned char arg2
;
11182 unsigned char arg3
;
11183 unsigned char arg4
;
11184 unsigned char arg5
;
11185 unsigned char arg6
;
11186 unsigned char arg7
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 PyObject
* obj3
= 0 ;
11191 PyObject
* obj4
= 0 ;
11192 PyObject
* obj5
= 0 ;
11193 PyObject
* obj6
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11203 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11205 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11207 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11209 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxImage
*arg1
= (wxImage
*) 0 ;
11230 unsigned char arg2
;
11231 unsigned char arg3
;
11232 unsigned char arg4
;
11233 SwigValueWrapper
< wxImage
> result
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 PyObject
* obj3
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11247 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 wxImage
* resultptr
;
11260 resultptr
= new wxImage((wxImage
&) result
);
11261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11269 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxImage
*arg1
= (wxImage
*) 0 ;
11272 wxString
*arg2
= 0 ;
11273 wxString
*arg3
= 0 ;
11274 bool temp2
= false ;
11275 bool temp3
= false ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "name",(char *) "value", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 arg2
= wxString_in_helper(obj1
);
11288 if (arg2
== NULL
) SWIG_fail
;
11292 arg3
= wxString_in_helper(obj2
);
11293 if (arg3
== NULL
) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxImage
*arg1
= (wxImage
*) 0 ;
11329 wxString
*arg2
= 0 ;
11331 bool temp2
= false ;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 PyObject
* obj2
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "name",(char *) "value", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11343 arg2
= wxString_in_helper(obj1
);
11344 if (arg2
== NULL
) SWIG_fail
;
11347 arg3
= (int)SWIG_As_int(obj2
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxImage
*arg1
= (wxImage
*) 0 ;
11374 wxString
*arg2
= 0 ;
11376 bool temp2
= false ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "name", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 arg2
= wxString_in_helper(obj1
);
11388 if (arg2
== NULL
) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11419 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxImage
*arg1
= (wxImage
*) 0 ;
11422 wxString
*arg2
= 0 ;
11424 bool temp2
= false ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "name", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11435 arg2
= wxString_in_helper(obj1
);
11436 if (arg2
== NULL
) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_int((int)result
);
11461 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxImage
*arg1
= (wxImage
*) 0 ;
11464 wxString
*arg2
= 0 ;
11466 bool temp2
= false ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "name", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 arg2
= wxString_in_helper(obj1
);
11478 if (arg2
== NULL
) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxImage
*arg1
= (wxImage
*) 0 ;
11508 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11509 unsigned long result
;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "stopafter", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11520 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11537 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxImage
*arg1
= (wxImage
*) 0 ;
11540 wxImageHistogram
*arg2
= 0 ;
11541 unsigned long result
;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self",(char *) "h", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11554 if (arg2
== NULL
) {
11555 PyErr_SetString(PyExc_TypeError
,"null reference");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11572 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "handler", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 wxImage::AddHandler(arg1
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "handler", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 wxImage::InsertHandler(arg1
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 Py_INCREF(Py_None
); resultobj
= Py_None
;
11622 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxString
*arg1
= 0 ;
11626 bool temp1
= false ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "name", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11634 arg1
= wxString_in_helper(obj0
);
11635 if (arg1
== NULL
) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11662 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11665 char *kwnames
[] = {
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= wxImage::GetImageExtWildcard();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11690 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxImage
*arg1
= (wxImage
*) 0 ;
11693 int arg2
= (int) -1 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self",(char *) "depth", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11705 arg2
= (int)SWIG_As_int(obj1
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 if (!wxPyCheckForApp()) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 wxBitmap
* resultptr
;
11718 resultptr
= new wxBitmap((wxBitmap
&) result
);
11719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11727 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxImage
*arg1
= (wxImage
*) 0 ;
11730 unsigned char arg2
;
11731 unsigned char arg3
;
11732 unsigned char arg4
;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 PyObject
* obj3
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11747 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11749 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 if (!wxPyCheckForApp()) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 wxBitmap
* resultptr
;
11761 resultptr
= new wxBitmap((wxBitmap
&) result
);
11762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11770 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11773 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11775 return Py_BuildValue((char *)"");
11777 static int _wrap_NullImage_set(PyObject
*) {
11778 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11783 static PyObject
*_wrap_NullImage_get() {
11786 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11791 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11792 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11797 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11802 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11804 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11811 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11812 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11817 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11822 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11824 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11831 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11832 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11837 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11842 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11844 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11851 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11852 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11857 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11862 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11864 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11871 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11872 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11877 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11882 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11884 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11891 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxBMPHandler
*result
;
11894 char *kwnames
[] = {
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxBMPHandler
*)new wxBMPHandler();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11913 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11916 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11918 return Py_BuildValue((char *)"");
11920 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxICOHandler
*result
;
11923 char *kwnames
[] = {
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxICOHandler
*)new wxICOHandler();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11942 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11945 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11947 return Py_BuildValue((char *)"");
11949 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxCURHandler
*result
;
11952 char *kwnames
[] = {
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (wxCURHandler
*)new wxCURHandler();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11971 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11974 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11976 return Py_BuildValue((char *)"");
11978 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxANIHandler
*result
;
11981 char *kwnames
[] = {
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (wxANIHandler
*)new wxANIHandler();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
12000 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
12002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12003 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
12005 return Py_BuildValue((char *)"");
12007 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxPNGHandler
*result
;
12010 char *kwnames
[] = {
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (wxPNGHandler
*)new wxPNGHandler();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
12029 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
12031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12032 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
12034 return Py_BuildValue((char *)"");
12036 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxGIFHandler
*result
;
12039 char *kwnames
[] = {
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (wxGIFHandler
*)new wxGIFHandler();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12058 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12061 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12063 return Py_BuildValue((char *)"");
12065 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxPCXHandler
*result
;
12068 char *kwnames
[] = {
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (wxPCXHandler
*)new wxPCXHandler();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12087 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12090 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12092 return Py_BuildValue((char *)"");
12094 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxJPEGHandler
*result
;
12097 char *kwnames
[] = {
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12116 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12119 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12121 return Py_BuildValue((char *)"");
12123 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxPNMHandler
*result
;
12126 char *kwnames
[] = {
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (wxPNMHandler
*)new wxPNMHandler();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12145 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12148 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12150 return Py_BuildValue((char *)"");
12152 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxXPMHandler
*result
;
12155 char *kwnames
[] = {
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (wxXPMHandler
*)new wxXPMHandler();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12174 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12179 return Py_BuildValue((char *)"");
12181 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxTIFFHandler
*result
;
12184 char *kwnames
[] = {
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12203 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12206 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12208 return Py_BuildValue((char *)"");
12210 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxImage
*arg1
= 0 ;
12213 wxImage
*arg2
= 0 ;
12214 int arg3
= (int) 236 ;
12215 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 PyObject
* obj3
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12229 if (arg1
== NULL
) {
12230 PyErr_SetString(PyExc_TypeError
,"null reference");
12233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12236 if (arg2
== NULL
) {
12237 PyErr_SetString(PyExc_TypeError
,"null reference");
12241 arg3
= (int)SWIG_As_int(obj2
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 arg4
= (int)SWIG_As_int(obj3
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12264 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12267 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12269 return Py_BuildValue((char *)"");
12271 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxEvtHandler
*result
;
12274 char *kwnames
[] = {
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (wxEvtHandler
*)new wxEvtHandler();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12293 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
;
12295 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12296 wxEvtHandler
*result
;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= wxPyMake_wxObject(result
, 0);
12321 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12324 wxEvtHandler
*result
;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= wxPyMake_wxObject(result
, 0);
12349 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12352 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "handler", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->SetNextHandler(arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12381 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "handler", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->SetPreviousHandler(arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12407 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12435 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "enabled", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 arg2
= (bool)SWIG_As_bool(obj1
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 (arg1
)->SetEvtHandlerEnabled(arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12467 wxEvent
*arg2
= 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "event", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12481 if (arg2
== NULL
) {
12482 PyErr_SetString(PyExc_TypeError
,"null reference");
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12501 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12504 wxEvent
*arg2
= 0 ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self",(char *) "event", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12517 if (arg2
== NULL
) {
12518 PyErr_SetString(PyExc_TypeError
,"null reference");
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->AddPendingEvent(*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->ProcessPendingEvents();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12566 PyObject
*arg5
= (PyObject
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 PyObject
* obj2
= 0 ;
12570 PyObject
* obj3
= 0 ;
12571 PyObject
* obj4
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 arg2
= (int)SWIG_As_int(obj1
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12581 arg3
= (int)SWIG_As_int(obj2
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12583 arg4
= (int)SWIG_As_int(obj3
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12604 int arg3
= (int) -1 ;
12605 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj2
= 0 ;
12610 PyObject
* obj3
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12618 arg2
= (int)SWIG_As_int(obj1
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 arg3
= (int)SWIG_As_int(obj2
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12644 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12647 PyObject
*arg2
= (PyObject
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "_self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 wxEvtHandler__setOORInfo(arg1
,arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12677 return Py_BuildValue((char *)"");
12679 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxEventType result
;
12682 char *kwnames
[] = {
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (wxEventType
)wxNewEventType();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_From_int((int)result
);
12701 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxEvent
*arg1
= (wxEvent
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxEvent
*arg1
= (wxEvent
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "typ", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->SetEventType(arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxEvent
*arg1
= (wxEvent
*) 0 ;
12758 wxEventType result
;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_From_int((int)result
);
12781 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxEvent
*arg1
= (wxEvent
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= wxPyMake_wxObject(result
, 0);
12809 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxEvent
*arg1
= (wxEvent
*) 0 ;
12812 wxObject
*arg2
= (wxObject
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "obj", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->SetEventObject(arg2
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxEvent
*arg1
= (wxEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_From_long((long)result
);
12864 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxEvent
*arg1
= (wxEvent
*) 0 ;
12867 long arg2
= (long) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "ts", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 arg2
= (long)SWIG_As_long(obj1
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetTimestamp(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxEvent
*arg1
= (wxEvent
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 char *kwnames
[] = {
12901 (char *) "self", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (int)((wxEvent
const *)arg1
)->GetId();
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= SWIG_From_int((int)result
);
12921 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxEvent
*arg1
= (wxEvent
*) 0 ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self",(char *) "Id", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 arg2
= (int)SWIG_As_int(obj1
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 (arg1
)->SetId(arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12950 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxEvent
*arg1
= (wxEvent
*) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12978 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxEvent
*arg1
= (wxEvent
*) 0 ;
12981 bool arg2
= (bool) true ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self",(char *) "skip", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 arg2
= (bool)SWIG_As_bool(obj1
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->Skip(arg2
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxEvent
*arg1
= (wxEvent
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13037 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxEvent
*arg1
= (wxEvent
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxEvent
*arg1
= (wxEvent
*) 0 ;
13069 PyObject
* obj0
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (int)(arg1
)->StopPropagation();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_From_int((int)result
);
13091 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxEvent
*arg1
= (wxEvent
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "self",(char *) "propagationLevel", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 arg2
= (int)SWIG_As_int(obj1
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 (arg1
)->ResumePropagation(arg2
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxEvent
*arg1
= (wxEvent
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxEvent
*)(arg1
)->Clone();
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13146 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13149 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13151 return Py_BuildValue((char *)"");
13153 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxEvent
*arg1
= 0 ;
13156 wxPropagationDisabler
*result
;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "event", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13166 if (arg1
== NULL
) {
13167 PyErr_SetString(PyExc_TypeError
,"null reference");
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13184 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13212 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13214 return Py_BuildValue((char *)"");
13216 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxEvent
*arg1
= 0 ;
13219 wxPropagateOnce
*result
;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "event", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13229 if (arg1
== NULL
) {
13230 PyErr_SetString(PyExc_TypeError
,"null reference");
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13247 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 Py_INCREF(Py_None
); resultobj
= Py_None
;
13272 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13275 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13277 return Py_BuildValue((char *)"");
13279 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13282 int arg2
= (int) 0 ;
13283 wxCommandEvent
*result
;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "commandType",(char *) "winid", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13296 arg2
= (int)SWIG_As_int(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13313 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= SWIG_From_int((int)result
);
13339 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13342 wxString
*arg2
= 0 ;
13343 bool temp2
= false ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "s", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= wxString_in_helper(obj1
);
13355 if (arg2
== NULL
) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 (arg1
)->SetString((wxString
const &)*arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13412 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13440 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13468 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "extraLong", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 arg2
= (long)SWIG_As_long(obj1
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetExtraLong(arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_From_long((long)result
);
13523 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "i", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 arg2
= (int)SWIG_As_int(obj1
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetInt(arg2
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 Py_INCREF(Py_None
); resultobj
= Py_None
;
13552 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_From_long((long)result
);
13578 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13604 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13609 return Py_BuildValue((char *)"");
13611 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13614 int arg2
= (int) 0 ;
13615 wxNotifyEvent
*result
;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "commandType",(char *) "winid", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 arg2
= (int)SWIG_As_int(obj1
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13645 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->IsAllowed();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13723 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13726 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13728 return Py_BuildValue((char *)"");
13730 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13733 int arg2
= (int) 0 ;
13734 int arg3
= (int) 0 ;
13735 int arg4
= (int) 0 ;
13736 wxScrollEvent
*result
;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 PyObject
* obj2
= 0 ;
13740 PyObject
* obj3
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13747 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13751 arg2
= (int)SWIG_As_int(obj1
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 arg3
= (int)SWIG_As_int(obj2
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 arg4
= (int)SWIG_As_int(obj3
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13776 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_From_int((int)result
);
13802 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_From_int((int)result
);
13828 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self",(char *) "orient", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 arg2
= (int)SWIG_As_int(obj1
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 (arg1
)->SetOrientation(arg2
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 Py_INCREF(Py_None
); resultobj
= Py_None
;
13857 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "pos", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 arg2
= (int)SWIG_As_int(obj1
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->SetPosition(arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 Py_INCREF(Py_None
); resultobj
= Py_None
;
13886 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13889 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13891 return Py_BuildValue((char *)"");
13893 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13896 int arg2
= (int) 0 ;
13897 int arg3
= (int) 0 ;
13898 wxScrollWinEvent
*result
;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 PyObject
* obj2
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13908 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 arg2
= (int)SWIG_As_int(obj1
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13916 arg3
= (int)SWIG_As_int(obj2
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13933 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_From_int((int)result
);
13959 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= SWIG_From_int((int)result
);
13985 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self",(char *) "orient", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13998 arg2
= (int)SWIG_As_int(obj1
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->SetOrientation(arg2
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "pos", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14027 arg2
= (int)SWIG_As_int(obj1
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 (arg1
)->SetPosition(arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 Py_INCREF(Py_None
); resultobj
= Py_None
;
14043 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14046 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14048 return Py_BuildValue((char *)"");
14050 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14053 wxMouseEvent
*result
;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "mouseType", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14061 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= wxPyMake_wxObject(result
, 1);
14080 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 char *kwnames
[] = {
14086 (char *) "self", NULL
14089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14111 int arg2
= (int) wxMOUSE_BTN_ANY
;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "but", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 arg2
= (int)SWIG_As_int(obj1
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14142 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14145 int arg2
= (int) wxMOUSE_BTN_ANY
;
14147 PyObject
* obj0
= 0 ;
14148 PyObject
* obj1
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self",(char *) "but", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 arg2
= (int)SWIG_As_int(obj1
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14176 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14179 int arg2
= (int) wxMOUSE_BTN_ANY
;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self",(char *) "but", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 arg2
= (int)SWIG_As_int(obj1
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14210 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self",(char *) "but", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14224 arg2
= (int)SWIG_As_int(obj1
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14242 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "but", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 arg2
= (int)SWIG_As_int(obj1
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14274 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_From_int((int)result
);
14300 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14328 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14440 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14524 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14580 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)(arg1
)->LeftIsDown();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14720 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (bool)(arg1
)->MiddleIsDown();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14748 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)(arg1
)->RightIsDown();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14776 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14804 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14832 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14888 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (arg1
)->GetPosition();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 wxPoint
* resultptr
;
14909 resultptr
= new wxPoint((wxPoint
&) result
);
14910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14918 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14921 long *arg2
= (long *) 0 ;
14922 long *arg3
= (long *) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14933 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->GetPosition(arg2
,arg3
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14946 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14947 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14948 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14955 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "dc", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14972 if (arg2
== NULL
) {
14973 PyErr_SetString(PyExc_TypeError
,"null reference");
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 wxPoint
* resultptr
;
14985 resultptr
= new wxPoint((wxPoint
&) result
);
14986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14994 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_From_int((int)result
);
15020 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_From_int((int)result
);
15046 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_From_int((int)result
);
15072 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_From_int((int)result
);
15098 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_From_int((int)result
);
15124 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "m_x", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 arg2
= (int)SWIG_As_int(obj1
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15167 if (arg1
) (arg1
)->m_x
= arg2
;
15169 Py_INCREF(Py_None
); resultobj
= Py_None
;
15176 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 result
= (int) ((arg1
)->m_x
);
15190 resultobj
= SWIG_From_int((int)result
);
15197 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "m_y", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 arg2
= (int)SWIG_As_int(obj1
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15212 if (arg1
) (arg1
)->m_y
= arg2
;
15214 Py_INCREF(Py_None
); resultobj
= Py_None
;
15221 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 result
= (int) ((arg1
)->m_y
);
15235 resultobj
= SWIG_From_int((int)result
);
15242 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "m_leftDown", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 arg2
= (bool)SWIG_As_bool(obj1
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15257 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15259 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 result
= (bool) ((arg1
)->m_leftDown
);
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "m_middleDown", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 arg2
= (bool)SWIG_As_bool(obj1
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15304 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 result
= (bool) ((arg1
)->m_middleDown
);
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "m_rightDown", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 arg2
= (bool)SWIG_As_bool(obj1
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15351 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15353 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 result
= (bool) ((arg1
)->m_rightDown
);
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "m_controlDown", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 arg2
= (bool)SWIG_As_bool(obj1
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15398 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 result
= (bool) ((arg1
)->m_controlDown
);
15422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15430 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "m_shiftDown", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 arg2
= (bool)SWIG_As_bool(obj1
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15445 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 result
= (bool) ((arg1
)->m_shiftDown
);
15469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15477 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "m_altDown", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 arg2
= (bool)SWIG_As_bool(obj1
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15492 if (arg1
) (arg1
)->m_altDown
= arg2
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 result
= (bool) ((arg1
)->m_altDown
);
15516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15524 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "m_metaDown", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 arg2
= (bool)SWIG_As_bool(obj1
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15539 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15541 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 result
= (bool) ((arg1
)->m_metaDown
);
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "m_wheelRotation", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 arg2
= (int)SWIG_As_int(obj1
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15586 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15588 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 result
= (int) ((arg1
)->m_wheelRotation
);
15609 resultobj
= SWIG_From_int((int)result
);
15616 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "m_wheelDelta", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 arg2
= (int)SWIG_As_int(obj1
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15631 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 result
= (int) ((arg1
)->m_wheelDelta
);
15654 resultobj
= SWIG_From_int((int)result
);
15661 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self",(char *) "m_linesPerAction", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 arg2
= (int)SWIG_As_int(obj1
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15676 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15678 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 result
= (int) ((arg1
)->m_linesPerAction
);
15699 resultobj
= SWIG_From_int((int)result
);
15706 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15711 return Py_BuildValue((char *)"");
15713 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 int arg1
= (int) 0 ;
15716 int arg2
= (int) 0 ;
15717 wxSetCursorEvent
*result
;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "x",(char *) "y", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15726 arg1
= (int)SWIG_As_int(obj0
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15730 arg2
= (int)SWIG_As_int(obj1
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15747 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_From_int((int)result
);
15773 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_From_int((int)result
);
15799 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15802 wxCursor
*arg2
= 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self",(char *) "cursor", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15815 if (arg2
== NULL
) {
15816 PyErr_SetString(PyExc_TypeError
,"null reference");
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15833 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15849 result
= (wxCursor
*) &_result_ref
;
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 wxCursor
* resultptr
= new wxCursor(*result
);
15857 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15865 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15893 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15896 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15898 return Py_BuildValue((char *)"");
15900 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15903 wxKeyEvent
*result
;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "keyType", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15911 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15928 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15956 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15984 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16096 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_From_int((int)result
);
16122 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_From_int((int)result
);
16148 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 unsigned int result
;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16174 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16177 unsigned int result
;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16200 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (arg1
)->GetPosition();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 wxPoint
* resultptr
;
16221 resultptr
= new wxPoint((wxPoint
&) result
);
16222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16230 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16233 long *arg2
= (long *) 0 ;
16234 long *arg3
= (long *) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16245 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->GetPosition(arg2
,arg3
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16258 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16259 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16260 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16267 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_From_int((int)result
);
16293 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= SWIG_From_int((int)result
);
16319 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "m_x", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 arg2
= (int)SWIG_As_int(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16334 if (arg1
) (arg1
)->m_x
= arg2
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 result
= (int) ((arg1
)->m_x
);
16357 resultobj
= SWIG_From_int((int)result
);
16364 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "m_y", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 arg2
= (int)SWIG_As_int(obj1
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16379 if (arg1
) (arg1
)->m_y
= arg2
;
16381 Py_INCREF(Py_None
); resultobj
= Py_None
;
16388 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 result
= (int) ((arg1
)->m_y
);
16402 resultobj
= SWIG_From_int((int)result
);
16409 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "m_keyCode", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 arg2
= (long)SWIG_As_long(obj1
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16424 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16426 Py_INCREF(Py_None
); resultobj
= Py_None
;
16433 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 result
= (long) ((arg1
)->m_keyCode
);
16447 resultobj
= SWIG_From_long((long)result
);
16454 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self",(char *) "m_controlDown", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 arg2
= (bool)SWIG_As_bool(obj1
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16469 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16471 Py_INCREF(Py_None
); resultobj
= Py_None
;
16478 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 result
= (bool) ((arg1
)->m_controlDown
);
16493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16501 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "m_shiftDown", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 arg2
= (bool)SWIG_As_bool(obj1
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16516 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 result
= (bool) ((arg1
)->m_shiftDown
);
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self",(char *) "m_altDown", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 arg2
= (bool)SWIG_As_bool(obj1
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16563 if (arg1
) (arg1
)->m_altDown
= arg2
;
16565 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16584 result
= (bool) ((arg1
)->m_altDown
);
16587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16595 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self",(char *) "m_metaDown", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 arg2
= (bool)SWIG_As_bool(obj1
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16610 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 result
= (bool) ((arg1
)->m_metaDown
);
16634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16642 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "m_scanCode", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16655 arg2
= (bool)SWIG_As_bool(obj1
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16657 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16659 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 result
= (bool) ((arg1
)->m_scanCode
);
16681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16689 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16692 unsigned int arg2
;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "m_rawCode", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16702 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16704 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16706 Py_INCREF(Py_None
); resultobj
= Py_None
;
16713 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16716 unsigned int result
;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16725 result
= (unsigned int) ((arg1
)->m_rawCode
);
16727 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16734 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16737 unsigned int arg2
;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self",(char *) "m_rawFlags", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16749 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16751 Py_INCREF(Py_None
); resultobj
= Py_None
;
16758 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16761 unsigned int result
;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16770 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16772 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16779 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16782 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16784 return Py_BuildValue((char *)"");
16786 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16789 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16790 int arg2
= (int) 0 ;
16791 wxSizeEvent
*result
;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "sz",(char *) "winid", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16803 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16807 arg2
= (int)SWIG_As_int(obj1
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16824 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 wxSize
* resultptr
;
16845 resultptr
= new wxSize((wxSize
&) result
);
16846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16854 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 wxRect
* resultptr
;
16875 resultptr
= new wxRect((wxRect
&) result
);
16876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16884 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self",(char *) "rect", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16899 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 (arg1
)->SetRect(arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 Py_INCREF(Py_None
); resultobj
= Py_None
;
16915 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "size", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16930 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 wxSizeEvent_SetSize(arg1
,arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16949 wxSize
*arg2
= (wxSize
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self",(char *) "m_size", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 if (arg1
) (arg1
)->m_size
= *arg2
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 result
= (wxSize
*)& ((arg1
)->m_size
);
16984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16991 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16994 wxRect
*arg2
= (wxRect
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self",(char *) "m_rect", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 if (arg1
) (arg1
)->m_rect
= *arg2
;
17008 Py_INCREF(Py_None
); resultobj
= Py_None
;
17015 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 result
= (wxRect
*)& ((arg1
)->m_rect
);
17029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17036 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17041 return Py_BuildValue((char *)"");
17043 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17046 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17047 int arg2
= (int) 0 ;
17048 wxMoveEvent
*result
;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "pos",(char *) "winid", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17064 arg2
= (int)SWIG_As_int(obj1
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17081 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 wxPoint
* resultptr
;
17102 resultptr
= new wxPoint((wxPoint
&) result
);
17103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17111 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 wxRect
* resultptr
;
17132 resultptr
= new wxRect((wxRect
&) result
);
17133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17141 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "rect", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17156 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 (arg1
)->SetRect(arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 Py_INCREF(Py_None
); resultobj
= Py_None
;
17172 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17177 PyObject
* obj0
= 0 ;
17178 PyObject
* obj1
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "pos", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17187 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 wxMoveEvent_SetPosition(arg1
,arg2
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17206 wxPoint
*arg2
= (wxPoint
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self",(char *) "m_pos", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 if (arg1
) (arg1
)->m_pos
= *arg2
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17227 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17248 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17251 wxRect
*arg2
= (wxRect
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "m_rect", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 if (arg1
) (arg1
)->m_rect
= *arg2
;
17265 Py_INCREF(Py_None
); resultobj
= Py_None
;
17272 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 result
= (wxRect
*)& ((arg1
)->m_rect
);
17286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17293 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17296 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17298 return Py_BuildValue((char *)"");
17300 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 int arg1
= (int) 0 ;
17303 wxPaintEvent
*result
;
17304 PyObject
* obj0
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "Id", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17311 arg1
= (int)SWIG_As_int(obj0
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17328 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17331 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17333 return Py_BuildValue((char *)"");
17335 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 int arg1
= (int) 0 ;
17338 wxNcPaintEvent
*result
;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "winid", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17346 arg1
= (int)SWIG_As_int(obj0
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17363 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17366 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17368 return Py_BuildValue((char *)"");
17370 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 int arg1
= (int) 0 ;
17373 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17374 wxEraseEvent
*result
;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "Id",(char *) "dc", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 arg1
= (int)SWIG_As_int(obj0
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17404 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= wxPyMake_wxObject(result
, 0);
17432 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17435 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17437 return Py_BuildValue((char *)"");
17439 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17442 int arg2
= (int) 0 ;
17443 wxFocusEvent
*result
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "type",(char *) "winid", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17452 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 arg2
= (int)SWIG_As_int(obj1
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17473 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= wxPyMake_wxObject(result
, 0);
17501 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17504 wxWindow
*arg2
= (wxWindow
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "win", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->SetWindow(arg2
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17533 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17535 return Py_BuildValue((char *)"");
17537 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxWindow
*arg1
= (wxWindow
*) NULL
;
17540 wxChildFocusEvent
*result
;
17541 PyObject
* obj0
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "win", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17565 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= wxPyMake_wxObject(result
, 0);
17593 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17596 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17598 return Py_BuildValue((char *)"");
17600 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17603 bool arg2
= (bool) true ;
17604 int arg3
= (int) 0 ;
17605 wxActivateEvent
*result
;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 PyObject
* obj2
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "type",(char *) "active",(char *) "Id", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17615 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17619 arg2
= (bool)SWIG_As_bool(obj1
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 arg3
= (int)SWIG_As_int(obj2
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17640 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17671 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17673 return Py_BuildValue((char *)"");
17675 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 int arg1
= (int) 0 ;
17678 wxInitDialogEvent
*result
;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "Id", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17686 arg1
= (int)SWIG_As_int(obj0
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17703 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17706 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17708 return Py_BuildValue((char *)"");
17710 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17713 int arg2
= (int) 0 ;
17714 wxMenu
*arg3
= (wxMenu
*) NULL
;
17715 wxMenuEvent
*result
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 PyObject
* obj2
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "type",(char *) "winid",(char *) "menu", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17725 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 arg2
= (int)SWIG_As_int(obj1
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17750 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_From_int((int)result
);
17776 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17804 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= wxPyMake_wxObject(result
, 0);
17832 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17835 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17837 return Py_BuildValue((char *)"");
17839 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17842 int arg2
= (int) 0 ;
17843 wxCloseEvent
*result
;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "type",(char *) "winid", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17856 arg2
= (int)SWIG_As_int(obj1
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17873 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "logOff", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17886 arg2
= (bool)SWIG_As_bool(obj1
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 (arg1
)->SetLoggingOff(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17902 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17930 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17933 bool arg2
= (bool) true ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self",(char *) "veto", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 arg2
= (bool)SWIG_As_bool(obj1
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->Veto(arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "canVeto", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= (bool)SWIG_As_bool(obj1
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->SetCanVeto(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 Py_INCREF(Py_None
); resultobj
= Py_None
;
17990 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18018 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18046 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18049 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18051 return Py_BuildValue((char *)"");
18053 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 int arg1
= (int) 0 ;
18056 bool arg2
= (bool) false ;
18057 wxShowEvent
*result
;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "winid",(char *) "show", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 arg1
= (int)SWIG_As_int(obj0
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 arg2
= (bool)SWIG_As_bool(obj1
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18087 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self",(char *) "show", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 arg2
= (bool)SWIG_As_bool(obj1
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->SetShow(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18149 return Py_BuildValue((char *)"");
18151 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 int arg1
= (int) 0 ;
18154 bool arg2
= (bool) true ;
18155 wxIconizeEvent
*result
;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "id",(char *) "iconized", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 arg1
= (int)SWIG_As_int(obj0
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18168 arg2
= (bool)SWIG_As_bool(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18185 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (bool)(arg1
)->Iconized();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18213 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18218 return Py_BuildValue((char *)"");
18220 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 int arg1
= (int) 0 ;
18223 wxMaximizeEvent
*result
;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "id", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18231 arg1
= (int)SWIG_As_int(obj0
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18248 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18251 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18253 return Py_BuildValue((char *)"");
18255 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (arg1
)->GetPosition();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxPoint
* resultptr
;
18276 resultptr
= new wxPoint((wxPoint
&) result
);
18277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18285 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (int)(arg1
)->GetNumberOfFiles();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_From_int((int)result
);
18311 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
;
18337 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18340 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18342 return Py_BuildValue((char *)"");
18344 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 int arg1
= (int) 0 ;
18347 wxUpdateUIEvent
*result
;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "commandId", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18355 arg1
= (int)SWIG_As_int(obj0
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18372 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18400 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18428 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18460 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18488 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18516 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18544 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "check", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 arg2
= (bool)SWIG_As_bool(obj1
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->Check(arg2
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self",(char *) "enable", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 arg2
= (bool)SWIG_As_bool(obj1
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->Enable(arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18605 wxString
*arg2
= 0 ;
18606 bool temp2
= false ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self",(char *) "text", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 arg2
= wxString_in_helper(obj1
);
18618 if (arg2
== NULL
) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetText((wxString
const &)*arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 Py_INCREF(Py_None
); resultobj
= Py_None
;
18643 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "updateInterval", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18652 arg1
= (long)SWIG_As_long(obj0
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18671 char *kwnames
[] = {
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_From_long((long)result
);
18690 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxWindow
*arg1
= (wxWindow
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "win", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18718 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 char *kwnames
[] = {
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 wxUpdateUIEvent::ResetUpdateTime();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 Py_INCREF(Py_None
); resultobj
= Py_None
;
18739 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "mode", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18748 arg1
= (int)SWIG_As_int(obj0
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18767 char *kwnames
[] = {
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (int)wxUpdateUIEvent::GetMode();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_From_int((int)result
);
18786 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18789 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18791 return Py_BuildValue((char *)"");
18793 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxSysColourChangedEvent
*result
;
18796 char *kwnames
[] = {
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18815 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18818 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18820 return Py_BuildValue((char *)"");
18822 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 int arg1
= (int) 0 ;
18825 wxWindow
*arg2
= (wxWindow
*) NULL
;
18826 wxMouseCaptureChangedEvent
*result
;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "winid",(char *) "gainedCapture", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 arg1
= (int)SWIG_As_int(obj0
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18856 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18860 PyObject
* obj0
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= wxPyMake_wxObject(result
, 0);
18884 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18887 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18889 return Py_BuildValue((char *)"");
18891 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxDisplayChangedEvent
*result
;
18894 char *kwnames
[] = {
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18913 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18916 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18918 return Py_BuildValue((char *)"");
18920 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 int arg1
= (int) 0 ;
18923 wxPaletteChangedEvent
*result
;
18924 PyObject
* obj0
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "id", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18931 arg1
= (int)SWIG_As_int(obj0
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18948 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18951 wxWindow
*arg2
= (wxWindow
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "win", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetChangedWindow(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= wxPyMake_wxObject(result
, 0);
19005 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19008 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19010 return Py_BuildValue((char *)"");
19012 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 int arg1
= (int) 0 ;
19015 wxQueryNewPaletteEvent
*result
;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "winid", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19023 arg1
= (int)SWIG_As_int(obj0
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19040 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "realized", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 arg2
= (bool)SWIG_As_bool(obj1
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetPaletteRealized(arg2
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19097 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19100 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19102 return Py_BuildValue((char *)"");
19104 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxNavigationKeyEvent
*result
;
19107 char *kwnames
[] = {
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19126 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19154 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self",(char *) "forward", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19167 arg2
= (bool)SWIG_As_bool(obj1
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetDirection(arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19211 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 PyObject
* obj1
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self",(char *) "ischange", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 arg2
= (bool)SWIG_As_bool(obj1
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->SetWindowChange(arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "flags", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19253 arg2
= (long)SWIG_As_long(obj1
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetFlags(arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= wxPyMake_wxObject(result
, 0);
19297 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19300 wxWindow
*arg2
= (wxWindow
*) 0 ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "win", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->SetCurrentFocus(arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 Py_INCREF(Py_None
); resultobj
= Py_None
;
19326 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19329 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19331 return Py_BuildValue((char *)"");
19333 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxWindow
*arg1
= (wxWindow
*) NULL
;
19336 wxWindowCreateEvent
*result
;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "win", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19361 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19365 PyObject
* obj0
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= wxPyMake_wxObject(result
, 0);
19389 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19392 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19394 return Py_BuildValue((char *)"");
19396 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxWindow
*arg1
= (wxWindow
*) NULL
;
19399 wxWindowDestroyEvent
*result
;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "win", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19424 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19428 PyObject
* obj0
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= wxPyMake_wxObject(result
, 0);
19452 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19455 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19457 return Py_BuildValue((char *)"");
19459 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19462 int arg2
= (int) 0 ;
19463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19465 wxContextMenuEvent
*result
;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 PyObject
* obj2
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "type",(char *) "winid",(char *) "pt", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19476 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 arg2
= (int)SWIG_As_int(obj1
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19503 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19519 result
= (wxPoint
*) &_result_ref
;
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19532 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19535 wxPoint
*arg2
= 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "pos", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 Py_INCREF(Py_None
); resultobj
= Py_None
;
19564 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19567 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19569 return Py_BuildValue((char *)"");
19571 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxIdleEvent
*result
;
19574 char *kwnames
[] = {
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (wxIdleEvent
*)new wxIdleEvent();
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19593 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19596 bool arg2
= (bool) true ;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "needMore", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= (bool)SWIG_As_bool(obj1
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->RequestMore(arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 Py_INCREF(Py_None
); resultobj
= Py_None
;
19624 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19652 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "mode", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19661 arg1
= (int)SWIG_As_int(obj0
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19680 char *kwnames
[] = {
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (int)wxIdleEvent::GetMode();
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_From_int((int)result
);
19699 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxWindow
*arg1
= (wxWindow
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "win", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (bool)wxIdleEvent::CanSend(arg1
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19727 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19730 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19732 return Py_BuildValue((char *)"");
19734 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 int arg1
= (int) 0 ;
19737 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "winid",(char *) "commandType", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 arg1
= (int)SWIG_As_int(obj0
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19768 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
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_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxPyEvent
*arg1
= (wxPyEvent
*) 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:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
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_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
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
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19850 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19852 return Py_BuildValue((char *)"");
19854 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19857 int arg2
= (int) 0 ;
19858 wxPyCommandEvent
*result
;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "commandType",(char *) "id", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19867 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 arg2
= (int)SWIG_As_int(obj1
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19888 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19916 PyObject
*arg2
= (PyObject
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetSelf(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 Py_INCREF(Py_None
); resultobj
= Py_None
;
19941 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 char *kwnames
[] = {
19947 (char *) "self", NULL
19950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (PyObject
*)(arg1
)->GetSelf();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
;
19967 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19970 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19972 return Py_BuildValue((char *)"");
19974 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19977 char *kwnames
[] = {
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (wxPyApp
*)new_wxPyApp();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19996 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20024 PyObject
*arg2
= (PyObject
*) 0 ;
20025 PyObject
*arg3
= (PyObject
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "self",(char *) "_class", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 Py_INCREF(Py_None
); resultobj
= Py_None
;
20052 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20084 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20087 wxString
*arg2
= 0 ;
20088 bool temp2
= false ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "name", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 arg2
= wxString_in_helper(obj1
);
20100 if (arg2
== NULL
) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 (arg1
)->SetAppName((wxString
const &)*arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 Py_INCREF(Py_None
); resultobj
= Py_None
;
20125 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20157 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20160 wxString
*arg2
= 0 ;
20161 bool temp2
= false ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "name", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 arg2
= wxString_in_helper(obj1
);
20173 if (arg2
== NULL
) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 (arg1
)->SetClassName((wxString
const &)*arg2
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20214 result
= (wxString
*) &_result_ref
;
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20233 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20236 wxString
*arg2
= 0 ;
20237 bool temp2
= false ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "name", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= wxString_in_helper(obj1
);
20249 if (arg2
== NULL
) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20277 wxAppTraits
*result
;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20300 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 (arg1
)->ProcessPendingEvents();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20328 bool arg2
= (bool) false ;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "onlyIfNeeded", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20340 arg2
= (bool)SWIG_As_bool(obj1
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (bool)(arg1
)->Yield(arg2
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20359 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->WakeUpIdle();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20387 char *kwnames
[] = {
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)wxPyApp::IsMainLoopRunning();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (int)(arg1
)->MainLoop();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_From_int((int)result
);
20434 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 Py_INCREF(Py_None
); resultobj
= Py_None
;
20459 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 (arg1
)->ExitMainLoop();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 Py_INCREF(Py_None
); resultobj
= Py_None
;
20484 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (bool)(arg1
)->Pending();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20512 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (bool)(arg1
)->Dispatch();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20540 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (bool)(arg1
)->ProcessIdle();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20568 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20571 wxWindow
*arg2
= (wxWindow
*) 0 ;
20572 wxIdleEvent
*arg3
= 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "win",(char *) "event", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20589 if (arg3
== NULL
) {
20590 PyErr_SetString(PyExc_TypeError
,"null reference");
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20609 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20637 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20640 wxWindow
*arg2
= (wxWindow
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "win", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->SetTopWindow(arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= wxPyMake_wxObject(result
, 0);
20694 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "flag", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 arg2
= (bool)SWIG_As_bool(obj1
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetExitOnFrameDelete(arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self",(char *) "flag", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= (bool)SWIG_As_bool(obj1
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->SetUseBestVisual(arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20808 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "mode", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 arg2
= (int)SWIG_As_int(obj1
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetPrintMode(arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_From_int((int)result
);
20863 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self",(char *) "mode", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 arg2
= (int)SWIG_As_int(obj1
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 (arg1
)->SetAssertMode(arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (int)(arg1
)->GetAssertMode();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_From_int((int)result
);
20918 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20921 char *kwnames
[] = {
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20945 char *kwnames
[] = {
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_From_long((long)result
);
20964 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20967 char *kwnames
[] = {
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_From_long((long)result
);
20986 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20989 char *kwnames
[] = {
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (long)wxPyApp::GetMacExitMenuItemId();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_From_long((long)result
);
21008 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21011 char *kwnames
[] = {
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= wxPyApp::GetMacHelpMenuTitleName();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21036 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21039 PyObject
* obj0
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "val", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21045 arg1
= (bool)SWIG_As_bool(obj0
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 Py_INCREF(Py_None
); resultobj
= Py_None
;
21061 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "val", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21070 arg1
= (long)SWIG_As_long(obj0
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 wxPyApp::SetMacAboutMenuItemId(arg1
);
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 Py_INCREF(Py_None
); resultobj
= Py_None
;
21086 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "val", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21095 arg1
= (long)SWIG_As_long(obj0
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "val", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21120 arg1
= (long)SWIG_As_long(obj0
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 wxPyApp::SetMacExitMenuItemId(arg1
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 Py_INCREF(Py_None
); resultobj
= Py_None
;
21136 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxString
*arg1
= 0 ;
21139 bool temp1
= false ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "val", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21147 arg1
= wxString_in_helper(obj0
);
21148 if (arg1
== NULL
) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->_BootstrapApp();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21201 char *kwnames
[] = {
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (int)wxPyApp::GetComCtl32Version();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_From_int((int)result
);
21220 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21223 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21225 return Py_BuildValue((char *)"");
21227 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 char *kwnames
[] = {
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 Py_INCREF(Py_None
); resultobj
= Py_None
;
21248 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21251 char *kwnames
[] = {
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (bool)wxYield();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21272 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21275 char *kwnames
[] = {
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (bool)wxYieldIfNeeded();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21296 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxWindow
*arg1
= (wxWindow
*) NULL
;
21299 bool arg2
= (bool) false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "win",(char *) "onlyIfNeeded", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 arg2
= (bool)SWIG_As_bool(obj1
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (bool)wxSafeYield(arg1
,arg2
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21332 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 char *kwnames
[] = {
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21356 wxEvent
*arg2
= 0 ;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "dest",(char *) "event", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21369 if (arg2
== NULL
) {
21370 PyErr_SetString(PyExc_TypeError
,"null reference");
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 wxPostEvent(arg1
,*arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 char *kwnames
[] = {
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 Py_INCREF(Py_None
); resultobj
= Py_None
;
21408 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21411 char *kwnames
[] = {
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (wxPyApp
*)wxPyGetApp();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= wxPyMake_wxObject(result
, 0);
21432 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxEventLoop
*result
;
21435 char *kwnames
[] = {
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (wxEventLoop
*)new wxEventLoop();
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21454 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 Py_INCREF(Py_None
); resultobj
= Py_None
;
21479 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (int)(arg1
)->Run();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_From_int((int)result
);
21505 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21508 int arg2
= (int) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self",(char *) "rc", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (int)SWIG_As_int(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 (arg1
)->Exit(arg2
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 Py_INCREF(Py_None
); resultobj
= Py_None
;
21536 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21540 PyObject
* obj0
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21564 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)(arg1
)->Dispatch();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21620 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxEventLoop
*result
;
21623 char *kwnames
[] = {
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21642 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "loop", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 wxEventLoop::SetActive(arg1
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 Py_INCREF(Py_None
); resultobj
= Py_None
;
21667 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21670 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21672 return Py_BuildValue((char *)"");
21674 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 int arg1
= (int) 0 ;
21677 int arg2
= (int) 0 ;
21678 int arg3
= (int) 0 ;
21679 wxAcceleratorEntry
*result
;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21689 arg1
= (int)SWIG_As_int(obj0
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 arg2
= (int)SWIG_As_int(obj1
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21697 arg3
= (int)SWIG_As_int(obj2
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21714 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 Py_INCREF(Py_None
); resultobj
= Py_None
;
21739 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 PyObject
* obj2
= 0 ;
21748 PyObject
* obj3
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21756 arg2
= (int)SWIG_As_int(obj1
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21758 arg3
= (int)SWIG_As_int(obj2
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21760 arg4
= (int)SWIG_As_int(obj3
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 (arg1
)->Set(arg2
,arg3
,arg4
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)(arg1
)->GetFlags();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_From_int((int)result
);
21802 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)(arg1
)->GetKeyCode();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_From_int((int)result
);
21828 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (int)(arg1
)->GetCommand();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_From_int((int)result
);
21854 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21857 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21859 return Py_BuildValue((char *)"");
21861 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21864 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21865 wxAcceleratorTable
*result
;
21866 PyObject
* obj0
= 0 ;
21867 char *kwnames
[] = {
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21873 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21874 if (arg2
) arg1
= PyList_Size(obj0
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21897 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 Py_INCREF(Py_None
); resultobj
= Py_None
;
21922 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21950 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21953 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21955 return Py_BuildValue((char *)"");
21957 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21958 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21963 static PyObject
*_wrap_NullAcceleratorTable_get() {
21966 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21971 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxString
*arg1
= 0 ;
21974 wxAcceleratorEntry
*result
;
21975 bool temp1
= false ;
21976 PyObject
* obj0
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "label", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21983 arg1
= wxString_in_helper(obj0
);
21984 if (arg1
== NULL
) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22009 static int _wrap_PanelNameStr_set(PyObject
*) {
22010 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22015 static PyObject
*_wrap_PanelNameStr_get() {
22020 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22022 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22029 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxVisualAttributes
*result
;
22032 char *kwnames
[] = {
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22051 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 delete_wxVisualAttributes(arg1
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22079 wxFont
*arg2
= (wxFont
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "font", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 if (arg1
) (arg1
)->font
= *arg2
;
22093 Py_INCREF(Py_None
); resultobj
= Py_None
;
22100 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22112 result
= (wxFont
*)& ((arg1
)->font
);
22114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22121 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22124 wxColour
*arg2
= (wxColour
*) 0 ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "colFg", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 if (arg1
) (arg1
)->colFg
= *arg2
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22157 result
= (wxColour
*)& ((arg1
)->colFg
);
22159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22166 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22169 wxColour
*arg2
= (wxColour
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self",(char *) "colBg", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if (arg1
) (arg1
)->colBg
= *arg2
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 result
= (wxColour
*)& ((arg1
)->colBg
);
22204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22211 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22214 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22216 return Py_BuildValue((char *)"");
22218 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxWindow
*arg1
= (wxWindow
*) 0 ;
22221 int arg2
= (int) (int)-1 ;
22222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22226 long arg5
= (long) 0 ;
22227 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22228 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22232 bool temp6
= false ;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 PyObject
* obj2
= 0 ;
22236 PyObject
* obj3
= 0 ;
22237 PyObject
* obj4
= 0 ;
22238 PyObject
* obj5
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 arg2
= (int)SWIG_As_int(obj1
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22259 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22263 arg5
= (long)SWIG_As_long(obj4
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22268 arg6
= wxString_in_helper(obj5
);
22269 if (arg6
== NULL
) SWIG_fail
;
22274 if (!wxPyCheckForApp()) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22296 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22299 char *kwnames
[] = {
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22305 if (!wxPyCheckForApp()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (wxWindow
*)new wxWindow();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22319 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22322 wxWindow
*arg2
= (wxWindow
*) 0 ;
22323 int arg3
= (int) (int)-1 ;
22324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22328 long arg6
= (long) 0 ;
22329 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22330 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22334 bool temp7
= false ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 PyObject
* obj2
= 0 ;
22338 PyObject
* obj3
= 0 ;
22339 PyObject
* obj4
= 0 ;
22340 PyObject
* obj5
= 0 ;
22341 PyObject
* obj6
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 arg3
= (int)SWIG_As_int(obj2
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22368 arg6
= (long)SWIG_As_long(obj5
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22373 arg7
= wxString_in_helper(obj6
);
22374 if (arg7
== NULL
) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22405 bool arg2
= (bool) false ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "force", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 arg2
= (bool)SWIG_As_bool(obj1
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (bool)(arg1
)->Close(arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22436 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxWindow
*arg1
= (wxWindow
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (bool)(arg1
)->Destroy();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22464 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxWindow
*arg1
= (wxWindow
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (bool)(arg1
)->DestroyChildren();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22492 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22520 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxWindow
*arg1
= (wxWindow
*) 0 ;
22523 wxString
*arg2
= 0 ;
22524 bool temp2
= false ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "title", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 arg2
= wxString_in_helper(obj1
);
22536 if (arg2
== NULL
) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetTitle((wxString
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxWindow
*arg1
= (wxWindow
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= ((wxWindow
const *)arg1
)->GetTitle();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22593 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
;
22595 wxWindow
*arg1
= (wxWindow
*) 0 ;
22596 wxString
*arg2
= 0 ;
22597 bool temp2
= false ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "label", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22608 arg2
= wxString_in_helper(obj1
);
22609 if (arg2
== NULL
) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->SetLabel((wxString
const &)*arg2
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxWindow
*arg1
= (wxWindow
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= ((wxWindow
const *)arg1
)->GetLabel();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22666 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxWindow
*arg1
= (wxWindow
*) 0 ;
22669 wxString
*arg2
= 0 ;
22670 bool temp2
= false ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "name", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 arg2
= wxString_in_helper(obj1
);
22682 if (arg2
== NULL
) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 (arg1
)->SetName((wxString
const &)*arg2
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxWindow
*arg1
= (wxWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxWindow
const *)arg1
)->GetName();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22739 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "variant", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 arg2
= (int)SWIG_As_int(obj1
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_From_int((int)result
);
22794 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxWindow
*arg1
= (wxWindow
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "winid", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 arg2
= (int)SWIG_As_int(obj1
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetId(arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxWindow
*arg1
= (wxWindow
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (int)((wxWindow
const *)arg1
)->GetId();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= SWIG_From_int((int)result
);
22849 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22852 char *kwnames
[] = {
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (int)wxWindow::NewControlId();
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_From_int((int)result
);
22871 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "winid", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22881 arg1
= (int)SWIG_As_int(obj0
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (int)wxWindow::NextControlId(arg1
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_From_int((int)result
);
22897 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "winid", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22907 arg1
= (int)SWIG_As_int(obj0
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (int)wxWindow::PrevControlId(arg1
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_From_int((int)result
);
22923 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxWindow
*arg1
= (wxWindow
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 PyObject
* obj1
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self",(char *) "size", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22939 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 (arg1
)->SetSize((wxSize
const &)*arg2
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxWindow
*arg1
= (wxWindow
*) 0 ;
22962 int arg6
= (int) wxSIZE_AUTO
;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 PyObject
* obj2
= 0 ;
22966 PyObject
* obj3
= 0 ;
22967 PyObject
* obj4
= 0 ;
22968 PyObject
* obj5
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 arg2
= (int)SWIG_As_int(obj1
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22978 arg3
= (int)SWIG_As_int(obj2
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22980 arg4
= (int)SWIG_As_int(obj3
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22982 arg5
= (int)SWIG_As_int(obj4
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 arg6
= (int)SWIG_As_int(obj5
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 Py_INCREF(Py_None
); resultobj
= Py_None
;
23002 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxWindow
*arg1
= (wxWindow
*) 0 ;
23006 int arg3
= (int) wxSIZE_AUTO
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23023 arg3
= (int)SWIG_As_int(obj2
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 Py_INCREF(Py_None
); resultobj
= Py_None
;
23040 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxWindow
*arg1
= (wxWindow
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 PyObject
* obj2
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self",(char *) "width",(char *) "height", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23055 arg2
= (int)SWIG_As_int(obj1
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23057 arg3
= (int)SWIG_As_int(obj2
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 (arg1
)->SetSize(arg2
,arg3
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 Py_INCREF(Py_None
); resultobj
= Py_None
;
23073 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxWindow
*arg1
= (wxWindow
*) 0 ;
23076 wxPoint
*arg2
= 0 ;
23077 int arg3
= (int) wxSIZE_USE_EXISTING
;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 PyObject
* obj2
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self",(char *) "pt",(char *) "flags", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23094 arg3
= (int)SWIG_As_int(obj2
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 Py_INCREF(Py_None
); resultobj
= Py_None
;
23111 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxWindow
*arg1
= (wxWindow
*) 0 ;
23116 int arg4
= (int) wxSIZE_USE_EXISTING
;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 PyObject
* obj2
= 0 ;
23120 PyObject
* obj3
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23128 arg2
= (int)SWIG_As_int(obj1
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23130 arg3
= (int)SWIG_As_int(obj2
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 arg4
= (int)SWIG_As_int(obj3
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 (arg1
)->Move(arg2
,arg3
,arg4
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 Py_INCREF(Py_None
); resultobj
= Py_None
;
23150 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxWindow
*arg1
= (wxWindow
*) 0 ;
23153 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23154 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "size", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxWindow
*arg1
= (wxWindow
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxWindow
*arg1
= (wxWindow
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 Py_INCREF(Py_None
); resultobj
= Py_None
;
23235 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxWindow
*arg1
= (wxWindow
*) 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self",(char *) "size", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxWindow
*arg1
= (wxWindow
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 PyObject
* obj2
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "self",(char *) "width",(char *) "height", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23282 arg2
= (int)SWIG_As_int(obj1
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23284 arg3
= (int)SWIG_As_int(obj2
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 (arg1
)->SetClientSize(arg2
,arg3
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 Py_INCREF(Py_None
); resultobj
= Py_None
;
23300 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxWindow
*arg1
= (wxWindow
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "rect", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxWindow
*arg1
= (wxWindow
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (arg1
)->GetPosition();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 wxPoint
* resultptr
;
23353 resultptr
= new wxPoint((wxPoint
&) result
);
23354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23362 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxWindow
*arg1
= (wxWindow
*) 0 ;
23365 int *arg2
= (int *) 0 ;
23366 int *arg3
= (int *) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self", NULL
23376 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23377 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->GetPosition(arg2
,arg3
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23390 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23391 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23392 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23399 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxWindow
*arg1
= (wxWindow
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= ((wxWindow
const *)arg1
)->GetSize();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 wxSize
* resultptr
;
23420 resultptr
= new wxSize((wxSize
&) result
);
23421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23429 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxWindow
*arg1
= (wxWindow
*) 0 ;
23432 int *arg2
= (int *) 0 ;
23433 int *arg3
= (int *) 0 ;
23438 PyObject
* obj0
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self", NULL
23443 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23444 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 Py_INCREF(Py_None
); resultobj
= Py_None
;
23456 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23457 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23458 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23459 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23466 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self", NULL
23475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= ((wxWindow
const *)arg1
)->GetRect();
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 wxRect
* resultptr
;
23487 resultptr
= new wxRect((wxRect
&) result
);
23488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23496 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxWindow
*arg1
= (wxWindow
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 wxSize
* resultptr
;
23517 resultptr
= new wxSize((wxSize
&) result
);
23518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23526 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 int *arg2
= (int *) 0 ;
23530 int *arg3
= (int *) 0 ;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self", NULL
23540 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23541 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23554 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23555 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23556 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23563 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxWindow
*arg1
= (wxWindow
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 wxPoint
* resultptr
;
23584 resultptr
= new wxPoint((wxPoint
&) result
);
23585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23593 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
;
23595 wxWindow
*arg1
= (wxWindow
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 wxRect
* resultptr
;
23614 resultptr
= new wxRect((wxRect
&) result
);
23615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23623 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxWindow
*arg1
= (wxWindow
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 wxSize
* resultptr
;
23644 resultptr
= new wxSize((wxSize
&) result
);
23645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23653 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxWindow
*arg1
= (wxWindow
*) 0 ;
23656 int *arg2
= (int *) 0 ;
23657 int *arg3
= (int *) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23668 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23681 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23682 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23683 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23690 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxWindow
*arg1
= (wxWindow
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->InvalidateBestSize();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxWindow
*arg1
= (wxWindow
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 wxSize
* resultptr
;
23736 resultptr
= new wxSize((wxSize
&) result
);
23737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23745 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxWindow
*arg1
= (wxWindow
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 wxSize
* resultptr
;
23766 resultptr
= new wxSize((wxSize
&) result
);
23767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23775 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23778 int arg2
= (int) wxBOTH
;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "direction", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 arg2
= (int)SWIG_As_int(obj1
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 (arg1
)->Center(arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 Py_INCREF(Py_None
); resultobj
= Py_None
;
23806 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxWindow
*arg1
= (wxWindow
*) 0 ;
23809 int arg2
= (int) wxBOTH
;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self",(char *) "dir", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 arg2
= (int)SWIG_As_int(obj1
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->CenterOnScreen(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 int arg2
= (int) wxBOTH
;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "dir", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 arg2
= (int)SWIG_As_int(obj1
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->CenterOnParent(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxWindow
*arg1
= (wxWindow
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxWindow
*arg1
= (wxWindow
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 (arg1
)->FitInside();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 Py_INCREF(Py_None
); resultobj
= Py_None
;
23918 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxWindow
*arg1
= (wxWindow
*) 0 ;
23923 int arg4
= (int) -1 ;
23924 int arg5
= (int) -1 ;
23925 int arg6
= (int) -1 ;
23926 int arg7
= (int) -1 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 PyObject
* obj2
= 0 ;
23930 PyObject
* obj3
= 0 ;
23931 PyObject
* obj4
= 0 ;
23932 PyObject
* obj5
= 0 ;
23933 PyObject
* obj6
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 arg2
= (int)SWIG_As_int(obj1
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23943 arg3
= (int)SWIG_As_int(obj2
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 arg4
= (int)SWIG_As_int(obj3
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 arg5
= (int)SWIG_As_int(obj4
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 arg6
= (int)SWIG_As_int(obj5
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 arg7
= (int)SWIG_As_int(obj6
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 Py_INCREF(Py_None
); resultobj
= Py_None
;
23975 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23980 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 PyObject
* obj2
= 0 ;
23989 PyObject
* obj3
= 0 ;
23990 char *kwnames
[] = {
23991 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24004 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24010 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 Py_INCREF(Py_None
); resultobj
= Py_None
;
24027 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxWindow
*arg1
= (wxWindow
*) 0 ;
24032 int arg4
= (int) -1 ;
24033 int arg5
= (int) -1 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 PyObject
* obj3
= 0 ;
24038 PyObject
* obj4
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 arg2
= (int)SWIG_As_int(obj1
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24048 arg3
= (int)SWIG_As_int(obj2
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 arg4
= (int)SWIG_As_int(obj3
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 arg5
= (int)SWIG_As_int(obj4
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 Py_INCREF(Py_None
); resultobj
= Py_None
;
24072 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24076 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24077 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 PyObject
* obj2
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24097 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 Py_INCREF(Py_None
); resultobj
= Py_None
;
24114 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxWindow
*arg1
= (wxWindow
*) 0 ;
24118 PyObject
* obj0
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 wxSize
* resultptr
;
24135 resultptr
= new wxSize((wxSize
&) result
);
24136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24144 static PyObject
*_wrap_Window_GetMinSize(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_GetMinSize",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
= ((wxWindow
const *)arg1
)->GetMinSize();
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 wxSize
* resultptr
;
24165 resultptr
= new wxSize((wxSize
&) result
);
24166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24174 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxWindow
*arg1
= (wxWindow
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "minSize", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "maxSize", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxWindow
*arg1
= (wxWindow
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_int((int)result
);
24264 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_From_int((int)result
);
24290 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxWindow
*arg1
= (wxWindow
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 char *kwnames
[] = {
24296 (char *) "self", NULL
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_From_int((int)result
);
24316 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxWindow
*arg1
= (wxWindow
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_From_int((int)result
);
24342 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
;
24344 wxWindow
*arg1
= (wxWindow
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self",(char *) "size", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24374 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxWindow
*arg1
= (wxWindow
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 PyObject
* obj2
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self",(char *) "w",(char *) "h", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 arg2
= (int)SWIG_As_int(obj1
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24391 arg3
= (int)SWIG_As_int(obj2
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 (arg1
)->SetVirtualSize(arg2
,arg3
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 Py_INCREF(Py_None
); resultobj
= Py_None
;
24407 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxWindow
*arg1
= (wxWindow
*) 0 ;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24427 wxSize
* resultptr
;
24428 resultptr
= new wxSize((wxSize
&) result
);
24429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24437 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxWindow
*arg1
= (wxWindow
*) 0 ;
24440 int *arg2
= (int *) 0 ;
24441 int *arg3
= (int *) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self", NULL
24451 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24452 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24464 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24465 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24466 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24467 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24474 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxWindow
*arg1
= (wxWindow
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 wxSize
* resultptr
;
24495 resultptr
= new wxSize((wxSize
&) result
);
24496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24504 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxWindow
*arg1
= (wxWindow
*) 0 ;
24507 bool arg2
= (bool) true ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "show", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24519 arg2
= (bool)SWIG_As_bool(obj1
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (bool)(arg1
)->Show(arg2
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24538 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxWindow
*arg1
= (wxWindow
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)(arg1
)->Hide();
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxWindow
*arg1
= (wxWindow
*) 0 ;
24569 bool arg2
= (bool) true ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "enable", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 arg2
= (bool)SWIG_As_bool(obj1
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (bool)(arg1
)->Enable(arg2
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24600 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxWindow
*arg1
= (wxWindow
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= (bool)(arg1
)->Disable();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24628 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxWindow
*arg1
= (wxWindow
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxWindow
*arg1
= (wxWindow
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "style", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24697 arg2
= (long)SWIG_As_long(obj1
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->SetWindowStyleFlag(arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxWindow
*arg1
= (wxWindow
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_From_long((long)result
);
24739 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxWindow
*arg1
= (wxWindow
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "flag", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 arg2
= (int)SWIG_As_int(obj1
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxWindow
*arg1
= (wxWindow
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24799 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxWindow
*arg1
= (wxWindow
*) 0 ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self",(char *) "exStyle", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24812 arg2
= (long)SWIG_As_long(obj1
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 (arg1
)->SetExtraStyle(arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 Py_INCREF(Py_None
); resultobj
= Py_None
;
24828 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxWindow
*arg1
= (wxWindow
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_From_long((long)result
);
24854 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxWindow
*arg1
= (wxWindow
*) 0 ;
24857 bool arg2
= (bool) true ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "modal", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 arg2
= (bool)SWIG_As_bool(obj1
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 (arg1
)->MakeModal(arg2
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 Py_INCREF(Py_None
); resultobj
= Py_None
;
24885 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxWindow
*arg1
= (wxWindow
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "enableTheme", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 arg2
= (bool)SWIG_As_bool(obj1
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 (arg1
)->SetThemeEnabled(arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 Py_INCREF(Py_None
); resultobj
= Py_None
;
24914 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxWindow
*arg1
= (wxWindow
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24942 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxWindow
*arg1
= (wxWindow
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->SetFocus();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxWindow
*arg1
= (wxWindow
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->SetFocusFromKbd();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 Py_INCREF(Py_None
); resultobj
= Py_None
;
24992 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24995 char *kwnames
[] = {
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25001 if (!wxPyCheckForApp()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (wxWindow
*)wxWindow::FindFocus();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= wxPyMake_wxObject(result
, 0);
25017 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxWindow
*arg1
= (wxWindow
*) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25045 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxWindow
*arg1
= (wxWindow
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25073 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxWindow
*arg1
= (wxWindow
*) 0 ;
25077 PyObject
* obj0
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= wxPyMake_wxObject(result
, 0);
25101 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 wxWindow
*arg2
= (wxWindow
*) 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "child", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= wxPyMake_wxObject(result
, 0);
25133 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxWindow
*arg1
= (wxWindow
*) 0 ;
25136 wxWindow
*arg2
= (wxWindow
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "win", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 (arg1
)->SetTmpDefaultItem(arg2
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25165 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char *kwnames
[] = {
25170 (char *) "self",(char *) "flags", NULL
25173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25177 arg2
= (int)SWIG_As_int(obj1
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (bool)(arg1
)->Navigate(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 wxWindow
*arg2
= (wxWindow
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "win", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->MoveAfterInTabOrder(arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 Py_INCREF(Py_None
); resultobj
= Py_None
;
25225 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 wxWindow
*arg2
= (wxWindow
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 PyObject
* obj1
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "self",(char *) "win", NULL
25235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 (arg1
)->MoveBeforeInTabOrder(arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 Py_INCREF(Py_None
); resultobj
= Py_None
;
25254 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= result
;
25280 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxWindow
*arg1
= (wxWindow
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= wxPyMake_wxObject(result
, 0);
25308 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25312 PyObject
* obj0
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25324 wxPyEndAllowThreads(__tstate
);
25325 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= wxPyMake_wxObject(result
, 0);
25336 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxWindow
*arg1
= (wxWindow
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25364 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 wxWindow
*arg2
= (wxWindow
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "newParent", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (bool)(arg1
)->Reparent(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25396 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxWindow
*arg1
= (wxWindow
*) 0 ;
25399 wxWindow
*arg2
= (wxWindow
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "child", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 (arg1
)->AddChild(arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 Py_INCREF(Py_None
); resultobj
= Py_None
;
25425 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxWindow
*arg1
= (wxWindow
*) 0 ;
25428 wxWindow
*arg2
= (wxWindow
*) 0 ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "child", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->RemoveChild(arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self",(char *) "winid", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25468 arg2
= (long)SWIG_As_long(obj1
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= wxPyMake_wxObject(result
, 0);
25486 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxWindow
*arg1
= (wxWindow
*) 0 ;
25489 wxString
*arg2
= 0 ;
25491 bool temp2
= false ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "name", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25502 arg2
= wxString_in_helper(obj1
);
25503 if (arg2
== NULL
) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= wxPyMake_wxObject(result
, 0);
25530 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxWindow
*arg1
= (wxWindow
*) 0 ;
25533 wxEvtHandler
*result
;
25534 PyObject
* obj0
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= wxPyMake_wxObject(result
, 0);
25558 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "handler", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->SetEventHandler(arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25587 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self",(char *) "handler", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 (arg1
)->PushEventHandler(arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 Py_INCREF(Py_None
); resultobj
= Py_None
;
25616 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 bool arg2
= (bool) false ;
25620 wxEvtHandler
*result
;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "deleteHandler", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25631 arg2
= (bool)SWIG_As_bool(obj1
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= wxPyMake_wxObject(result
, 0);
25650 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxWindow
*arg1
= (wxWindow
*) 0 ;
25653 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self",(char *) "handler", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxWindow
*arg1
= (wxWindow
*) 0 ;
25685 wxValidator
*arg2
= 0 ;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self",(char *) "validator", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25698 if (arg2
== NULL
) {
25699 PyErr_SetString(PyExc_TypeError
,"null reference");
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 Py_INCREF(Py_None
); resultobj
= Py_None
;
25716 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 wxValidator
*result
;
25720 PyObject
* obj0
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (wxValidator
*)(arg1
)->GetValidator();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= wxPyMake_wxObject(result
, 0);
25744 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxWindow
*arg1
= (wxWindow
*) 0 ;
25748 PyObject
* obj0
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (bool)(arg1
)->Validate();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25772 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxWindow
*arg1
= (wxWindow
*) 0 ;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (bool)(arg1
)->TransferDataToWindow();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25800 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxWindow
*arg1
= (wxWindow
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)(arg1
)->TransferDataFromWindow();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25828 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 (arg1
)->InitDialog();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 Py_INCREF(Py_None
); resultobj
= Py_None
;
25853 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxWindow
*arg1
= (wxWindow
*) 0 ;
25856 wxAcceleratorTable
*arg2
= 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "accel", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25869 if (arg2
== NULL
) {
25870 PyErr_SetString(PyExc_TypeError
,"null reference");
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 Py_INCREF(Py_None
); resultobj
= Py_None
;
25887 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxWindow
*arg1
= (wxWindow
*) 0 ;
25890 wxAcceleratorTable
*result
;
25891 PyObject
* obj0
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25913 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxWindow
*arg1
= (wxWindow
*) 0 ;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 PyObject
* obj2
= 0 ;
25923 PyObject
* obj3
= 0 ;
25924 char *kwnames
[] = {
25925 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25931 arg2
= (int)SWIG_As_int(obj1
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25933 arg3
= (int)SWIG_As_int(obj2
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25935 arg4
= (int)SWIG_As_int(obj3
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25953 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxWindow
*arg1
= (wxWindow
*) 0 ;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "hotkeyId", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25967 arg2
= (int)SWIG_As_int(obj1
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25985 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxWindow
*arg1
= (wxWindow
*) 0 ;
25988 wxPoint
*arg2
= 0 ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "pt", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26012 wxPoint
* resultptr
;
26013 resultptr
= new wxPoint((wxPoint
&) result
);
26014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26022 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxWindow
*arg1
= (wxWindow
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "sz", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 wxSize
* resultptr
;
26050 resultptr
= new wxSize((wxSize
&) result
);
26051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26059 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxWindow
*arg1
= (wxWindow
*) 0 ;
26062 wxPoint
*arg2
= 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "pt", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26086 wxPoint
* resultptr
;
26087 resultptr
= new wxPoint((wxPoint
&) result
);
26088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26096 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxWindow
*arg1
= (wxWindow
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 PyObject
* obj1
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "sz", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26123 wxSize
* resultptr
;
26124 resultptr
= new wxSize((wxSize
&) result
);
26125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26133 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxWindow
*arg1
= (wxWindow
*) 0 ;
26136 wxPoint
*arg2
= 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "pt", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 wxPoint
* resultptr
;
26161 resultptr
= new wxPoint((wxPoint
&) result
);
26162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26170 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26172 wxWindow
*arg1
= (wxWindow
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "sz", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26187 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 wxSize
* resultptr
;
26198 resultptr
= new wxSize((wxSize
&) result
);
26199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26207 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxWindow
*arg1
= (wxWindow
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 PyObject
* obj2
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "x",(char *) "y", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 arg2
= (int)SWIG_As_int(obj1
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26224 arg3
= (int)SWIG_As_int(obj2
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 (arg1
)->WarpPointer(arg2
,arg3
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 Py_INCREF(Py_None
); resultobj
= Py_None
;
26240 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxWindow
*arg1
= (wxWindow
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->CaptureMouse();
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26265 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxWindow
*arg1
= (wxWindow
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 (arg1
)->ReleaseMouse();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 Py_INCREF(Py_None
); resultobj
= Py_None
;
26290 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26293 char *kwnames
[] = {
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26299 if (!wxPyCheckForApp()) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (wxWindow
*)wxWindow::GetCapture();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= wxPyMake_wxObject(result
, 0);
26315 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxWindow
*arg1
= (wxWindow
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26343 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxWindow
*arg1
= (wxWindow
*) 0 ;
26346 bool arg2
= (bool) true ;
26347 wxRect
*arg3
= (wxRect
*) NULL
;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 PyObject
* obj2
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 arg2
= (bool)SWIG_As_bool(obj1
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26363 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 Py_INCREF(Py_None
); resultobj
= Py_None
;
26380 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxWindow
*arg1
= (wxWindow
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self",(char *) "rect", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 Py_INCREF(Py_None
); resultobj
= Py_None
;
26412 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxWindow
*arg1
= (wxWindow
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 (arg1
)->ClearBackground();
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 Py_INCREF(Py_None
); resultobj
= Py_None
;
26462 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxWindow
*arg1
= (wxWindow
*) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 Py_INCREF(Py_None
); resultobj
= Py_None
;
26487 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxWindow
*arg1
= (wxWindow
*) 0 ;
26490 PyObject
* obj0
= 0 ;
26491 char *kwnames
[] = {
26492 (char *) "self", NULL
26495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxWindow
*arg1
= (wxWindow
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "dc", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26528 if (arg2
== NULL
) {
26529 PyErr_SetString(PyExc_TypeError
,"null reference");
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 (arg1
)->PrepareDC(*arg2
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 Py_INCREF(Py_None
); resultobj
= Py_None
;
26546 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26548 wxWindow
*arg1
= (wxWindow
*) 0 ;
26550 PyObject
* obj0
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26562 result
= (wxRegion
*) &_result_ref
;
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26575 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxWindow
*arg1
= (wxWindow
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26595 wxRect
* resultptr
;
26596 resultptr
= new wxRect((wxRect
&) result
);
26597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26605 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 int arg4
= (int) 1 ;
26611 int arg5
= (int) 1 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 PyObject
* obj2
= 0 ;
26616 PyObject
* obj3
= 0 ;
26617 PyObject
* obj4
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26625 arg2
= (int)SWIG_As_int(obj1
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26627 arg3
= (int)SWIG_As_int(obj2
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 arg4
= (int)SWIG_As_int(obj3
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 arg5
= (int)SWIG_As_int(obj4
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26653 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxWindow
*arg1
= (wxWindow
*) 0 ;
26656 wxPoint
*arg2
= 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "pt", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxWindow
*arg1
= (wxWindow
*) 0 ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "rect", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26723 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxWindow
*arg1
= (wxWindow
*) 0 ;
26726 wxVisualAttributes result
;
26727 PyObject
* obj0
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 wxVisualAttributes
* resultptr
;
26744 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26753 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26756 wxVisualAttributes result
;
26757 PyObject
* obj0
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "variant", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26764 arg1
= (int)SWIG_As_int(obj0
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 if (!wxPyCheckForApp()) SWIG_fail
;
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 wxVisualAttributes
* resultptr
;
26777 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26786 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxWindow
*arg1
= (wxWindow
*) 0 ;
26789 wxColour
*arg2
= 0 ;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "self",(char *) "colour", NULL
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 wxColour
*arg2
= 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "colour", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 Py_INCREF(Py_None
); resultobj
= Py_None
;
26853 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxWindow
*arg1
= (wxWindow
*) 0 ;
26856 wxColour
*arg2
= 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "colour", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26870 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26888 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
;
26890 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 wxColour
*arg2
= 0 ;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self",(char *) "colour", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 Py_INCREF(Py_None
); resultobj
= Py_None
;
26920 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxWindow
*arg1
= (wxWindow
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26940 wxColour
* resultptr
;
26941 resultptr
= new wxColour((wxColour
&) result
);
26942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26950 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxWindow
*arg1
= (wxWindow
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26970 wxColour
* resultptr
;
26971 resultptr
= new wxColour((wxColour
&) result
);
26972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26980 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
;
26982 wxWindow
*arg1
= (wxWindow
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self",(char *) "style", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 arg2
= (int)SWIG_As_int(obj1
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27012 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxWindow
*arg1
= (wxWindow
*) 0 ;
27016 PyObject
* obj0
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_From_int((int)result
);
27038 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxWindow
*arg1
= (wxWindow
*) 0 ;
27041 wxCursor
*arg2
= 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "cursor", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27055 if (arg2
== NULL
) {
27056 PyErr_SetString(PyExc_TypeError
,"null reference");
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27075 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxWindow
*arg1
= (wxWindow
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (arg1
)->GetCursor();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 wxCursor
* resultptr
;
27096 resultptr
= new wxCursor((wxCursor
&) result
);
27097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27105 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxWindow
*arg1
= (wxWindow
*) 0 ;
27110 PyObject
* obj0
= 0 ;
27111 PyObject
* obj1
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "font", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27122 if (arg2
== NULL
) {
27123 PyErr_SetString(PyExc_TypeError
,"null reference");
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27142 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxWindow
*arg1
= (wxWindow
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "font", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27158 if (arg2
== NULL
) {
27159 PyErr_SetString(PyExc_TypeError
,"null reference");
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (arg1
)->GetFont();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 wxFont
* resultptr
;
27197 resultptr
= new wxFont((wxFont
&) result
);
27198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27206 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 wxCaret
*arg2
= (wxCaret
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 PyObject
* obj1
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self",(char *) "caret", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 (arg1
)->SetCaret(arg2
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 Py_INCREF(Py_None
); resultobj
= Py_None
;
27235 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxWindow
*arg1
= (wxWindow
*) 0 ;
27239 PyObject
* obj0
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27261 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxWindow
*arg1
= (wxWindow
*) 0 ;
27265 PyObject
* obj0
= 0 ;
27266 char *kwnames
[] = {
27267 (char *) "self", NULL
27270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_From_int((int)result
);
27287 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_From_int((int)result
);
27313 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxWindow
*arg1
= (wxWindow
*) 0 ;
27316 wxString
*arg2
= 0 ;
27317 int *arg3
= (int *) 0 ;
27318 int *arg4
= (int *) 0 ;
27319 bool temp2
= false ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self",(char *) "string", NULL
27330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27331 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27336 arg2
= wxString_in_helper(obj1
);
27337 if (arg2
== NULL
) SWIG_fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 Py_INCREF(Py_None
); resultobj
= Py_None
;
27348 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27349 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27350 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27351 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27366 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
;
27368 wxWindow
*arg1
= (wxWindow
*) 0 ;
27369 wxString
*arg2
= 0 ;
27370 int *arg3
= (int *) 0 ;
27371 int *arg4
= (int *) 0 ;
27372 int *arg5
= (int *) 0 ;
27373 int *arg6
= (int *) 0 ;
27374 wxFont
*arg7
= (wxFont
*) NULL
;
27375 bool temp2
= false ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 PyObject
* obj2
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "string",(char *) "font", NULL
27391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27392 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27393 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27394 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27399 arg2
= wxString_in_helper(obj1
);
27400 if (arg2
== NULL
) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27416 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27417 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27418 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27419 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27420 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27421 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27422 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27437 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxWindow
*arg1
= (wxWindow
*) 0 ;
27440 int *arg2
= (int *) 0 ;
27441 int *arg3
= (int *) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 PyObject
* obj2
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "x",(char *) "y", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27458 temp2
= SWIG_As_int(obj1
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 res2
= SWIG_NEWOBJ
;
27465 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27466 temp3
= SWIG_As_int(obj2
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 res3
= SWIG_NEWOBJ
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27481 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27482 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27483 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27490 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 int *arg2
= (int *) 0 ;
27494 int *arg3
= (int *) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 PyObject
* obj1
= 0 ;
27501 PyObject
* obj2
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self",(char *) "x",(char *) "y", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27511 temp2
= SWIG_As_int(obj1
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 res2
= SWIG_NEWOBJ
;
27518 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27519 temp3
= SWIG_As_int(obj2
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 res3
= SWIG_NEWOBJ
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27533 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27534 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27535 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27536 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27543 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxWindow
*arg1
= (wxWindow
*) 0 ;
27546 wxPoint
*arg2
= 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self",(char *) "pt", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 wxPoint
* resultptr
;
27571 resultptr
= new wxPoint((wxPoint
&) result
);
27572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27580 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxWindow
*arg1
= (wxWindow
*) 0 ;
27583 wxPoint
*arg2
= 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 char *kwnames
[] = {
27589 (char *) "self",(char *) "pt", NULL
27592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 wxPoint
* resultptr
;
27608 resultptr
= new wxPoint((wxPoint
&) result
);
27609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27617 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxWindow
*arg1
= (wxWindow
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 PyObject
* obj1
= 0 ;
27625 PyObject
* obj2
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self",(char *) "x",(char *) "y", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27633 arg2
= (int)SWIG_As_int(obj1
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27635 arg3
= (int)SWIG_As_int(obj2
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_From_int((int)result
);
27651 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 wxPoint
*arg2
= 0 ;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self",(char *) "pt", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_From_int((int)result
);
27684 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27685 PyObject
*resultobj
;
27686 wxWindow
*arg1
= (wxWindow
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27692 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27695 arg2
= (long)SWIG_As_long(obj1
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_From_int((int)result
);
27711 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27712 PyObject
*resultobj
;
27713 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27717 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_From_int((int)result
);
27734 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27739 argc
= PyObject_Length(args
);
27740 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27741 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27747 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27755 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27770 _v
= SWIG_Check_long(argv
[1]);
27772 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27777 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27782 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxWindow
*arg1
= (wxWindow
*) 0 ;
27785 long arg2
= (long) wxUPDATE_UI_NONE
;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "flags", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 arg2
= (long)SWIG_As_long(obj1
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->UpdateWindowUI(arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27816 wxMenu
*arg2
= (wxMenu
*) 0 ;
27817 int arg3
= (int) -1 ;
27818 int arg4
= (int) -1 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 PyObject
* obj3
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 arg3
= (int)SWIG_As_int(obj2
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 arg4
= (int)SWIG_As_int(obj3
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27857 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 wxWindow
*arg1
= (wxWindow
*) 0 ;
27860 wxMenu
*arg2
= (wxMenu
*) 0 ;
27861 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27862 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self",(char *) "menu",(char *) "pos", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27899 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxWindow
*arg1
= (wxWindow
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 char *kwnames
[] = {
27905 (char *) "self", NULL
27908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (long)wxWindow_GetHandle(arg1
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_From_long((long)result
);
27925 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxWindow
*arg1
= (wxWindow
*) 0 ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 char *kwnames
[] = {
27932 (char *) "self",(char *) "handle", NULL
27935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27938 arg2
= (long)SWIG_As_long(obj1
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 wxWindow_AssociateHandle(arg1
,arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 Py_INCREF(Py_None
); resultobj
= Py_None
;
27954 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
;
27956 wxWindow
*arg1
= (wxWindow
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->DissociateHandle();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27979 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxWindow
*arg1
= (wxWindow
*) 0 ;
27982 wxPaintEvent
*arg2
= 0 ;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "event", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27995 if (arg2
== NULL
) {
27996 PyErr_SetString(PyExc_TypeError
,"null reference");
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 (arg1
)->OnPaint(*arg2
);
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 Py_INCREF(Py_None
); resultobj
= Py_None
;
28013 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxWindow
*arg1
= (wxWindow
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self",(char *) "orient", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28027 arg2
= (int)SWIG_As_int(obj1
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28045 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxWindow
*arg1
= (wxWindow
*) 0 ;
28052 bool arg6
= (bool) true ;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 PyObject
* obj2
= 0 ;
28056 PyObject
* obj3
= 0 ;
28057 PyObject
* obj4
= 0 ;
28058 PyObject
* obj5
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 arg2
= (int)SWIG_As_int(obj1
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28068 arg3
= (int)SWIG_As_int(obj2
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28070 arg4
= (int)SWIG_As_int(obj3
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28072 arg5
= (int)SWIG_As_int(obj4
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 arg6
= (bool)SWIG_As_bool(obj5
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 Py_INCREF(Py_None
); resultobj
= Py_None
;
28092 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxWindow
*arg1
= (wxWindow
*) 0 ;
28097 bool arg4
= (bool) true ;
28098 PyObject
* obj0
= 0 ;
28099 PyObject
* obj1
= 0 ;
28100 PyObject
* obj2
= 0 ;
28101 PyObject
* obj3
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28109 arg2
= (int)SWIG_As_int(obj1
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28111 arg3
= (int)SWIG_As_int(obj2
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 arg4
= (bool)SWIG_As_bool(obj3
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 Py_INCREF(Py_None
); resultobj
= Py_None
;
28131 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxWindow
*arg1
= (wxWindow
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "orientation", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 arg2
= (int)SWIG_As_int(obj1
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_From_int((int)result
);
28161 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxWindow
*arg1
= (wxWindow
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self",(char *) "orientation", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28175 arg2
= (int)SWIG_As_int(obj1
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_From_int((int)result
);
28191 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxWindow
*arg1
= (wxWindow
*) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self",(char *) "orientation", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28205 arg2
= (int)SWIG_As_int(obj1
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_From_int((int)result
);
28221 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxWindow
*arg1
= (wxWindow
*) 0 ;
28226 wxRect
*arg4
= (wxRect
*) NULL
;
28227 PyObject
* obj0
= 0 ;
28228 PyObject
* obj1
= 0 ;
28229 PyObject
* obj2
= 0 ;
28230 PyObject
* obj3
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 arg2
= (int)SWIG_As_int(obj1
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28240 arg3
= (int)SWIG_As_int(obj2
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 Py_INCREF(Py_None
); resultobj
= Py_None
;
28260 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self",(char *) "lines", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28274 arg2
= (int)SWIG_As_int(obj1
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (bool)(arg1
)->ScrollLines(arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28292 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxWindow
*arg1
= (wxWindow
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self",(char *) "pages", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28306 arg2
= (int)SWIG_As_int(obj1
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (bool)(arg1
)->ScrollPages(arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28324 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxWindow
*arg1
= (wxWindow
*) 0 ;
28328 PyObject
* obj0
= 0 ;
28329 char *kwnames
[] = {
28330 (char *) "self", NULL
28333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (bool)(arg1
)->LineUp();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28352 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxWindow
*arg1
= (wxWindow
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (bool)(arg1
)->LineDown();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28380 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxWindow
*arg1
= (wxWindow
*) 0 ;
28384 PyObject
* obj0
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 result
= (bool)(arg1
)->PageUp();
28396 wxPyEndAllowThreads(__tstate
);
28397 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28408 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxWindow
*arg1
= (wxWindow
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (bool)(arg1
)->PageDown();
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28436 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxWindow
*arg1
= (wxWindow
*) 0 ;
28439 wxString
*arg2
= 0 ;
28440 bool temp2
= false ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "text", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28451 arg2
= wxString_in_helper(obj1
);
28452 if (arg2
== NULL
) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 Py_INCREF(Py_None
); resultobj
= Py_None
;
28477 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28478 PyObject
*resultobj
;
28479 wxWindow
*arg1
= (wxWindow
*) 0 ;
28480 wxString
*arg2
= 0 ;
28481 bool temp2
= false ;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self",(char *) "text", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28492 arg2
= wxString_in_helper(obj1
);
28493 if (arg2
== NULL
) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 Py_INCREF(Py_None
); resultobj
= Py_None
;
28518 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxWindow
*arg1
= (wxWindow
*) 0 ;
28522 PyObject
* obj0
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28550 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxWindow
*arg1
= (wxWindow
*) 0 ;
28553 wxString
*arg2
= 0 ;
28554 bool temp2
= false ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self",(char *) "tip", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 arg2
= wxString_in_helper(obj1
);
28566 if (arg2
== NULL
) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28591 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28594 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self",(char *) "tip", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 (arg1
)->SetToolTip(arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 Py_INCREF(Py_None
); resultobj
= Py_None
;
28620 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxWindow
*arg1
= (wxWindow
*) 0 ;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= wxPyMake_wxObject(result
, 0);
28648 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxWindow
*arg1
= (wxWindow
*) 0 ;
28651 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 char *kwnames
[] = {
28655 (char *) "self",(char *) "dropTarget", NULL
28658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28662 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 (arg1
)->SetDropTarget(arg2
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 Py_INCREF(Py_None
); resultobj
= Py_None
;
28677 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
;
28679 wxWindow
*arg1
= (wxWindow
*) 0 ;
28680 wxPyDropTarget
*result
;
28681 PyObject
* obj0
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28703 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxWindow
*arg1
= (wxWindow
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self",(char *) "accept", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 arg2
= (bool)SWIG_As_bool(obj1
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 (arg1
)->DragAcceptFiles(arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 Py_INCREF(Py_None
); resultobj
= Py_None
;
28732 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxWindow
*arg1
= (wxWindow
*) 0 ;
28735 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self",(char *) "constraints", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 (arg1
)->SetConstraints(arg2
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 Py_INCREF(Py_None
); resultobj
= Py_None
;
28761 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
;
28763 wxWindow
*arg1
= (wxWindow
*) 0 ;
28764 wxLayoutConstraints
*result
;
28765 PyObject
* obj0
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28787 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxWindow
*arg1
= (wxWindow
*) 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "autoLayout", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28800 arg2
= (bool)SWIG_As_bool(obj1
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 (arg1
)->SetAutoLayout(arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 Py_INCREF(Py_None
); resultobj
= Py_None
;
28816 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxWindow
*arg1
= (wxWindow
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28844 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28845 PyObject
*resultobj
;
28846 wxWindow
*arg1
= (wxWindow
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 result
= (bool)(arg1
)->Layout();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28872 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxWindow
*arg1
= (wxWindow
*) 0 ;
28875 wxSizer
*arg2
= (wxSizer
*) 0 ;
28876 bool arg3
= (bool) true ;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 PyObject
* obj2
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28890 arg3
= (bool)SWIG_As_bool(obj2
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 (arg1
)->SetSizer(arg2
,arg3
);
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 Py_INCREF(Py_None
); resultobj
= Py_None
;
28907 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxWindow
*arg1
= (wxWindow
*) 0 ;
28910 wxSizer
*arg2
= (wxSizer
*) 0 ;
28911 bool arg3
= (bool) true ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 arg3
= (bool)SWIG_As_bool(obj2
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 Py_INCREF(Py_None
); resultobj
= Py_None
;
28942 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
;
28944 wxWindow
*arg1
= (wxWindow
*) 0 ;
28946 PyObject
* obj0
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= wxPyMake_wxSizer(result
, 0);
28970 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxWindow
*arg1
= (wxWindow
*) 0 ;
28973 wxSizer
*arg2
= (wxSizer
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self",(char *) "sizer", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 (arg1
)->SetContainingSizer(arg2
);
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 Py_INCREF(Py_None
); resultobj
= Py_None
;
28999 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
;
29001 wxWindow
*arg1
= (wxWindow
*) 0 ;
29003 PyObject
* obj0
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
29009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= wxPyMake_wxSizer(result
, 0);
29027 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxWindow
*arg1
= (wxWindow
*) 0 ;
29030 PyObject
* obj0
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "self", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
29036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 (arg1
)->InheritAttributes();
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 Py_INCREF(Py_None
); resultobj
= Py_None
;
29052 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxWindow
*arg1
= (wxWindow
*) 0 ;
29056 PyObject
* obj0
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29080 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29083 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29085 return Py_BuildValue((char *)"");
29087 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29090 wxWindow
*arg2
= (wxWindow
*) NULL
;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 char *kwnames
[] = {
29095 (char *) "id",(char *) "parent", NULL
29098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29099 arg1
= (long)SWIG_As_long(obj0
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29106 if (!wxPyCheckForApp()) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= wxPyMake_wxObject(result
, 0);
29122 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxString
*arg1
= 0 ;
29125 wxWindow
*arg2
= (wxWindow
*) NULL
;
29127 bool temp1
= false ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "name",(char *) "parent", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29136 arg1
= wxString_in_helper(obj0
);
29137 if (arg1
== NULL
) SWIG_fail
;
29141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29145 if (!wxPyCheckForApp()) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= wxPyMake_wxObject(result
, 0);
29169 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxString
*arg1
= 0 ;
29172 wxWindow
*arg2
= (wxWindow
*) NULL
;
29174 bool temp1
= false ;
29175 PyObject
* obj0
= 0 ;
29176 PyObject
* obj1
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "label",(char *) "parent", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29183 arg1
= wxString_in_helper(obj0
);
29184 if (arg1
== NULL
) SWIG_fail
;
29188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 if (!wxPyCheckForApp()) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= wxPyMake_wxObject(result
, 0);
29216 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxWindow
*arg1
= (wxWindow
*) 0 ;
29219 unsigned long arg2
;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "parent",(char *) "_hWnd", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29230 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= wxPyMake_wxObject(result
, 0);
29248 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxValidator
*result
;
29251 char *kwnames
[] = {
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (wxValidator
*)new wxValidator();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29270 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxValidator
*arg1
= (wxValidator
*) 0 ;
29273 wxValidator
*result
;
29274 PyObject
* obj0
= 0 ;
29275 char *kwnames
[] = {
29276 (char *) "self", NULL
29279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (wxValidator
*)(arg1
)->Clone();
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= wxPyMake_wxObject(result
, 0);
29298 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxValidator
*arg1
= (wxValidator
*) 0 ;
29301 wxWindow
*arg2
= (wxWindow
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "parent", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (bool)(arg1
)->Validate(arg2
);
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29330 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxValidator
*arg1
= (wxValidator
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 char *kwnames
[] = {
29336 (char *) "self", NULL
29339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= (bool)(arg1
)->TransferToWindow();
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29358 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxValidator
*arg1
= (wxValidator
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 char *kwnames
[] = {
29364 (char *) "self", NULL
29367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (bool)(arg1
)->TransferFromWindow();
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxValidator
*arg1
= (wxValidator
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= (wxWindow
*)(arg1
)->GetWindow();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= wxPyMake_wxObject(result
, 0);
29414 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxValidator
*arg1
= (wxValidator
*) 0 ;
29417 wxWindow
*arg2
= (wxWindow
*) 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "window", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 (arg1
)->SetWindow(arg2
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 Py_INCREF(Py_None
); resultobj
= Py_None
;
29443 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29446 char *kwnames
[] = {
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 result
= (bool)wxValidator::IsSilent();
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29467 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
;
29469 int arg1
= (int) true ;
29470 PyObject
* obj0
= 0 ;
29471 char *kwnames
[] = {
29472 (char *) "doIt", NULL
29475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29477 arg1
= (int)SWIG_As_int(obj0
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 wxValidator::SetBellOnError(arg1
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 Py_INCREF(Py_None
); resultobj
= Py_None
;
29494 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29497 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29499 return Py_BuildValue((char *)"");
29501 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxPyValidator
*result
;
29504 char *kwnames
[] = {
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (wxPyValidator
*)new wxPyValidator();
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29523 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29526 PyObject
*arg2
= (PyObject
*) 0 ;
29527 PyObject
*arg3
= (PyObject
*) 0 ;
29528 int arg4
= (int) true ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 PyObject
* obj3
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29543 arg4
= (int)SWIG_As_int(obj3
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 Py_INCREF(Py_None
); resultobj
= Py_None
;
29560 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29563 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29565 return Py_BuildValue((char *)"");
29567 static int _wrap_DefaultValidator_set(PyObject
*) {
29568 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29573 static PyObject
*_wrap_DefaultValidator_get() {
29576 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29581 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29584 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29585 long arg2
= (long) 0 ;
29587 bool temp1
= false ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "title",(char *) "style", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29597 arg1
= wxString_in_helper(obj0
);
29598 if (arg1
== NULL
) SWIG_fail
;
29603 arg2
= (long)SWIG_As_long(obj1
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 if (!wxPyCheckForApp()) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29629 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxMenu
*arg1
= (wxMenu
*) 0 ;
29633 wxString
*arg3
= 0 ;
29634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29636 int arg5
= (int) wxITEM_NORMAL
;
29637 wxMenuItem
*result
;
29638 bool temp3
= false ;
29639 bool temp4
= false ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 PyObject
* obj3
= 0 ;
29644 PyObject
* obj4
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (int)SWIG_As_int(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 arg3
= wxString_in_helper(obj2
);
29656 if (arg3
== NULL
) SWIG_fail
;
29661 arg4
= wxString_in_helper(obj3
);
29662 if (arg4
== NULL
) SWIG_fail
;
29667 arg5
= (int)SWIG_As_int(obj4
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= wxPyMake_wxObject(result
, 0);
29702 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxMenu
*arg1
= (wxMenu
*) 0 ;
29705 wxMenuItem
*result
;
29706 PyObject
* obj0
= 0 ;
29707 char *kwnames
[] = {
29708 (char *) "self", NULL
29711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= wxPyMake_wxObject(result
, 0);
29730 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 wxString
*arg3
= 0 ;
29735 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29736 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29737 wxMenuItem
*result
;
29738 bool temp3
= false ;
29739 bool temp4
= false ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 PyObject
* obj2
= 0 ;
29743 PyObject
* obj3
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29751 arg2
= (int)SWIG_As_int(obj1
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 arg3
= wxString_in_helper(obj2
);
29755 if (arg3
== NULL
) SWIG_fail
;
29760 arg4
= wxString_in_helper(obj3
);
29761 if (arg4
== NULL
) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= wxPyMake_wxObject(result
, 0);
29797 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxMenu
*arg1
= (wxMenu
*) 0 ;
29801 wxString
*arg3
= 0 ;
29802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29804 wxMenuItem
*result
;
29805 bool temp3
= false ;
29806 bool temp4
= false ;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 PyObject
* obj2
= 0 ;
29810 PyObject
* obj3
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29818 arg2
= (int)SWIG_As_int(obj1
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 arg3
= wxString_in_helper(obj2
);
29822 if (arg3
== NULL
) SWIG_fail
;
29827 arg4
= wxString_in_helper(obj3
);
29828 if (arg4
== NULL
) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= wxPyMake_wxObject(result
, 0);
29864 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxMenu
*arg1
= (wxMenu
*) 0 ;
29868 wxString
*arg3
= 0 ;
29869 wxMenu
*arg4
= (wxMenu
*) 0 ;
29870 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29871 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29872 wxMenuItem
*result
;
29873 bool temp3
= false ;
29874 bool temp5
= false ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 PyObject
* obj2
= 0 ;
29878 PyObject
* obj3
= 0 ;
29879 PyObject
* obj4
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 arg2
= (int)SWIG_As_int(obj1
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 arg3
= wxString_in_helper(obj2
);
29891 if (arg3
== NULL
) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 arg5
= wxString_in_helper(obj4
);
29899 if (arg5
== NULL
) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= wxPyMake_wxObject(result
, 0);
29935 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29936 PyObject
*resultobj
;
29937 wxMenu
*arg1
= (wxMenu
*) 0 ;
29938 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29939 wxMenuItem
*result
;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self",(char *) "item", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= wxPyMake_wxObject(result
, 0);
29967 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxMenu
*arg1
= (wxMenu
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 char *kwnames
[] = {
29972 (char *) "self", NULL
29975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 Py_INCREF(Py_None
); resultobj
= Py_None
;
29992 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
;
29994 wxMenu
*arg1
= (wxMenu
*) 0 ;
29996 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29997 wxMenuItem
*result
;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 PyObject
* obj2
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "pos",(char *) "item", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30010 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
30011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= wxPyMake_wxObject(result
, 0);
30028 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxMenu
*arg1
= (wxMenu
*) 0 ;
30033 wxString
*arg4
= 0 ;
30034 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30035 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30036 int arg6
= (int) wxITEM_NORMAL
;
30037 wxMenuItem
*result
;
30038 bool temp4
= false ;
30039 bool temp5
= false ;
30040 PyObject
* obj0
= 0 ;
30041 PyObject
* obj1
= 0 ;
30042 PyObject
* obj2
= 0 ;
30043 PyObject
* obj3
= 0 ;
30044 PyObject
* obj4
= 0 ;
30045 PyObject
* obj5
= 0 ;
30046 char *kwnames
[] = {
30047 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30053 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30055 arg3
= (int)SWIG_As_int(obj2
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 arg4
= wxString_in_helper(obj3
);
30059 if (arg4
== NULL
) SWIG_fail
;
30064 arg5
= wxString_in_helper(obj4
);
30065 if (arg5
== NULL
) SWIG_fail
;
30070 arg6
= (int)SWIG_As_int(obj5
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30081 resultobj
= wxPyMake_wxObject(result
, 0);
30105 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxMenu
*arg1
= (wxMenu
*) 0 ;
30109 wxMenuItem
*result
;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self",(char *) "pos", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30119 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= wxPyMake_wxObject(result
, 0);
30137 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
;
30139 wxMenu
*arg1
= (wxMenu
*) 0 ;
30142 wxString
*arg4
= 0 ;
30143 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30144 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30145 wxMenuItem
*result
;
30146 bool temp4
= false ;
30147 bool temp5
= false ;
30148 PyObject
* obj0
= 0 ;
30149 PyObject
* obj1
= 0 ;
30150 PyObject
* obj2
= 0 ;
30151 PyObject
* obj3
= 0 ;
30152 PyObject
* obj4
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30160 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30162 arg3
= (int)SWIG_As_int(obj2
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 arg4
= wxString_in_helper(obj3
);
30166 if (arg4
== NULL
) SWIG_fail
;
30171 arg5
= wxString_in_helper(obj4
);
30172 if (arg5
== NULL
) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= wxPyMake_wxObject(result
, 0);
30208 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxMenu
*arg1
= (wxMenu
*) 0 ;
30213 wxString
*arg4
= 0 ;
30214 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30215 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30216 wxMenuItem
*result
;
30217 bool temp4
= false ;
30218 bool temp5
= false ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 char *kwnames
[] = {
30225 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30231 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30233 arg3
= (int)SWIG_As_int(obj2
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 arg4
= wxString_in_helper(obj3
);
30237 if (arg4
== NULL
) SWIG_fail
;
30242 arg5
= wxString_in_helper(obj4
);
30243 if (arg5
== NULL
) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= wxPyMake_wxObject(result
, 0);
30279 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxMenu
*arg1
= (wxMenu
*) 0 ;
30284 wxString
*arg4
= 0 ;
30285 wxMenu
*arg5
= (wxMenu
*) 0 ;
30286 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30287 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30288 wxMenuItem
*result
;
30289 bool temp4
= false ;
30290 bool temp6
= false ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 PyObject
* obj2
= 0 ;
30294 PyObject
* obj3
= 0 ;
30295 PyObject
* obj4
= 0 ;
30296 PyObject
* obj5
= 0 ;
30297 char *kwnames
[] = {
30298 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30304 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30306 arg3
= (int)SWIG_As_int(obj2
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 arg4
= wxString_in_helper(obj3
);
30310 if (arg4
== NULL
) SWIG_fail
;
30313 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30317 arg6
= wxString_in_helper(obj5
);
30318 if (arg6
== NULL
) SWIG_fail
;
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= wxPyMake_wxObject(result
, 0);
30354 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
;
30356 wxMenu
*arg1
= (wxMenu
*) 0 ;
30357 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30358 wxMenuItem
*result
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self",(char *) "item", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= wxPyMake_wxObject(result
, 0);
30386 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
;
30388 wxMenu
*arg1
= (wxMenu
*) 0 ;
30390 wxString
*arg3
= 0 ;
30391 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30392 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30393 int arg5
= (int) wxITEM_NORMAL
;
30394 wxMenuItem
*result
;
30395 bool temp3
= false ;
30396 bool temp4
= false ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 PyObject
* obj2
= 0 ;
30400 PyObject
* obj3
= 0 ;
30401 PyObject
* obj4
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30409 arg2
= (int)SWIG_As_int(obj1
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 arg3
= wxString_in_helper(obj2
);
30413 if (arg3
== NULL
) SWIG_fail
;
30418 arg4
= wxString_in_helper(obj3
);
30419 if (arg4
== NULL
) SWIG_fail
;
30424 arg5
= (int)SWIG_As_int(obj4
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= wxPyMake_wxObject(result
, 0);
30459 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxMenu
*arg1
= (wxMenu
*) 0 ;
30462 wxMenuItem
*result
;
30463 PyObject
* obj0
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= wxPyMake_wxObject(result
, 0);
30487 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxMenu
*arg1
= (wxMenu
*) 0 ;
30491 wxString
*arg3
= 0 ;
30492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30494 wxMenuItem
*result
;
30495 bool temp3
= false ;
30496 bool temp4
= false ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 PyObject
* obj2
= 0 ;
30500 PyObject
* obj3
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30508 arg2
= (int)SWIG_As_int(obj1
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 arg3
= wxString_in_helper(obj2
);
30512 if (arg3
== NULL
) SWIG_fail
;
30517 arg4
= wxString_in_helper(obj3
);
30518 if (arg4
== NULL
) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= wxPyMake_wxObject(result
, 0);
30554 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxMenu
*arg1
= (wxMenu
*) 0 ;
30558 wxString
*arg3
= 0 ;
30559 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30560 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30561 wxMenuItem
*result
;
30562 bool temp3
= false ;
30563 bool temp4
= false ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 PyObject
* obj2
= 0 ;
30567 PyObject
* obj3
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30575 arg2
= (int)SWIG_As_int(obj1
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 arg3
= wxString_in_helper(obj2
);
30579 if (arg3
== NULL
) SWIG_fail
;
30584 arg4
= wxString_in_helper(obj3
);
30585 if (arg4
== NULL
) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= wxPyMake_wxObject(result
, 0);
30621 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
;
30623 wxMenu
*arg1
= (wxMenu
*) 0 ;
30625 wxString
*arg3
= 0 ;
30626 wxMenu
*arg4
= (wxMenu
*) 0 ;
30627 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30628 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30629 wxMenuItem
*result
;
30630 bool temp3
= false ;
30631 bool temp5
= false ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 PyObject
* obj2
= 0 ;
30635 PyObject
* obj3
= 0 ;
30636 PyObject
* obj4
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30644 arg2
= (int)SWIG_As_int(obj1
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30647 arg3
= wxString_in_helper(obj2
);
30648 if (arg3
== NULL
) SWIG_fail
;
30651 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30655 arg5
= wxString_in_helper(obj4
);
30656 if (arg5
== NULL
) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= wxPyMake_wxObject(result
, 0);
30692 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxMenu
*arg1
= (wxMenu
*) 0 ;
30696 wxMenuItem
*result
;
30697 PyObject
* obj0
= 0 ;
30698 PyObject
* obj1
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self",(char *) "id", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30706 arg2
= (int)SWIG_As_int(obj1
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= wxPyMake_wxObject(result
, 0);
30724 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxMenu
*arg1
= (wxMenu
*) 0 ;
30727 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30728 wxMenuItem
*result
;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 char *kwnames
[] = {
30732 (char *) "self",(char *) "item", NULL
30735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= wxPyMake_wxObject(result
, 0);
30756 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
;
30758 wxMenu
*arg1
= (wxMenu
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self",(char *) "id", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 arg2
= (int)SWIG_As_int(obj1
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 result
= (bool)(arg1
)->Delete(arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30788 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxMenu
*arg1
= (wxMenu
*) 0 ;
30791 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "item", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 result
= (bool)(arg1
)->Delete(arg2
);
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30820 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30822 wxMenu
*arg1
= (wxMenu
*) 0 ;
30823 PyObject
* obj0
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 wxMenu_Destroy(arg1
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 Py_INCREF(Py_None
); resultobj
= Py_None
;
30845 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxMenu
*arg1
= (wxMenu
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "id", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 arg2
= (int)SWIG_As_int(obj1
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (bool)(arg1
)->Destroy(arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30877 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
;
30879 wxMenu
*arg1
= (wxMenu
*) 0 ;
30880 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self",(char *) "item", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)(arg1
)->Destroy(arg2
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxMenu
*arg1
= (wxMenu
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30935 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
;
30937 wxMenu
*arg1
= (wxMenu
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= result
;
30961 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxMenu
*arg1
= (wxMenu
*) 0 ;
30964 wxString
*arg2
= 0 ;
30966 bool temp2
= false ;
30967 PyObject
* obj0
= 0 ;
30968 PyObject
* obj1
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self",(char *) "item", NULL
30973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30977 arg2
= wxString_in_helper(obj1
);
30978 if (arg2
== NULL
) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_From_int((int)result
);
31003 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
;
31005 wxMenu
*arg1
= (wxMenu
*) 0 ;
31007 wxMenuItem
*result
;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self",(char *) "id", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31017 arg2
= (int)SWIG_As_int(obj1
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31021 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= wxPyMake_wxObject(result
, 0);
31035 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
;
31037 wxMenu
*arg1
= (wxMenu
*) 0 ;
31039 wxMenuItem
*result
;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 char *kwnames
[] = {
31043 (char *) "self",(char *) "position", NULL
31046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
31047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31049 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= wxPyMake_wxObject(result
, 0);
31067 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
;
31069 wxMenu
*arg1
= (wxMenu
*) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 PyObject
* obj2
= 0 ;
31075 char *kwnames
[] = {
31076 (char *) "self",(char *) "id",(char *) "enable", NULL
31079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31082 arg2
= (int)SWIG_As_int(obj1
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31084 arg3
= (bool)SWIG_As_bool(obj2
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 (arg1
)->Enable(arg2
,arg3
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 Py_INCREF(Py_None
); resultobj
= Py_None
;
31100 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxMenu
*arg1
= (wxMenu
*) 0 ;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self",(char *) "id", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31114 arg2
= (int)SWIG_As_int(obj1
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31118 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31132 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31133 PyObject
*resultobj
;
31134 wxMenu
*arg1
= (wxMenu
*) 0 ;
31137 PyObject
* obj0
= 0 ;
31138 PyObject
* obj1
= 0 ;
31139 PyObject
* obj2
= 0 ;
31140 char *kwnames
[] = {
31141 (char *) "self",(char *) "id",(char *) "check", NULL
31144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31147 arg2
= (int)SWIG_As_int(obj1
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31149 arg3
= (bool)SWIG_As_bool(obj2
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 (arg1
)->Check(arg2
,arg3
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 Py_INCREF(Py_None
); resultobj
= Py_None
;
31165 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
;
31167 wxMenu
*arg1
= (wxMenu
*) 0 ;
31170 PyObject
* obj0
= 0 ;
31171 PyObject
* obj1
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self",(char *) "id", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31179 arg2
= (int)SWIG_As_int(obj1
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31197 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxMenu
*arg1
= (wxMenu
*) 0 ;
31201 wxString
*arg3
= 0 ;
31202 bool temp3
= false ;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 char *kwnames
[] = {
31207 (char *) "self",(char *) "id",(char *) "label", NULL
31210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31213 arg2
= (int)SWIG_As_int(obj1
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31216 arg3
= wxString_in_helper(obj2
);
31217 if (arg3
== NULL
) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 Py_INCREF(Py_None
); resultobj
= Py_None
;
31242 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
;
31244 wxMenu
*arg1
= (wxMenu
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 PyObject
* obj1
= 0 ;
31249 char *kwnames
[] = {
31250 (char *) "self",(char *) "id", NULL
31253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31256 arg2
= (int)SWIG_As_int(obj1
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31278 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
;
31280 wxMenu
*arg1
= (wxMenu
*) 0 ;
31282 wxString
*arg3
= 0 ;
31283 bool temp3
= false ;
31284 PyObject
* obj0
= 0 ;
31285 PyObject
* obj1
= 0 ;
31286 PyObject
* obj2
= 0 ;
31287 char *kwnames
[] = {
31288 (char *) "self",(char *) "id",(char *) "helpString", NULL
31291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31294 arg2
= (int)SWIG_As_int(obj1
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 arg3
= wxString_in_helper(obj2
);
31298 if (arg3
== NULL
) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 Py_INCREF(Py_None
); resultobj
= Py_None
;
31323 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
;
31325 wxMenu
*arg1
= (wxMenu
*) 0 ;
31328 PyObject
* obj0
= 0 ;
31329 PyObject
* obj1
= 0 ;
31330 char *kwnames
[] = {
31331 (char *) "self",(char *) "id", NULL
31334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31337 arg2
= (int)SWIG_As_int(obj1
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31359 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
;
31361 wxMenu
*arg1
= (wxMenu
*) 0 ;
31362 wxString
*arg2
= 0 ;
31363 bool temp2
= false ;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self",(char *) "title", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 arg2
= wxString_in_helper(obj1
);
31375 if (arg2
== NULL
) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 (arg1
)->SetTitle((wxString
const &)*arg2
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 Py_INCREF(Py_None
); resultobj
= Py_None
;
31400 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxMenu
*arg1
= (wxMenu
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= ((wxMenu
const *)arg1
)->GetTitle();
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31432 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31433 PyObject
*resultobj
;
31434 wxMenu
*arg1
= (wxMenu
*) 0 ;
31435 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char *kwnames
[] = {
31439 (char *) "self",(char *) "handler", NULL
31442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 (arg1
)->SetEventHandler(arg2
);
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 Py_INCREF(Py_None
); resultobj
= Py_None
;
31461 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
;
31463 wxMenu
*arg1
= (wxMenu
*) 0 ;
31464 wxEvtHandler
*result
;
31465 PyObject
* obj0
= 0 ;
31466 char *kwnames
[] = {
31467 (char *) "self", NULL
31470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= wxPyMake_wxObject(result
, 0);
31489 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxMenu
*arg1
= (wxMenu
*) 0 ;
31492 wxWindow
*arg2
= (wxWindow
*) 0 ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self",(char *) "win", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 (arg1
)->SetInvokingWindow(arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 Py_INCREF(Py_None
); resultobj
= Py_None
;
31518 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31519 PyObject
*resultobj
;
31520 wxMenu
*arg1
= (wxMenu
*) 0 ;
31522 PyObject
* obj0
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "self", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= wxPyMake_wxObject(result
, 0);
31546 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
;
31548 wxMenu
*arg1
= (wxMenu
*) 0 ;
31550 PyObject
* obj0
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "self", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31560 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31565 resultobj
= SWIG_From_long((long)result
);
31572 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
;
31574 wxMenu
*arg1
= (wxMenu
*) 0 ;
31575 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31576 PyObject
* obj0
= 0 ;
31577 PyObject
* obj1
= 0 ;
31578 char *kwnames
[] = {
31579 (char *) "self",(char *) "source", NULL
31582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 (arg1
)->UpdateUI(arg2
);
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 Py_INCREF(Py_None
); resultobj
= Py_None
;
31603 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
;
31605 wxMenu
*arg1
= (wxMenu
*) 0 ;
31607 PyObject
* obj0
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "self", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= wxPyMake_wxObject(result
, 0);
31631 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
;
31633 wxMenu
*arg1
= (wxMenu
*) 0 ;
31634 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self",(char *) "menubar", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 (arg1
)->Attach(arg2
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 Py_INCREF(Py_None
); resultobj
= Py_None
;
31660 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
;
31662 wxMenu
*arg1
= (wxMenu
*) 0 ;
31663 PyObject
* obj0
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 Py_INCREF(Py_None
); resultobj
= Py_None
;
31685 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxMenu
*arg1
= (wxMenu
*) 0 ;
31689 PyObject
* obj0
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31713 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
;
31715 wxMenu
*arg1
= (wxMenu
*) 0 ;
31716 wxMenu
*arg2
= (wxMenu
*) 0 ;
31717 PyObject
* obj0
= 0 ;
31718 PyObject
* obj1
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self",(char *) "parent", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 (arg1
)->SetParent(arg2
);
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 Py_INCREF(Py_None
); resultobj
= Py_None
;
31742 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
;
31744 wxMenu
*arg1
= (wxMenu
*) 0 ;
31746 PyObject
* obj0
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31756 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31758 wxPyEndAllowThreads(__tstate
);
31759 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= wxPyMake_wxObject(result
, 0);
31770 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31773 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31775 return Py_BuildValue((char *)"");
31777 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
;
31779 long arg1
= (long) 0 ;
31781 PyObject
* obj0
= 0 ;
31782 char *kwnames
[] = {
31783 (char *) "style", NULL
31786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31788 arg1
= (long)SWIG_As_long(obj0
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31792 if (!wxPyCheckForApp()) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31806 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31809 wxMenu
*arg2
= (wxMenu
*) 0 ;
31810 wxString
*arg3
= 0 ;
31812 bool temp3
= false ;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 PyObject
* obj2
= 0 ;
31816 char *kwnames
[] = {
31817 (char *) "self",(char *) "menu",(char *) "title", NULL
31820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31826 arg3
= wxString_in_helper(obj2
);
31827 if (arg3
== NULL
) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31854 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
;
31856 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31858 wxMenu
*arg3
= (wxMenu
*) 0 ;
31859 wxString
*arg4
= 0 ;
31861 bool temp4
= false ;
31862 PyObject
* obj0
= 0 ;
31863 PyObject
* obj1
= 0 ;
31864 PyObject
* obj2
= 0 ;
31865 PyObject
* obj3
= 0 ;
31866 char *kwnames
[] = {
31867 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31873 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31875 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31878 arg4
= wxString_in_helper(obj3
);
31879 if (arg4
== NULL
) SWIG_fail
;
31883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31906 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
;
31908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31910 PyObject
* obj0
= 0 ;
31911 char *kwnames
[] = {
31912 (char *) "self", NULL
31915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31922 wxPyEndAllowThreads(__tstate
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31932 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "self",(char *) "pos", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31946 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31956 resultobj
= wxPyMake_wxObject(result
, 0);
31964 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
;
31966 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31968 wxMenu
*arg3
= (wxMenu
*) 0 ;
31969 wxString
*arg4
= 0 ;
31971 bool temp4
= false ;
31972 PyObject
* obj0
= 0 ;
31973 PyObject
* obj1
= 0 ;
31974 PyObject
* obj2
= 0 ;
31975 PyObject
* obj3
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31983 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31984 if (PyErr_Occurred()) SWIG_fail
;
31985 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31988 arg4
= wxString_in_helper(obj3
);
31989 if (arg4
== NULL
) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= wxPyMake_wxObject(result
, 0);
32016 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32017 PyObject
*resultobj
;
32018 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32021 PyObject
* obj0
= 0 ;
32022 PyObject
* obj1
= 0 ;
32023 char *kwnames
[] = {
32024 (char *) "self",(char *) "pos", NULL
32027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32030 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
32036 wxPyEndAllowThreads(__tstate
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32040 resultobj
= wxPyMake_wxObject(result
, 0);
32048 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 PyObject
* obj2
= 0 ;
32056 char *kwnames
[] = {
32057 (char *) "self",(char *) "pos",(char *) "enable", NULL
32060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32063 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32065 arg3
= (bool)SWIG_As_bool(obj2
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 (arg1
)->EnableTop(arg2
,arg3
);
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32074 Py_INCREF(Py_None
); resultobj
= Py_None
;
32081 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
;
32083 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char *kwnames
[] = {
32089 (char *) "self",(char *) "pos", NULL
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32095 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32113 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32114 PyObject
*resultobj
;
32115 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32117 wxString
*arg3
= 0 ;
32118 bool temp3
= false ;
32119 PyObject
* obj0
= 0 ;
32120 PyObject
* obj1
= 0 ;
32121 PyObject
* obj2
= 0 ;
32122 char *kwnames
[] = {
32123 (char *) "self",(char *) "pos",(char *) "label", NULL
32126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32129 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 arg3
= wxString_in_helper(obj2
);
32133 if (arg3
== NULL
) SWIG_fail
;
32137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32138 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 Py_INCREF(Py_None
); resultobj
= Py_None
;
32158 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
;
32160 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32163 PyObject
* obj0
= 0 ;
32164 PyObject
* obj1
= 0 ;
32165 char *kwnames
[] = {
32166 (char *) "self",(char *) "pos", NULL
32169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32172 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32194 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
;
32196 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32197 wxString
*arg2
= 0 ;
32198 wxString
*arg3
= 0 ;
32200 bool temp2
= false ;
32201 bool temp3
= false ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 PyObject
* obj2
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "self",(char *) "menu",(char *) "item", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32213 arg2
= wxString_in_helper(obj1
);
32214 if (arg2
== NULL
) SWIG_fail
;
32218 arg3
= wxString_in_helper(obj2
);
32219 if (arg3
== NULL
) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= SWIG_From_int((int)result
);
32252 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32253 PyObject
*resultobj
;
32254 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32256 wxMenuItem
*result
;
32257 PyObject
* obj0
= 0 ;
32258 PyObject
* obj1
= 0 ;
32259 char *kwnames
[] = {
32260 (char *) "self",(char *) "id", NULL
32263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32266 arg2
= (int)SWIG_As_int(obj1
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32270 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= wxPyMake_wxObject(result
, 0);
32284 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32287 wxString
*arg2
= 0 ;
32289 bool temp2
= false ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self",(char *) "title", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32300 arg2
= wxString_in_helper(obj1
);
32301 if (arg2
== NULL
) SWIG_fail
;
32305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32306 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32308 wxPyEndAllowThreads(__tstate
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32311 resultobj
= SWIG_From_int((int)result
);
32326 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32327 PyObject
*resultobj
;
32328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 PyObject
* obj2
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "id",(char *) "enable", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32341 arg2
= (int)SWIG_As_int(obj1
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32343 arg3
= (bool)SWIG_As_bool(obj2
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 (arg1
)->Enable(arg2
,arg3
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32352 Py_INCREF(Py_None
); resultobj
= Py_None
;
32359 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 PyObject
* obj2
= 0 ;
32367 char *kwnames
[] = {
32368 (char *) "self",(char *) "id",(char *) "check", NULL
32371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32374 arg2
= (int)SWIG_As_int(obj1
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32376 arg3
= (bool)SWIG_As_bool(obj2
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 (arg1
)->Check(arg2
,arg3
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 Py_INCREF(Py_None
); resultobj
= Py_None
;
32392 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
;
32394 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32397 PyObject
* obj0
= 0 ;
32398 PyObject
* obj1
= 0 ;
32399 char *kwnames
[] = {
32400 (char *) "self",(char *) "id", NULL
32403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32406 arg2
= (int)SWIG_As_int(obj1
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32424 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 PyObject
* obj1
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self",(char *) "id", NULL
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32438 arg2
= (int)SWIG_As_int(obj1
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32456 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
;
32458 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32460 wxString
*arg3
= 0 ;
32461 bool temp3
= false ;
32462 PyObject
* obj0
= 0 ;
32463 PyObject
* obj1
= 0 ;
32464 PyObject
* obj2
= 0 ;
32465 char *kwnames
[] = {
32466 (char *) "self",(char *) "id",(char *) "label", NULL
32469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32472 arg2
= (int)SWIG_As_int(obj1
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 arg3
= wxString_in_helper(obj2
);
32476 if (arg3
== NULL
) SWIG_fail
;
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 Py_INCREF(Py_None
); resultobj
= Py_None
;
32501 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 PyObject
* obj1
= 0 ;
32508 char *kwnames
[] = {
32509 (char *) "self",(char *) "id", NULL
32512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 arg2
= (int)SWIG_As_int(obj1
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32537 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
;
32539 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32541 wxString
*arg3
= 0 ;
32542 bool temp3
= false ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 PyObject
* obj2
= 0 ;
32546 char *kwnames
[] = {
32547 (char *) "self",(char *) "id",(char *) "helpString", NULL
32550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32553 arg2
= (int)SWIG_As_int(obj1
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 arg3
= wxString_in_helper(obj2
);
32557 if (arg3
== NULL
) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 Py_INCREF(Py_None
); resultobj
= Py_None
;
32582 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32584 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32587 PyObject
* obj0
= 0 ;
32588 PyObject
* obj1
= 0 ;
32589 char *kwnames
[] = {
32590 (char *) "self",(char *) "id", NULL
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32596 arg2
= (int)SWIG_As_int(obj1
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32618 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32619 PyObject
*resultobj
;
32620 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32622 PyObject
* obj0
= 0 ;
32623 char *kwnames
[] = {
32624 (char *) "self", NULL
32627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32638 resultobj
= wxPyMake_wxObject(result
, 0);
32646 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
;
32648 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32650 PyObject
* obj0
= 0 ;
32651 char *kwnames
[] = {
32652 (char *) "self", NULL
32655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32674 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
;
32676 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32677 wxFrame
*arg2
= (wxFrame
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 char *kwnames
[] = {
32681 (char *) "self",(char *) "frame", NULL
32684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->Attach(arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 Py_INCREF(Py_None
); resultobj
= Py_None
;
32703 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
;
32705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32706 PyObject
* obj0
= 0 ;
32707 char *kwnames
[] = {
32708 (char *) "self", NULL
32711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 Py_INCREF(Py_None
); resultobj
= Py_None
;
32728 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32731 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32733 return Py_BuildValue((char *)"");
32735 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
;
32737 wxMenu
*arg1
= (wxMenu
*) NULL
;
32738 int arg2
= (int) wxID_ANY
;
32739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32743 int arg5
= (int) wxITEM_NORMAL
;
32744 wxMenu
*arg6
= (wxMenu
*) NULL
;
32745 wxMenuItem
*result
;
32746 bool temp3
= false ;
32747 bool temp4
= false ;
32748 PyObject
* obj0
= 0 ;
32749 PyObject
* obj1
= 0 ;
32750 PyObject
* obj2
= 0 ;
32751 PyObject
* obj3
= 0 ;
32752 PyObject
* obj4
= 0 ;
32753 PyObject
* obj5
= 0 ;
32754 char *kwnames
[] = {
32755 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32764 arg2
= (int)SWIG_As_int(obj1
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32769 arg3
= wxString_in_helper(obj2
);
32770 if (arg3
== NULL
) SWIG_fail
;
32776 arg4
= wxString_in_helper(obj3
);
32777 if (arg4
== NULL
) SWIG_fail
;
32782 arg5
= (int)SWIG_As_int(obj4
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32786 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 resultobj
= wxPyMake_wxObject(result
, 1);
32821 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32822 PyObject
*resultobj
;
32823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32825 PyObject
* obj0
= 0 ;
32826 char *kwnames
[] = {
32827 (char *) "self", NULL
32830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= wxPyMake_wxObject(result
, 0);
32849 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32850 PyObject
*resultobj
;
32851 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32852 wxMenu
*arg2
= (wxMenu
*) 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char *kwnames
[] = {
32856 (char *) "self",(char *) "menu", NULL
32859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 (arg1
)->SetMenu(arg2
);
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 Py_INCREF(Py_None
); resultobj
= Py_None
;
32878 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32879 PyObject
*resultobj
;
32880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self",(char *) "id", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32891 arg2
= (int)SWIG_As_int(obj1
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 (arg1
)->SetId(arg2
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 Py_INCREF(Py_None
); resultobj
= Py_None
;
32907 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
;
32909 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= SWIG_From_int((int)result
);
32933 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32937 PyObject
* obj0
= 0 ;
32938 char *kwnames
[] = {
32939 (char *) "self", NULL
32942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32961 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
;
32963 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32964 wxString
*arg2
= 0 ;
32965 bool temp2
= false ;
32966 PyObject
* obj0
= 0 ;
32967 PyObject
* obj1
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "self",(char *) "str", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32976 arg2
= wxString_in_helper(obj1
);
32977 if (arg2
== NULL
) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->SetText((wxString
const &)*arg2
);
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 Py_INCREF(Py_None
); resultobj
= Py_None
;
33002 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
;
33004 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33006 PyObject
* obj0
= 0 ;
33007 char *kwnames
[] = {
33008 (char *) "self", NULL
33011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
33012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
33018 wxPyEndAllowThreads(__tstate
);
33019 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33034 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
;
33036 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33038 PyObject
* obj0
= 0 ;
33039 char *kwnames
[] = {
33040 (char *) "self", NULL
33043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
33044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
33050 result
= (wxString
*) &_result_ref
;
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33069 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33070 PyObject
*resultobj
;
33071 wxString
*arg1
= 0 ;
33073 bool temp1
= false ;
33074 PyObject
* obj0
= 0 ;
33075 char *kwnames
[] = {
33076 (char *) "text", NULL
33079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33081 arg1
= wxString_in_helper(obj0
);
33082 if (arg1
== NULL
) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33113 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
;
33115 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33117 PyObject
* obj0
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "self", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_From_int((int)result
);
33139 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
;
33141 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33143 PyObject
* obj0
= 0 ;
33144 PyObject
* obj1
= 0 ;
33145 char *kwnames
[] = {
33146 (char *) "self",(char *) "kind", NULL
33149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33152 arg2
= (int)SWIG_As_int(obj1
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 (arg1
)->SetKind((wxItemKind
)arg2
);
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 Py_INCREF(Py_None
); resultobj
= Py_None
;
33168 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33169 PyObject
*resultobj
;
33170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33172 PyObject
* obj0
= 0 ;
33173 PyObject
* obj1
= 0 ;
33174 char *kwnames
[] = {
33175 (char *) "self",(char *) "checkable", NULL
33178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33181 arg2
= (bool)SWIG_As_bool(obj1
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 (arg1
)->SetCheckable(arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 Py_INCREF(Py_None
); resultobj
= Py_None
;
33197 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33201 PyObject
* obj0
= 0 ;
33202 char *kwnames
[] = {
33203 (char *) "self", NULL
33206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33225 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33226 PyObject
*resultobj
;
33227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33229 PyObject
* obj0
= 0 ;
33230 char *kwnames
[] = {
33231 (char *) "self", NULL
33234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33241 wxPyEndAllowThreads(__tstate
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33253 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
;
33255 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33256 wxMenu
*arg2
= (wxMenu
*) 0 ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 char *kwnames
[] = {
33260 (char *) "self",(char *) "menu", NULL
33263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 (arg1
)->SetSubMenu(arg2
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 Py_INCREF(Py_None
); resultobj
= Py_None
;
33282 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33286 PyObject
* obj0
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= wxPyMake_wxObject(result
, 0);
33310 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
;
33312 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33313 bool arg2
= (bool) true ;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char *kwnames
[] = {
33317 (char *) "self",(char *) "enable", NULL
33320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33324 arg2
= (bool)SWIG_As_bool(obj1
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->Enable(arg2
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33334 Py_INCREF(Py_None
); resultobj
= Py_None
;
33341 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
;
33343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33345 PyObject
* obj0
= 0 ;
33346 char *kwnames
[] = {
33347 (char *) "self", NULL
33350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33369 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33370 PyObject
*resultobj
;
33371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33372 bool arg2
= (bool) true ;
33373 PyObject
* obj0
= 0 ;
33374 PyObject
* obj1
= 0 ;
33375 char *kwnames
[] = {
33376 (char *) "self",(char *) "check", NULL
33379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33383 arg2
= (bool)SWIG_As_bool(obj1
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 (arg1
)->Check(arg2
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33393 Py_INCREF(Py_None
); resultobj
= Py_None
;
33400 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33404 PyObject
* obj0
= 0 ;
33405 char *kwnames
[] = {
33406 (char *) "self", NULL
33409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33428 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33431 PyObject
* obj0
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "self", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 wxPyEndAllowThreads(__tstate
);
33444 if (PyErr_Occurred()) SWIG_fail
;
33446 Py_INCREF(Py_None
); resultobj
= Py_None
;
33453 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33454 PyObject
*resultobj
;
33455 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33456 wxString
*arg2
= 0 ;
33457 bool temp2
= false ;
33458 PyObject
* obj0
= 0 ;
33459 PyObject
* obj1
= 0 ;
33460 char *kwnames
[] = {
33461 (char *) "self",(char *) "str", NULL
33464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33468 arg2
= wxString_in_helper(obj1
);
33469 if (arg2
== NULL
) SWIG_fail
;
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 (arg1
)->SetHelp((wxString
const &)*arg2
);
33476 wxPyEndAllowThreads(__tstate
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33479 Py_INCREF(Py_None
); resultobj
= Py_None
;
33494 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
;
33496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33510 result
= (wxString
*) &_result_ref
;
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33529 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
;
33531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33532 wxAcceleratorEntry
*result
;
33533 PyObject
* obj0
= 0 ;
33534 char *kwnames
[] = {
33535 (char *) "self", NULL
33538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33555 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33556 PyObject
*resultobj
;
33557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33558 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33559 PyObject
* obj0
= 0 ;
33560 PyObject
* obj1
= 0 ;
33561 char *kwnames
[] = {
33562 (char *) "self",(char *) "accel", NULL
33565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 (arg1
)->SetAccel(arg2
);
33574 wxPyEndAllowThreads(__tstate
);
33575 if (PyErr_Occurred()) SWIG_fail
;
33577 Py_INCREF(Py_None
); resultobj
= Py_None
;
33584 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33585 PyObject
*resultobj
;
33586 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 char *kwnames
[] = {
33591 (char *) "self",(char *) "font", NULL
33594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33600 if (arg2
== NULL
) {
33601 PyErr_SetString(PyExc_TypeError
,"null reference");
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->SetFont((wxFont
const &)*arg2
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 Py_INCREF(Py_None
); resultobj
= Py_None
;
33618 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
;
33620 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (arg1
)->GetFont();
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33638 wxFont
* resultptr
;
33639 resultptr
= new wxFont((wxFont
&) result
);
33640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33648 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33649 PyObject
*resultobj
;
33650 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33651 wxColour
*arg2
= 0 ;
33653 PyObject
* obj0
= 0 ;
33654 PyObject
* obj1
= 0 ;
33655 char *kwnames
[] = {
33656 (char *) "self",(char *) "colText", NULL
33659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33664 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33673 Py_INCREF(Py_None
); resultobj
= Py_None
;
33680 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
;
33682 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33684 PyObject
* obj0
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "self", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (arg1
)->GetTextColour();
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33700 wxColour
* resultptr
;
33701 resultptr
= new wxColour((wxColour
&) result
);
33702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33710 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
;
33712 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33713 wxColour
*arg2
= 0 ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33717 char *kwnames
[] = {
33718 (char *) "self",(char *) "colBack", NULL
33721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 Py_INCREF(Py_None
); resultobj
= Py_None
;
33742 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33743 PyObject
*resultobj
;
33744 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33746 PyObject
* obj0
= 0 ;
33747 char *kwnames
[] = {
33748 (char *) "self", NULL
33751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 result
= (arg1
)->GetBackgroundColour();
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33762 wxColour
* resultptr
;
33763 resultptr
= new wxColour((wxColour
&) result
);
33764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33772 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
;
33774 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33775 wxBitmap
*arg2
= 0 ;
33776 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33777 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 PyObject
* obj2
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33791 if (arg2
== NULL
) {
33792 PyErr_SetString(PyExc_TypeError
,"null reference");
33796 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33799 if (arg3
== NULL
) {
33800 PyErr_SetString(PyExc_TypeError
,"null reference");
33805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33806 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33808 wxPyEndAllowThreads(__tstate
);
33809 if (PyErr_Occurred()) SWIG_fail
;
33811 Py_INCREF(Py_None
); resultobj
= Py_None
;
33818 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33819 PyObject
*resultobj
;
33820 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33821 wxBitmap
*arg2
= 0 ;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 char *kwnames
[] = {
33825 (char *) "self",(char *) "bmpDisabled", NULL
33828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33834 if (arg2
== NULL
) {
33835 PyErr_SetString(PyExc_TypeError
,"null reference");
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 Py_INCREF(Py_None
); resultobj
= Py_None
;
33852 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33853 PyObject
*resultobj
;
33854 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33856 PyObject
* obj0
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33867 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33868 result
= (wxBitmap
*) &_result_ref
;
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33875 wxBitmap
* resultptr
= new wxBitmap(*result
);
33876 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33884 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33888 PyObject
* obj0
= 0 ;
33889 PyObject
* obj1
= 0 ;
33890 char *kwnames
[] = {
33891 (char *) "self",(char *) "nWidth", NULL
33894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33897 arg2
= (int)SWIG_As_int(obj1
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 (arg1
)->SetMarginWidth(arg2
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 Py_INCREF(Py_None
); resultobj
= Py_None
;
33913 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 char *kwnames
[] = {
33919 (char *) "self", NULL
33922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 result
= (int)(arg1
)->GetMarginWidth();
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 resultobj
= SWIG_From_int((int)result
);
33939 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
;
33942 char *kwnames
[] = {
33946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= SWIG_From_int((int)result
);
33961 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33965 PyObject
* obj0
= 0 ;
33966 char *kwnames
[] = {
33967 (char *) "self", NULL
33970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= (bool)(arg1
)->IsOwnerDrawn();
33977 wxPyEndAllowThreads(__tstate
);
33978 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33989 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33990 PyObject
*resultobj
;
33991 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33992 bool arg2
= (bool) true ;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33995 char *kwnames
[] = {
33996 (char *) "self",(char *) "ownerDrawn", NULL
33999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
34000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34003 arg2
= (bool)SWIG_As_bool(obj1
);
34004 if (PyErr_Occurred()) SWIG_fail
;
34007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 (arg1
)->SetOwnerDrawn(arg2
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 Py_INCREF(Py_None
); resultobj
= Py_None
;
34020 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
;
34022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 char *kwnames
[] = {
34025 (char *) "self", NULL
34028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
34029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 (arg1
)->ResetOwnerDrawn();
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 Py_INCREF(Py_None
); resultobj
= Py_None
;
34045 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
;
34047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34048 wxBitmap
*arg2
= 0 ;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 char *kwnames
[] = {
34052 (char *) "self",(char *) "bitmap", NULL
34055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
34059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34061 if (arg2
== NULL
) {
34062 PyErr_SetString(PyExc_TypeError
,"null reference");
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 Py_INCREF(Py_None
); resultobj
= Py_None
;
34079 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
;
34081 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34083 PyObject
* obj0
= 0 ;
34084 char *kwnames
[] = {
34085 (char *) "self", NULL
34088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
34089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
34095 result
= (wxBitmap
*) &_result_ref
;
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 wxBitmap
* resultptr
= new wxBitmap(*result
);
34103 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
34111 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
34113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34114 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
34116 return Py_BuildValue((char *)"");
34118 static int _wrap_ControlNameStr_set(PyObject
*) {
34119 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
34124 static PyObject
*_wrap_ControlNameStr_get() {
34129 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34131 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34138 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
;
34140 wxWindow
*arg1
= (wxWindow
*) 0 ;
34141 int arg2
= (int) -1 ;
34142 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34143 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34144 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34145 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34146 long arg5
= (long) 0 ;
34147 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34148 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34149 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
34150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34154 bool temp7
= false ;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 PyObject
* obj2
= 0 ;
34158 PyObject
* obj3
= 0 ;
34159 PyObject
* obj4
= 0 ;
34160 PyObject
* obj5
= 0 ;
34161 PyObject
* obj6
= 0 ;
34162 char *kwnames
[] = {
34163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34170 arg2
= (int)SWIG_As_int(obj1
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34182 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34186 arg5
= (long)SWIG_As_long(obj4
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34193 if (arg6
== NULL
) {
34194 PyErr_SetString(PyExc_TypeError
,"null reference");
34200 arg7
= wxString_in_helper(obj6
);
34201 if (arg7
== NULL
) SWIG_fail
;
34206 if (!wxPyCheckForApp()) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34228 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34229 PyObject
*resultobj
;
34231 char *kwnames
[] = {
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34237 if (!wxPyCheckForApp()) SWIG_fail
;
34238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34239 result
= (wxControl
*)new wxControl();
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34251 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
;
34253 wxControl
*arg1
= (wxControl
*) 0 ;
34254 wxWindow
*arg2
= (wxWindow
*) 0 ;
34255 int arg3
= (int) -1 ;
34256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34260 long arg6
= (long) 0 ;
34261 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34262 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34263 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34264 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34268 bool temp8
= false ;
34269 PyObject
* obj0
= 0 ;
34270 PyObject
* obj1
= 0 ;
34271 PyObject
* obj2
= 0 ;
34272 PyObject
* obj3
= 0 ;
34273 PyObject
* obj4
= 0 ;
34274 PyObject
* obj5
= 0 ;
34275 PyObject
* obj6
= 0 ;
34276 PyObject
* obj7
= 0 ;
34277 char *kwnames
[] = {
34278 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34287 arg3
= (int)SWIG_As_int(obj2
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34303 arg6
= (long)SWIG_As_long(obj5
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34307 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34310 if (arg7
== NULL
) {
34311 PyErr_SetString(PyExc_TypeError
,"null reference");
34317 arg8
= wxString_in_helper(obj7
);
34318 if (arg8
== NULL
) SWIG_fail
;
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34346 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34347 PyObject
*resultobj
;
34348 wxControl
*arg1
= (wxControl
*) 0 ;
34349 wxCommandEvent
*arg2
= 0 ;
34350 PyObject
* obj0
= 0 ;
34351 PyObject
* obj1
= 0 ;
34352 char *kwnames
[] = {
34353 (char *) "self",(char *) "event", NULL
34356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34362 if (arg2
== NULL
) {
34363 PyErr_SetString(PyExc_TypeError
,"null reference");
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34368 (arg1
)->Command(*arg2
);
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 Py_INCREF(Py_None
); resultobj
= Py_None
;
34380 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
;
34382 wxControl
*arg1
= (wxControl
*) 0 ;
34384 PyObject
* obj0
= 0 ;
34385 char *kwnames
[] = {
34386 (char *) "self", NULL
34389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 result
= (arg1
)->GetLabel();
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34412 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
;
34414 wxControl
*arg1
= (wxControl
*) 0 ;
34415 wxString
*arg2
= 0 ;
34416 bool temp2
= false ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "self",(char *) "label", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34427 arg2
= wxString_in_helper(obj1
);
34428 if (arg2
== NULL
) SWIG_fail
;
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 (arg1
)->SetLabel((wxString
const &)*arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 Py_INCREF(Py_None
); resultobj
= Py_None
;
34453 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
;
34455 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34456 wxVisualAttributes result
;
34457 PyObject
* obj0
= 0 ;
34458 char *kwnames
[] = {
34459 (char *) "variant", NULL
34462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34464 arg1
= (int)SWIG_As_int(obj0
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 if (!wxPyCheckForApp()) SWIG_fail
;
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34472 wxPyEndAllowThreads(__tstate
);
34473 if (PyErr_Occurred()) SWIG_fail
;
34476 wxVisualAttributes
* resultptr
;
34477 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34486 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34489 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34491 return Py_BuildValue((char *)"");
34493 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34494 PyObject
*resultobj
;
34495 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34496 wxString
*arg2
= 0 ;
34497 PyObject
*arg3
= (PyObject
*) NULL
;
34499 bool temp2
= false ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 PyObject
* obj2
= 0 ;
34503 char *kwnames
[] = {
34504 (char *) "self",(char *) "item",(char *) "clientData", NULL
34507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34511 arg2
= wxString_in_helper(obj1
);
34512 if (arg2
== NULL
) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34525 resultobj
= SWIG_From_int((int)result
);
34540 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34543 wxArrayString
*arg2
= 0 ;
34544 bool temp2
= false ;
34545 PyObject
* obj0
= 0 ;
34546 PyObject
* obj1
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self",(char *) "strings", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34555 if (! PySequence_Check(obj1
)) {
34556 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34559 arg2
= new wxArrayString
;
34561 int i
, len
=PySequence_Length(obj1
);
34562 for (i
=0; i
<len
; i
++) {
34563 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34565 PyObject
* str
= PyObject_Unicode(item
);
34567 PyObject
* str
= PyObject_Str(item
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34570 arg2
->Add(Py2wxString(str
));
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 (arg1
)->Append((wxArrayString
const &)*arg2
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 Py_INCREF(Py_None
); resultobj
= Py_None
;
34584 if (temp2
) delete arg2
;
34589 if (temp2
) delete arg2
;
34595 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34596 PyObject
*resultobj
;
34597 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34598 wxString
*arg2
= 0 ;
34600 PyObject
*arg4
= (PyObject
*) NULL
;
34602 bool temp2
= false ;
34603 PyObject
* obj0
= 0 ;
34604 PyObject
* obj1
= 0 ;
34605 PyObject
* obj2
= 0 ;
34606 PyObject
* obj3
= 0 ;
34607 char *kwnames
[] = {
34608 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34615 arg2
= wxString_in_helper(obj1
);
34616 if (arg2
== NULL
) SWIG_fail
;
34619 arg3
= (int)SWIG_As_int(obj2
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 resultobj
= SWIG_From_int((int)result
);
34646 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
;
34648 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34649 PyObject
* obj0
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 char *kwnames
[] = {
34678 (char *) "self",(char *) "n", NULL
34681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 arg2
= (int)SWIG_As_int(obj1
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 (arg1
)->Delete(arg2
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 Py_INCREF(Py_None
); resultobj
= Py_None
;
34700 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
;
34702 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34704 PyObject
* obj0
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= SWIG_From_int((int)result
);
34726 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34754 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34759 PyObject
* obj0
= 0 ;
34760 PyObject
* obj1
= 0 ;
34761 char *kwnames
[] = {
34762 (char *) "self",(char *) "n", NULL
34765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34768 arg2
= (int)SWIG_As_int(obj1
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34790 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
;
34792 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34793 wxArrayString result
;
34794 PyObject
* obj0
= 0 ;
34795 char *kwnames
[] = {
34796 (char *) "self", NULL
34799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34806 wxPyEndAllowThreads(__tstate
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34810 resultobj
= wxArrayString2PyList_helper(result
);
34818 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
;
34820 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34822 wxString
*arg3
= 0 ;
34823 bool temp3
= false ;
34824 PyObject
* obj0
= 0 ;
34825 PyObject
* obj1
= 0 ;
34826 PyObject
* obj2
= 0 ;
34827 char *kwnames
[] = {
34828 (char *) "self",(char *) "n",(char *) "s", NULL
34831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34834 arg2
= (int)SWIG_As_int(obj1
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 arg3
= wxString_in_helper(obj2
);
34838 if (arg3
== NULL
) SWIG_fail
;
34842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34843 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34848 Py_INCREF(Py_None
); resultobj
= Py_None
;
34863 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
;
34865 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34866 wxString
*arg2
= 0 ;
34868 bool temp2
= false ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 char *kwnames
[] = {
34872 (char *) "self",(char *) "s", NULL
34875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34879 arg2
= wxString_in_helper(obj1
);
34880 if (arg2
== NULL
) SWIG_fail
;
34884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34885 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34890 resultobj
= SWIG_From_int((int)result
);
34905 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
;
34907 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 char *kwnames
[] = {
34912 (char *) "self",(char *) "n", NULL
34915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34918 arg2
= (int)SWIG_As_int(obj1
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->Select(arg2
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 Py_INCREF(Py_None
); resultobj
= Py_None
;
34934 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34935 PyObject
*resultobj
;
34936 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34938 PyObject
* obj0
= 0 ;
34939 char *kwnames
[] = {
34940 (char *) "self", NULL
34943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_From_int((int)result
);
34960 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34961 PyObject
*resultobj
;
34962 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34964 PyObject
* obj0
= 0 ;
34965 char *kwnames
[] = {
34966 (char *) "self", NULL
34969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34974 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34992 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
;
34994 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34997 PyObject
* obj0
= 0 ;
34998 PyObject
* obj1
= 0 ;
34999 char *kwnames
[] = {
35000 (char *) "self",(char *) "n", NULL
35003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
35004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35006 arg2
= (int)SWIG_As_int(obj1
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= result
;
35022 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
;
35024 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
35026 PyObject
*arg3
= (PyObject
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 PyObject
* obj1
= 0 ;
35029 PyObject
* obj2
= 0 ;
35030 char *kwnames
[] = {
35031 (char *) "self",(char *) "n",(char *) "clientData", NULL
35034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
35036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35037 arg2
= (int)SWIG_As_int(obj1
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 Py_INCREF(Py_None
); resultobj
= Py_None
;
35054 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
35056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35057 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
35059 return Py_BuildValue((char *)"");
35061 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
35063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35064 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
35066 return Py_BuildValue((char *)"");
35068 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
;
35070 wxSizerItem
*result
;
35071 char *kwnames
[] = {
35075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 result
= (wxSizerItem
*)new wxSizerItem();
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35090 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
;
35092 wxWindow
*arg1
= (wxWindow
*) 0 ;
35096 PyObject
*arg5
= (PyObject
*) NULL
;
35097 wxSizerItem
*result
;
35098 PyObject
* obj0
= 0 ;
35099 PyObject
* obj1
= 0 ;
35100 PyObject
* obj2
= 0 ;
35101 PyObject
* obj3
= 0 ;
35102 PyObject
* obj4
= 0 ;
35103 char *kwnames
[] = {
35104 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35110 arg2
= (int)SWIG_As_int(obj1
);
35111 if (PyErr_Occurred()) SWIG_fail
;
35112 arg3
= (int)SWIG_As_int(obj2
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35114 arg4
= (int)SWIG_As_int(obj3
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35133 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
;
35140 PyObject
*arg6
= (PyObject
*) NULL
;
35141 wxSizerItem
*result
;
35142 PyObject
* obj0
= 0 ;
35143 PyObject
* obj1
= 0 ;
35144 PyObject
* obj2
= 0 ;
35145 PyObject
* obj3
= 0 ;
35146 PyObject
* obj4
= 0 ;
35147 PyObject
* obj5
= 0 ;
35148 char *kwnames
[] = {
35149 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35153 arg1
= (int)SWIG_As_int(obj0
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35155 arg2
= (int)SWIG_As_int(obj1
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35157 arg3
= (int)SWIG_As_int(obj2
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35159 arg4
= (int)SWIG_As_int(obj3
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35161 arg5
= (int)SWIG_As_int(obj4
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35180 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxSizer
*arg1
= (wxSizer
*) 0 ;
35186 PyObject
*arg5
= (PyObject
*) NULL
;
35187 wxSizerItem
*result
;
35188 PyObject
* obj0
= 0 ;
35189 PyObject
* obj1
= 0 ;
35190 PyObject
* obj2
= 0 ;
35191 PyObject
* obj3
= 0 ;
35192 PyObject
* obj4
= 0 ;
35193 char *kwnames
[] = {
35194 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35200 arg2
= (int)SWIG_As_int(obj1
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35202 arg3
= (int)SWIG_As_int(obj2
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35204 arg4
= (int)SWIG_As_int(obj3
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35223 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35226 PyObject
* obj0
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 (arg1
)->DeleteWindows();
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 Py_INCREF(Py_None
); resultobj
= Py_None
;
35248 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
;
35250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35251 PyObject
* obj0
= 0 ;
35252 char *kwnames
[] = {
35253 (char *) "self", NULL
35256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35261 (arg1
)->DetachSizer();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35266 Py_INCREF(Py_None
); resultobj
= Py_None
;
35273 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35274 PyObject
*resultobj
;
35275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35277 PyObject
* obj0
= 0 ;
35278 char *kwnames
[] = {
35279 (char *) "self", NULL
35282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35287 result
= (arg1
)->GetSize();
35289 wxPyEndAllowThreads(__tstate
);
35290 if (PyErr_Occurred()) SWIG_fail
;
35293 wxSize
* resultptr
;
35294 resultptr
= new wxSize((wxSize
&) result
);
35295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35303 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35307 PyObject
* obj0
= 0 ;
35308 char *kwnames
[] = {
35309 (char *) "self", NULL
35312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 result
= (arg1
)->CalcMin();
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35323 wxSize
* resultptr
;
35324 resultptr
= new wxSize((wxSize
&) result
);
35325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35333 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
;
35335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35340 PyObject
* obj0
= 0 ;
35341 PyObject
* obj1
= 0 ;
35342 PyObject
* obj2
= 0 ;
35343 char *kwnames
[] = {
35344 (char *) "self",(char *) "pos",(char *) "size", NULL
35347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35350 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35351 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35353 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35354 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 (arg1
)->SetDimension(arg2
,arg3
);
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 Py_INCREF(Py_None
); resultobj
= Py_None
;
35370 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35371 PyObject
*resultobj
;
35372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35374 PyObject
* obj0
= 0 ;
35375 char *kwnames
[] = {
35376 (char *) "self", NULL
35379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35384 result
= (arg1
)->GetMinSize();
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35390 wxSize
* resultptr
;
35391 resultptr
= new wxSize((wxSize
&) result
);
35392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35400 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35401 PyObject
*resultobj
;
35402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35404 PyObject
* obj0
= 0 ;
35405 char *kwnames
[] = {
35406 (char *) "self", NULL
35409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35414 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35420 wxSize
* resultptr
;
35421 resultptr
= new wxSize((wxSize
&) result
);
35422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35430 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
;
35432 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35435 PyObject
* obj0
= 0 ;
35436 PyObject
* obj1
= 0 ;
35437 PyObject
* obj2
= 0 ;
35438 char *kwnames
[] = {
35439 (char *) "self",(char *) "x",(char *) "y", NULL
35442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35445 arg2
= (int)SWIG_As_int(obj1
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35447 arg3
= (int)SWIG_As_int(obj2
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35451 (arg1
)->SetInitSize(arg2
,arg3
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 Py_INCREF(Py_None
); resultobj
= Py_None
;
35463 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
;
35465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35468 PyObject
* obj0
= 0 ;
35469 PyObject
* obj1
= 0 ;
35470 PyObject
* obj2
= 0 ;
35471 char *kwnames
[] = {
35472 (char *) "self",(char *) "width",(char *) "height", NULL
35475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35478 arg2
= (int)SWIG_As_int(obj1
);
35479 if (PyErr_Occurred()) SWIG_fail
;
35480 arg3
= (int)SWIG_As_int(obj2
);
35481 if (PyErr_Occurred()) SWIG_fail
;
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 (arg1
)->SetRatio(arg2
,arg3
);
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35489 Py_INCREF(Py_None
); resultobj
= Py_None
;
35496 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35497 PyObject
*resultobj
;
35498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35501 PyObject
* obj0
= 0 ;
35502 PyObject
* obj1
= 0 ;
35503 char *kwnames
[] = {
35504 (char *) "self",(char *) "size", NULL
35507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35510 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35511 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->SetRatio(arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 Py_INCREF(Py_None
); resultobj
= Py_None
;
35527 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char *kwnames
[] = {
35534 (char *) "self",(char *) "ratio", NULL
35537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 arg2
= (float)SWIG_As_float(obj1
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 (arg1
)->SetRatio(arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 Py_INCREF(Py_None
); resultobj
= Py_None
;
35556 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35557 PyObject
*resultobj
;
35558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35560 PyObject
* obj0
= 0 ;
35561 char *kwnames
[] = {
35562 (char *) "self", NULL
35565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35570 result
= (float)(arg1
)->GetRatio();
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_From_float((float)result
);
35582 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35583 PyObject
*resultobj
;
35584 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35586 PyObject
* obj0
= 0 ;
35587 char *kwnames
[] = {
35588 (char *) "self", NULL
35591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 result
= (arg1
)->GetRect();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35602 wxRect
* resultptr
;
35603 resultptr
= new wxRect((wxRect
&) result
);
35604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35612 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
;
35614 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35616 PyObject
* obj0
= 0 ;
35617 char *kwnames
[] = {
35618 (char *) "self", NULL
35621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (bool)(arg1
)->IsWindow();
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35640 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35644 PyObject
* obj0
= 0 ;
35645 char *kwnames
[] = {
35646 (char *) "self", NULL
35649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35654 result
= (bool)(arg1
)->IsSizer();
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35668 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
;
35670 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35672 PyObject
* obj0
= 0 ;
35673 char *kwnames
[] = {
35674 (char *) "self", NULL
35677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35682 result
= (bool)(arg1
)->IsSpacer();
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35696 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35697 PyObject
*resultobj
;
35698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 char *kwnames
[] = {
35703 (char *) "self",(char *) "proportion", NULL
35706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35709 arg2
= (int)SWIG_As_int(obj1
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->SetProportion(arg2
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 Py_INCREF(Py_None
); resultobj
= Py_None
;
35725 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
;
35727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35729 PyObject
* obj0
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (int)(arg1
)->GetProportion();
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_From_int((int)result
);
35751 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35755 PyObject
* obj0
= 0 ;
35756 PyObject
* obj1
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "self",(char *) "flag", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 arg2
= (int)SWIG_As_int(obj1
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->SetFlag(arg2
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35780 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
;
35782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 char *kwnames
[] = {
35786 (char *) "self", NULL
35789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 result
= (int)(arg1
)->GetFlag();
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_From_int((int)result
);
35806 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35810 PyObject
* obj0
= 0 ;
35811 PyObject
* obj1
= 0 ;
35812 char *kwnames
[] = {
35813 (char *) "self",(char *) "border", NULL
35816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35819 arg2
= (int)SWIG_As_int(obj1
);
35820 if (PyErr_Occurred()) SWIG_fail
;
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 (arg1
)->SetBorder(arg2
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35828 Py_INCREF(Py_None
); resultobj
= Py_None
;
35835 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35836 PyObject
*resultobj
;
35837 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35839 PyObject
* obj0
= 0 ;
35840 char *kwnames
[] = {
35841 (char *) "self", NULL
35844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= (int)(arg1
)->GetBorder();
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_From_int((int)result
);
35861 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35865 PyObject
* obj0
= 0 ;
35866 char *kwnames
[] = {
35867 (char *) "self", NULL
35870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (wxWindow
*)(arg1
)->GetWindow();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= wxPyMake_wxObject(result
, 0);
35889 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35892 wxWindow
*arg2
= (wxWindow
*) 0 ;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char *kwnames
[] = {
35896 (char *) "self",(char *) "window", NULL
35899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 (arg1
)->SetWindow(arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 Py_INCREF(Py_None
); resultobj
= Py_None
;
35918 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
;
35920 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35922 PyObject
* obj0
= 0 ;
35923 char *kwnames
[] = {
35924 (char *) "self", NULL
35927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (wxSizer
*)(arg1
)->GetSizer();
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35938 resultobj
= wxPyMake_wxSizer(result
, 0);
35946 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
;
35948 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35949 wxSizer
*arg2
= (wxSizer
*) 0 ;
35950 PyObject
* obj0
= 0 ;
35951 PyObject
* obj1
= 0 ;
35952 char *kwnames
[] = {
35953 (char *) "self",(char *) "sizer", NULL
35956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35963 (arg1
)->SetSizer(arg2
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35968 Py_INCREF(Py_None
); resultobj
= Py_None
;
35975 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
;
35977 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35979 PyObject
* obj0
= 0 ;
35980 char *kwnames
[] = {
35981 (char *) "self", NULL
35984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35991 result
= (wxSize
*) &_result_ref
;
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
36004 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
;
36006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36009 PyObject
* obj0
= 0 ;
36010 PyObject
* obj1
= 0 ;
36011 char *kwnames
[] = {
36012 (char *) "self",(char *) "size", NULL
36015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
36016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 Py_INCREF(Py_None
); resultobj
= Py_None
;
36036 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36037 PyObject
*resultobj
;
36038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 char *kwnames
[] = {
36043 (char *) "self",(char *) "show", NULL
36046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
36047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36049 arg2
= (bool)SWIG_As_bool(obj1
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36053 (arg1
)->Show(arg2
);
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36058 Py_INCREF(Py_None
); resultobj
= Py_None
;
36065 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
;
36067 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36069 PyObject
* obj0
= 0 ;
36070 char *kwnames
[] = {
36071 (char *) "self", NULL
36074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
36075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 result
= (bool)(arg1
)->IsShown();
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36093 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36094 PyObject
*resultobj
;
36095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36097 PyObject
* obj0
= 0 ;
36098 char *kwnames
[] = {
36099 (char *) "self", NULL
36102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
36103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 result
= (arg1
)->GetPosition();
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36113 wxPoint
* resultptr
;
36114 resultptr
= new wxPoint((wxPoint
&) result
);
36115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36123 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
;
36125 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36127 PyObject
* obj0
= 0 ;
36128 char *kwnames
[] = {
36129 (char *) "self", NULL
36132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
36133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36137 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
36139 wxPyEndAllowThreads(__tstate
);
36140 if (PyErr_Occurred()) SWIG_fail
;
36142 resultobj
= result
;
36149 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
36151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36152 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
36154 return Py_BuildValue((char *)"");
36156 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxSizer
*arg1
= (wxSizer
*) 0 ;
36159 PyObject
*arg2
= (PyObject
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 PyObject
* obj1
= 0 ;
36162 char *kwnames
[] = {
36163 (char *) "self",(char *) "_self", NULL
36166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
36167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 wxSizer__setOORInfo(arg1
,arg2
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 Py_INCREF(Py_None
); resultobj
= Py_None
;
36184 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxSizer
*arg1
= (wxSizer
*) 0 ;
36187 PyObject
*arg2
= (PyObject
*) 0 ;
36188 int arg3
= (int) 0 ;
36189 int arg4
= (int) 0 ;
36190 int arg5
= (int) 0 ;
36191 PyObject
*arg6
= (PyObject
*) NULL
;
36192 wxSizerItem
*result
;
36193 PyObject
* obj0
= 0 ;
36194 PyObject
* obj1
= 0 ;
36195 PyObject
* obj2
= 0 ;
36196 PyObject
* obj3
= 0 ;
36197 PyObject
* obj4
= 0 ;
36198 PyObject
* obj5
= 0 ;
36199 char *kwnames
[] = {
36200 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36208 arg3
= (int)SWIG_As_int(obj2
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36212 arg4
= (int)SWIG_As_int(obj3
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36216 arg5
= (int)SWIG_As_int(obj4
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36236 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
;
36238 wxSizer
*arg1
= (wxSizer
*) 0 ;
36240 PyObject
*arg3
= (PyObject
*) 0 ;
36241 int arg4
= (int) 0 ;
36242 int arg5
= (int) 0 ;
36243 int arg6
= (int) 0 ;
36244 PyObject
*arg7
= (PyObject
*) NULL
;
36245 wxSizerItem
*result
;
36246 PyObject
* obj0
= 0 ;
36247 PyObject
* obj1
= 0 ;
36248 PyObject
* obj2
= 0 ;
36249 PyObject
* obj3
= 0 ;
36250 PyObject
* obj4
= 0 ;
36251 PyObject
* obj5
= 0 ;
36252 PyObject
* obj6
= 0 ;
36253 char *kwnames
[] = {
36254 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36260 arg2
= (int)SWIG_As_int(obj1
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36264 arg4
= (int)SWIG_As_int(obj3
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36268 arg5
= (int)SWIG_As_int(obj4
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36272 arg6
= (int)SWIG_As_int(obj5
);
36273 if (PyErr_Occurred()) SWIG_fail
;
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36292 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxSizer
*arg1
= (wxSizer
*) 0 ;
36295 PyObject
*arg2
= (PyObject
*) 0 ;
36296 int arg3
= (int) 0 ;
36297 int arg4
= (int) 0 ;
36298 int arg5
= (int) 0 ;
36299 PyObject
*arg6
= (PyObject
*) NULL
;
36300 wxSizerItem
*result
;
36301 PyObject
* obj0
= 0 ;
36302 PyObject
* obj1
= 0 ;
36303 PyObject
* obj2
= 0 ;
36304 PyObject
* obj3
= 0 ;
36305 PyObject
* obj4
= 0 ;
36306 PyObject
* obj5
= 0 ;
36307 char *kwnames
[] = {
36308 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36316 arg3
= (int)SWIG_As_int(obj2
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36320 arg4
= (int)SWIG_As_int(obj3
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36324 arg5
= (int)SWIG_As_int(obj4
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36334 wxPyEndAllowThreads(__tstate
);
36335 if (PyErr_Occurred()) SWIG_fail
;
36337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36344 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36345 PyObject
*resultobj
;
36346 wxSizer
*arg1
= (wxSizer
*) 0 ;
36347 PyObject
*arg2
= (PyObject
*) 0 ;
36349 PyObject
* obj0
= 0 ;
36350 PyObject
* obj1
= 0 ;
36351 char *kwnames
[] = {
36352 (char *) "self",(char *) "item", NULL
36355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36375 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36376 PyObject
*resultobj
;
36377 wxSizer
*arg1
= (wxSizer
*) 0 ;
36378 PyObject
*arg2
= (PyObject
*) 0 ;
36380 PyObject
* obj0
= 0 ;
36381 PyObject
* obj1
= 0 ;
36382 char *kwnames
[] = {
36383 (char *) "self",(char *) "item", NULL
36386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36406 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36407 PyObject
*resultobj
;
36408 wxSizer
*arg1
= (wxSizer
*) 0 ;
36409 PyObject
*arg2
= (PyObject
*) 0 ;
36410 wxSizerItem
*result
;
36411 PyObject
* obj0
= 0 ;
36412 PyObject
* obj1
= 0 ;
36413 char *kwnames
[] = {
36414 (char *) "self",(char *) "item", NULL
36417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36435 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
;
36437 wxSizer
*arg1
= (wxSizer
*) 0 ;
36438 PyObject
*arg2
= (PyObject
*) 0 ;
36441 PyObject
* obj0
= 0 ;
36442 PyObject
* obj1
= 0 ;
36443 PyObject
* obj2
= 0 ;
36444 char *kwnames
[] = {
36445 (char *) "self",(char *) "item",(char *) "size", NULL
36448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36454 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36460 wxPyEndAllowThreads(__tstate
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36463 Py_INCREF(Py_None
); resultobj
= Py_None
;
36470 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
;
36472 wxSizer
*arg1
= (wxSizer
*) 0 ;
36473 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36474 wxSizerItem
*result
;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self",(char *) "item", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36488 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36500 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
;
36502 wxSizer
*arg1
= (wxSizer
*) 0 ;
36504 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36505 wxSizerItem
*result
;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36508 PyObject
* obj2
= 0 ;
36509 char *kwnames
[] = {
36510 (char *) "self",(char *) "index",(char *) "item", NULL
36513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36516 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36517 if (PyErr_Occurred()) SWIG_fail
;
36518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36534 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 wxSizer
*arg1
= (wxSizer
*) 0 ;
36537 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36538 wxSizerItem
*result
;
36539 PyObject
* obj0
= 0 ;
36540 PyObject
* obj1
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "self",(char *) "item", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36564 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
;
36566 wxSizer
*arg1
= (wxSizer
*) 0 ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36573 PyObject
* obj2
= 0 ;
36574 PyObject
* obj3
= 0 ;
36575 PyObject
* obj4
= 0 ;
36576 char *kwnames
[] = {
36577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36583 arg2
= (int)SWIG_As_int(obj1
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36585 arg3
= (int)SWIG_As_int(obj2
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36587 arg4
= (int)SWIG_As_int(obj3
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36589 arg5
= (int)SWIG_As_int(obj4
);
36590 if (PyErr_Occurred()) SWIG_fail
;
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36595 wxPyEndAllowThreads(__tstate
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36598 Py_INCREF(Py_None
); resultobj
= Py_None
;
36605 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
;
36607 wxSizer
*arg1
= (wxSizer
*) 0 ;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 char *kwnames
[] = {
36613 (char *) "self",(char *) "size", NULL
36616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 Py_INCREF(Py_None
); resultobj
= Py_None
;
36637 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36638 PyObject
*resultobj
;
36639 wxSizer
*arg1
= (wxSizer
*) 0 ;
36641 PyObject
* obj0
= 0 ;
36642 char *kwnames
[] = {
36643 (char *) "self", NULL
36646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36651 result
= (arg1
)->GetSize();
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36657 wxSize
* resultptr
;
36658 resultptr
= new wxSize((wxSize
&) result
);
36659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36667 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36668 PyObject
*resultobj
;
36669 wxSizer
*arg1
= (wxSizer
*) 0 ;
36671 PyObject
* obj0
= 0 ;
36672 char *kwnames
[] = {
36673 (char *) "self", NULL
36676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 result
= (arg1
)->GetPosition();
36683 wxPyEndAllowThreads(__tstate
);
36684 if (PyErr_Occurred()) SWIG_fail
;
36687 wxPoint
* resultptr
;
36688 resultptr
= new wxPoint((wxPoint
&) result
);
36689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36697 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36698 PyObject
*resultobj
;
36699 wxSizer
*arg1
= (wxSizer
*) 0 ;
36701 PyObject
* obj0
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 result
= (arg1
)->GetMinSize();
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36717 wxSize
* resultptr
;
36718 resultptr
= new wxSize((wxSize
&) result
);
36719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36727 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxSizer
*arg1
= (wxSizer
*) 0 ;
36730 PyObject
* obj0
= 0 ;
36731 char *kwnames
[] = {
36732 (char *) "self", NULL
36735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->RecalcSizes();
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 Py_INCREF(Py_None
); resultobj
= Py_None
;
36752 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxSizer
*arg1
= (wxSizer
*) 0 ;
36756 PyObject
* obj0
= 0 ;
36757 char *kwnames
[] = {
36758 (char *) "self", NULL
36761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36766 result
= (arg1
)->CalcMin();
36768 wxPyEndAllowThreads(__tstate
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36772 wxSize
* resultptr
;
36773 resultptr
= new wxSize((wxSize
&) result
);
36774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36782 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36783 PyObject
*resultobj
;
36784 wxSizer
*arg1
= (wxSizer
*) 0 ;
36785 PyObject
* obj0
= 0 ;
36786 char *kwnames
[] = {
36787 (char *) "self", NULL
36790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 Py_INCREF(Py_None
); resultobj
= Py_None
;
36807 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
;
36809 wxSizer
*arg1
= (wxSizer
*) 0 ;
36810 wxWindow
*arg2
= (wxWindow
*) 0 ;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 char *kwnames
[] = {
36815 (char *) "self",(char *) "window", NULL
36818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 result
= (arg1
)->Fit(arg2
);
36827 wxPyEndAllowThreads(__tstate
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36831 wxSize
* resultptr
;
36832 resultptr
= new wxSize((wxSize
&) result
);
36833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36841 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36842 PyObject
*resultobj
;
36843 wxSizer
*arg1
= (wxSizer
*) 0 ;
36844 wxWindow
*arg2
= (wxWindow
*) 0 ;
36845 PyObject
* obj0
= 0 ;
36846 PyObject
* obj1
= 0 ;
36847 char *kwnames
[] = {
36848 (char *) "self",(char *) "window", NULL
36851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 (arg1
)->FitInside(arg2
);
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 Py_INCREF(Py_None
); resultobj
= Py_None
;
36870 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
;
36872 wxSizer
*arg1
= (wxSizer
*) 0 ;
36873 wxWindow
*arg2
= (wxWindow
*) 0 ;
36874 PyObject
* obj0
= 0 ;
36875 PyObject
* obj1
= 0 ;
36876 char *kwnames
[] = {
36877 (char *) "self",(char *) "window", NULL
36880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 (arg1
)->SetSizeHints(arg2
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 Py_INCREF(Py_None
); resultobj
= Py_None
;
36899 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
;
36901 wxSizer
*arg1
= (wxSizer
*) 0 ;
36902 wxWindow
*arg2
= (wxWindow
*) 0 ;
36903 PyObject
* obj0
= 0 ;
36904 PyObject
* obj1
= 0 ;
36905 char *kwnames
[] = {
36906 (char *) "self",(char *) "window", NULL
36909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 (arg1
)->SetVirtualSizeHints(arg2
);
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 Py_INCREF(Py_None
); resultobj
= Py_None
;
36928 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxSizer
*arg1
= (wxSizer
*) 0 ;
36931 bool arg2
= (bool) false ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self",(char *) "deleteWindows", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36942 arg2
= (bool)SWIG_As_bool(obj1
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36947 (arg1
)->Clear(arg2
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 Py_INCREF(Py_None
); resultobj
= Py_None
;
36959 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
;
36961 wxSizer
*arg1
= (wxSizer
*) 0 ;
36962 PyObject
* obj0
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "self", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36972 (arg1
)->DeleteWindows();
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36977 Py_INCREF(Py_None
); resultobj
= Py_None
;
36984 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36985 PyObject
*resultobj
;
36986 wxSizer
*arg1
= (wxSizer
*) 0 ;
36988 PyObject
* obj0
= 0 ;
36989 char *kwnames
[] = {
36990 (char *) "self", NULL
36993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= result
;
37010 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37011 PyObject
*resultobj
;
37012 wxSizer
*arg1
= (wxSizer
*) 0 ;
37013 PyObject
*arg2
= (PyObject
*) 0 ;
37014 bool arg3
= (bool) true ;
37015 bool arg4
= (bool) false ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 PyObject
* obj2
= 0 ;
37020 PyObject
* obj3
= 0 ;
37021 char *kwnames
[] = {
37022 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
37025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37030 arg3
= (bool)SWIG_As_bool(obj2
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37034 arg4
= (bool)SWIG_As_bool(obj3
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37053 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37054 PyObject
*resultobj
;
37055 wxSizer
*arg1
= (wxSizer
*) 0 ;
37056 PyObject
*arg2
= (PyObject
*) 0 ;
37058 PyObject
* obj0
= 0 ;
37059 PyObject
* obj1
= 0 ;
37060 char *kwnames
[] = {
37061 (char *) "self",(char *) "item", NULL
37064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
37065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37084 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37085 PyObject
*resultobj
;
37086 wxSizer
*arg1
= (wxSizer
*) 0 ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 char *kwnames
[] = {
37091 (char *) "self",(char *) "show", NULL
37094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37097 arg2
= (bool)SWIG_As_bool(obj1
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 (arg1
)->ShowItems(arg2
);
37103 wxPyEndAllowThreads(__tstate
);
37104 if (PyErr_Occurred()) SWIG_fail
;
37106 Py_INCREF(Py_None
); resultobj
= Py_None
;
37113 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
37115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37116 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
37118 return Py_BuildValue((char *)"");
37120 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
;
37123 char *kwnames
[] = {
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
37129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37130 result
= (wxPySizer
*)new wxPySizer();
37132 wxPyEndAllowThreads(__tstate
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
37142 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37143 PyObject
*resultobj
;
37144 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
37145 PyObject
*arg2
= (PyObject
*) 0 ;
37146 PyObject
*arg3
= (PyObject
*) 0 ;
37147 PyObject
* obj0
= 0 ;
37148 PyObject
* obj1
= 0 ;
37149 PyObject
* obj2
= 0 ;
37150 char *kwnames
[] = {
37151 (char *) "self",(char *) "self",(char *) "_class", NULL
37154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
37156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37163 wxPyEndAllowThreads(__tstate
);
37164 if (PyErr_Occurred()) SWIG_fail
;
37166 Py_INCREF(Py_None
); resultobj
= Py_None
;
37173 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
37175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37176 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
37178 return Py_BuildValue((char *)"");
37180 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 int arg1
= (int) wxHORIZONTAL
;
37183 wxBoxSizer
*result
;
37184 PyObject
* obj0
= 0 ;
37185 char *kwnames
[] = {
37186 (char *) "orient", NULL
37189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
37191 arg1
= (int)SWIG_As_int(obj0
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
37208 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37209 PyObject
*resultobj
;
37210 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37212 PyObject
* obj0
= 0 ;
37213 char *kwnames
[] = {
37214 (char *) "self", NULL
37217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
37218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37222 result
= (int)(arg1
)->GetOrientation();
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_From_int((int)result
);
37234 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
;
37236 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37238 PyObject
* obj0
= 0 ;
37239 PyObject
* obj1
= 0 ;
37240 char *kwnames
[] = {
37241 (char *) "self",(char *) "orient", NULL
37244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37247 arg2
= (int)SWIG_As_int(obj1
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 (arg1
)->SetOrientation(arg2
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 Py_INCREF(Py_None
); resultobj
= Py_None
;
37263 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37266 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37268 return Py_BuildValue((char *)"");
37270 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
;
37272 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37273 int arg2
= (int) wxHORIZONTAL
;
37274 wxStaticBoxSizer
*result
;
37275 PyObject
* obj0
= 0 ;
37276 PyObject
* obj1
= 0 ;
37277 char *kwnames
[] = {
37278 (char *) "box",(char *) "orient", NULL
37281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37285 arg2
= (int)SWIG_As_int(obj1
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37302 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37303 PyObject
*resultobj
;
37304 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37305 wxStaticBox
*result
;
37306 PyObject
* obj0
= 0 ;
37307 char *kwnames
[] = {
37308 (char *) "self", NULL
37311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= wxPyMake_wxObject(result
, 0);
37330 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37333 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37335 return Py_BuildValue((char *)"");
37337 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
;
37339 int arg1
= (int) 1 ;
37340 int arg2
= (int) 0 ;
37341 int arg3
= (int) 0 ;
37342 int arg4
= (int) 0 ;
37343 wxGridSizer
*result
;
37344 PyObject
* obj0
= 0 ;
37345 PyObject
* obj1
= 0 ;
37346 PyObject
* obj2
= 0 ;
37347 PyObject
* obj3
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37354 arg1
= (int)SWIG_As_int(obj0
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37358 arg2
= (int)SWIG_As_int(obj1
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37362 arg3
= (int)SWIG_As_int(obj2
);
37363 if (PyErr_Occurred()) SWIG_fail
;
37366 arg4
= (int)SWIG_As_int(obj3
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37383 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37384 PyObject
*resultobj
;
37385 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37389 char *kwnames
[] = {
37390 (char *) "self",(char *) "cols", NULL
37393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37396 arg2
= (int)SWIG_As_int(obj1
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 (arg1
)->SetCols(arg2
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 Py_INCREF(Py_None
); resultobj
= Py_None
;
37412 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37413 PyObject
*resultobj
;
37414 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37416 PyObject
* obj0
= 0 ;
37417 PyObject
* obj1
= 0 ;
37418 char *kwnames
[] = {
37419 (char *) "self",(char *) "rows", NULL
37422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37425 arg2
= (int)SWIG_As_int(obj1
);
37426 if (PyErr_Occurred()) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 (arg1
)->SetRows(arg2
);
37431 wxPyEndAllowThreads(__tstate
);
37432 if (PyErr_Occurred()) SWIG_fail
;
37434 Py_INCREF(Py_None
); resultobj
= Py_None
;
37441 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37442 PyObject
*resultobj
;
37443 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37445 PyObject
* obj0
= 0 ;
37446 PyObject
* obj1
= 0 ;
37447 char *kwnames
[] = {
37448 (char *) "self",(char *) "gap", NULL
37451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37454 arg2
= (int)SWIG_As_int(obj1
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37458 (arg1
)->SetVGap(arg2
);
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 Py_INCREF(Py_None
); resultobj
= Py_None
;
37470 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
;
37472 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 char *kwnames
[] = {
37477 (char *) "self",(char *) "gap", NULL
37480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37483 arg2
= (int)SWIG_As_int(obj1
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37487 (arg1
)->SetHGap(arg2
);
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37492 Py_INCREF(Py_None
); resultobj
= Py_None
;
37499 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37500 PyObject
*resultobj
;
37501 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37503 PyObject
* obj0
= 0 ;
37504 char *kwnames
[] = {
37505 (char *) "self", NULL
37508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 result
= (int)(arg1
)->GetCols();
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= SWIG_From_int((int)result
);
37525 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37526 PyObject
*resultobj
;
37527 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37529 PyObject
* obj0
= 0 ;
37530 char *kwnames
[] = {
37531 (char *) "self", NULL
37534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 result
= (int)(arg1
)->GetRows();
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= SWIG_From_int((int)result
);
37551 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
;
37553 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37555 PyObject
* obj0
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 result
= (int)(arg1
)->GetVGap();
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37570 resultobj
= SWIG_From_int((int)result
);
37577 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37578 PyObject
*resultobj
;
37579 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37581 PyObject
* obj0
= 0 ;
37582 char *kwnames
[] = {
37583 (char *) "self", NULL
37586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37591 result
= (int)(arg1
)->GetHGap();
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= SWIG_From_int((int)result
);
37603 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37606 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37608 return Py_BuildValue((char *)"");
37610 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
;
37612 int arg1
= (int) 1 ;
37613 int arg2
= (int) 0 ;
37614 int arg3
= (int) 0 ;
37615 int arg4
= (int) 0 ;
37616 wxFlexGridSizer
*result
;
37617 PyObject
* obj0
= 0 ;
37618 PyObject
* obj1
= 0 ;
37619 PyObject
* obj2
= 0 ;
37620 PyObject
* obj3
= 0 ;
37621 char *kwnames
[] = {
37622 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37627 arg1
= (int)SWIG_As_int(obj0
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37631 arg2
= (int)SWIG_As_int(obj1
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37635 arg3
= (int)SWIG_As_int(obj2
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37639 arg4
= (int)SWIG_As_int(obj3
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37644 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37646 wxPyEndAllowThreads(__tstate
);
37647 if (PyErr_Occurred()) SWIG_fail
;
37649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37656 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37657 PyObject
*resultobj
;
37658 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37660 int arg3
= (int) 0 ;
37661 PyObject
* obj0
= 0 ;
37662 PyObject
* obj1
= 0 ;
37663 PyObject
* obj2
= 0 ;
37664 char *kwnames
[] = {
37665 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37671 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37672 if (PyErr_Occurred()) SWIG_fail
;
37674 arg3
= (int)SWIG_As_int(obj2
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->AddGrowableRow(arg2
,arg3
);
37681 wxPyEndAllowThreads(__tstate
);
37682 if (PyErr_Occurred()) SWIG_fail
;
37684 Py_INCREF(Py_None
); resultobj
= Py_None
;
37691 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37692 PyObject
*resultobj
;
37693 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37695 PyObject
* obj0
= 0 ;
37696 PyObject
* obj1
= 0 ;
37697 char *kwnames
[] = {
37698 (char *) "self",(char *) "idx", NULL
37701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37704 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 (arg1
)->RemoveGrowableRow(arg2
);
37710 wxPyEndAllowThreads(__tstate
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37713 Py_INCREF(Py_None
); resultobj
= Py_None
;
37720 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37721 PyObject
*resultobj
;
37722 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37724 int arg3
= (int) 0 ;
37725 PyObject
* obj0
= 0 ;
37726 PyObject
* obj1
= 0 ;
37727 PyObject
* obj2
= 0 ;
37728 char *kwnames
[] = {
37729 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37735 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 arg3
= (int)SWIG_As_int(obj2
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 (arg1
)->AddGrowableCol(arg2
,arg3
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 Py_INCREF(Py_None
); resultobj
= Py_None
;
37755 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37756 PyObject
*resultobj
;
37757 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37759 PyObject
* obj0
= 0 ;
37760 PyObject
* obj1
= 0 ;
37761 char *kwnames
[] = {
37762 (char *) "self",(char *) "idx", NULL
37765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37768 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 (arg1
)->RemoveGrowableCol(arg2
);
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 Py_INCREF(Py_None
); resultobj
= Py_None
;
37784 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37788 PyObject
* obj0
= 0 ;
37789 PyObject
* obj1
= 0 ;
37790 char *kwnames
[] = {
37791 (char *) "self",(char *) "direction", NULL
37794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37797 arg2
= (int)SWIG_As_int(obj1
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 (arg1
)->SetFlexibleDirection(arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 Py_INCREF(Py_None
); resultobj
= Py_None
;
37813 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37817 PyObject
* obj0
= 0 ;
37818 char *kwnames
[] = {
37819 (char *) "self", NULL
37822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37827 result
= (int)(arg1
)->GetFlexibleDirection();
37829 wxPyEndAllowThreads(__tstate
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37832 resultobj
= SWIG_From_int((int)result
);
37839 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
;
37841 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37843 PyObject
* obj0
= 0 ;
37844 PyObject
* obj1
= 0 ;
37845 char *kwnames
[] = {
37846 (char *) "self",(char *) "mode", NULL
37849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37852 arg2
= (int)SWIG_As_int(obj1
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37856 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 Py_INCREF(Py_None
); resultobj
= Py_None
;
37868 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37869 PyObject
*resultobj
;
37870 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37872 PyObject
* obj0
= 0 ;
37873 char *kwnames
[] = {
37874 (char *) "self", NULL
37877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37887 resultobj
= SWIG_From_int((int)result
);
37894 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37895 PyObject
*resultobj
;
37896 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37897 wxArrayInt
*result
;
37898 PyObject
* obj0
= 0 ;
37899 char *kwnames
[] = {
37900 (char *) "self", NULL
37903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37910 result
= (wxArrayInt
*) &_result_ref
;
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37917 resultobj
= PyList_New(0);
37919 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37920 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37921 PyList_Append(resultobj
, val
);
37931 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
;
37933 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37934 wxArrayInt
*result
;
37935 PyObject
* obj0
= 0 ;
37936 char *kwnames
[] = {
37937 (char *) "self", NULL
37940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37947 result
= (wxArrayInt
*) &_result_ref
;
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= PyList_New(0);
37956 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37957 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37958 PyList_Append(resultobj
, val
);
37968 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37971 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37973 return Py_BuildValue((char *)"");
37975 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
;
37977 int arg1
= (int) 0 ;
37978 int arg2
= (int) 0 ;
37979 wxGBPosition
*result
;
37980 PyObject
* obj0
= 0 ;
37981 PyObject
* obj1
= 0 ;
37982 char *kwnames
[] = {
37983 (char *) "row",(char *) "col", NULL
37986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37988 arg1
= (int)SWIG_As_int(obj0
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37992 arg2
= (int)SWIG_As_int(obj1
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37997 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37999 wxPyEndAllowThreads(__tstate
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
38009 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
;
38011 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38013 PyObject
* obj0
= 0 ;
38014 char *kwnames
[] = {
38015 (char *) "self", NULL
38018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
38019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= SWIG_From_int((int)result
);
38035 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38036 PyObject
*resultobj
;
38037 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38039 PyObject
* obj0
= 0 ;
38040 char *kwnames
[] = {
38041 (char *) "self", NULL
38044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
38045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38049 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38054 resultobj
= SWIG_From_int((int)result
);
38061 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38062 PyObject
*resultobj
;
38063 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38065 PyObject
* obj0
= 0 ;
38066 PyObject
* obj1
= 0 ;
38067 char *kwnames
[] = {
38068 (char *) "self",(char *) "row", NULL
38071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
38072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38074 arg2
= (int)SWIG_As_int(obj1
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38078 (arg1
)->SetRow(arg2
);
38080 wxPyEndAllowThreads(__tstate
);
38081 if (PyErr_Occurred()) SWIG_fail
;
38083 Py_INCREF(Py_None
); resultobj
= Py_None
;
38090 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38091 PyObject
*resultobj
;
38092 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 char *kwnames
[] = {
38097 (char *) "self",(char *) "col", NULL
38100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
38101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38103 arg2
= (int)SWIG_As_int(obj1
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38107 (arg1
)->SetCol(arg2
);
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38112 Py_INCREF(Py_None
); resultobj
= Py_None
;
38119 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
;
38121 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38122 wxGBPosition
*arg2
= 0 ;
38124 wxGBPosition temp2
;
38125 PyObject
* obj0
= 0 ;
38126 PyObject
* obj1
= 0 ;
38127 char *kwnames
[] = {
38128 (char *) "self",(char *) "other", NULL
38131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38136 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38140 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
38142 wxPyEndAllowThreads(__tstate
);
38143 if (PyErr_Occurred()) SWIG_fail
;
38146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38154 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
;
38156 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38157 wxGBPosition
*arg2
= 0 ;
38159 wxGBPosition temp2
;
38160 PyObject
* obj0
= 0 ;
38161 PyObject
* obj1
= 0 ;
38162 char *kwnames
[] = {
38163 (char *) "self",(char *) "other", NULL
38166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38171 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38189 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
;
38191 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38192 int arg2
= (int) 0 ;
38193 int arg3
= (int) 0 ;
38194 PyObject
* obj0
= 0 ;
38195 PyObject
* obj1
= 0 ;
38196 PyObject
* obj2
= 0 ;
38197 char *kwnames
[] = {
38198 (char *) "self",(char *) "row",(char *) "col", NULL
38201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38205 arg2
= (int)SWIG_As_int(obj1
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38209 arg3
= (int)SWIG_As_int(obj2
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 wxGBPosition_Set(arg1
,arg2
,arg3
);
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 Py_INCREF(Py_None
); resultobj
= Py_None
;
38226 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
;
38228 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38230 PyObject
* obj0
= 0 ;
38231 char *kwnames
[] = {
38232 (char *) "self", NULL
38235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38240 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38242 wxPyEndAllowThreads(__tstate
);
38243 if (PyErr_Occurred()) SWIG_fail
;
38245 resultobj
= result
;
38252 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38255 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38257 return Py_BuildValue((char *)"");
38259 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38260 PyObject
*resultobj
;
38261 int arg1
= (int) 1 ;
38262 int arg2
= (int) 1 ;
38264 PyObject
* obj0
= 0 ;
38265 PyObject
* obj1
= 0 ;
38266 char *kwnames
[] = {
38267 (char *) "rowspan",(char *) "colspan", NULL
38270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38272 arg1
= (int)SWIG_As_int(obj0
);
38273 if (PyErr_Occurred()) SWIG_fail
;
38276 arg2
= (int)SWIG_As_int(obj1
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38293 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38294 PyObject
*resultobj
;
38295 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38297 PyObject
* obj0
= 0 ;
38298 char *kwnames
[] = {
38299 (char *) "self", NULL
38302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38312 resultobj
= SWIG_From_int((int)result
);
38319 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38320 PyObject
*resultobj
;
38321 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38323 PyObject
* obj0
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "self", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_From_int((int)result
);
38345 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38346 PyObject
*resultobj
;
38347 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 char *kwnames
[] = {
38352 (char *) "self",(char *) "rowspan", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38358 arg2
= (int)SWIG_As_int(obj1
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38362 (arg1
)->SetRowspan(arg2
);
38364 wxPyEndAllowThreads(__tstate
);
38365 if (PyErr_Occurred()) SWIG_fail
;
38367 Py_INCREF(Py_None
); resultobj
= Py_None
;
38374 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38375 PyObject
*resultobj
;
38376 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38378 PyObject
* obj0
= 0 ;
38379 PyObject
* obj1
= 0 ;
38380 char *kwnames
[] = {
38381 (char *) "self",(char *) "colspan", NULL
38384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38387 arg2
= (int)SWIG_As_int(obj1
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->SetColspan(arg2
);
38393 wxPyEndAllowThreads(__tstate
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38396 Py_INCREF(Py_None
); resultobj
= Py_None
;
38403 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38404 PyObject
*resultobj
;
38405 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38406 wxGBSpan
*arg2
= 0 ;
38409 PyObject
* obj0
= 0 ;
38410 PyObject
* obj1
= 0 ;
38411 char *kwnames
[] = {
38412 (char *) "self",(char *) "other", NULL
38415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38420 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38438 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38439 PyObject
*resultobj
;
38440 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38441 wxGBSpan
*arg2
= 0 ;
38444 PyObject
* obj0
= 0 ;
38445 PyObject
* obj1
= 0 ;
38446 char *kwnames
[] = {
38447 (char *) "self",(char *) "other", NULL
38450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38455 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38459 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38461 wxPyEndAllowThreads(__tstate
);
38462 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38473 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38474 PyObject
*resultobj
;
38475 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38476 int arg2
= (int) 1 ;
38477 int arg3
= (int) 1 ;
38478 PyObject
* obj0
= 0 ;
38479 PyObject
* obj1
= 0 ;
38480 PyObject
* obj2
= 0 ;
38481 char *kwnames
[] = {
38482 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38489 arg2
= (int)SWIG_As_int(obj1
);
38490 if (PyErr_Occurred()) SWIG_fail
;
38493 arg3
= (int)SWIG_As_int(obj2
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 wxGBSpan_Set(arg1
,arg2
,arg3
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 Py_INCREF(Py_None
); resultobj
= Py_None
;
38510 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38511 PyObject
*resultobj
;
38512 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38514 PyObject
* obj0
= 0 ;
38515 char *kwnames
[] = {
38516 (char *) "self", NULL
38519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38526 wxPyEndAllowThreads(__tstate
);
38527 if (PyErr_Occurred()) SWIG_fail
;
38529 resultobj
= result
;
38536 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38539 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38541 return Py_BuildValue((char *)"");
38543 static int _wrap_DefaultSpan_set(PyObject
*) {
38544 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38549 static PyObject
*_wrap_DefaultSpan_get() {
38552 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38557 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
;
38559 wxGBSizerItem
*result
;
38560 char *kwnames
[] = {
38564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38579 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
;
38581 wxWindow
*arg1
= (wxWindow
*) 0 ;
38582 wxGBPosition
*arg2
= 0 ;
38583 wxGBSpan
*arg3
= 0 ;
38586 PyObject
*arg6
= (PyObject
*) NULL
;
38587 wxGBSizerItem
*result
;
38588 wxGBPosition temp2
;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 PyObject
* obj2
= 0 ;
38593 PyObject
* obj3
= 0 ;
38594 PyObject
* obj4
= 0 ;
38595 PyObject
* obj5
= 0 ;
38596 char *kwnames
[] = {
38597 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38605 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38609 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38611 arg4
= (int)SWIG_As_int(obj3
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38613 arg5
= (int)SWIG_As_int(obj4
);
38614 if (PyErr_Occurred()) SWIG_fail
;
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38632 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
;
38634 wxSizer
*arg1
= (wxSizer
*) 0 ;
38635 wxGBPosition
*arg2
= 0 ;
38636 wxGBSpan
*arg3
= 0 ;
38639 PyObject
*arg6
= (PyObject
*) NULL
;
38640 wxGBSizerItem
*result
;
38641 wxGBPosition temp2
;
38643 PyObject
* obj0
= 0 ;
38644 PyObject
* obj1
= 0 ;
38645 PyObject
* obj2
= 0 ;
38646 PyObject
* obj3
= 0 ;
38647 PyObject
* obj4
= 0 ;
38648 PyObject
* obj5
= 0 ;
38649 char *kwnames
[] = {
38650 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38658 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38662 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38664 arg4
= (int)SWIG_As_int(obj3
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38666 arg5
= (int)SWIG_As_int(obj4
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38685 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
;
38689 wxGBPosition
*arg3
= 0 ;
38690 wxGBSpan
*arg4
= 0 ;
38693 PyObject
*arg7
= (PyObject
*) NULL
;
38694 wxGBSizerItem
*result
;
38695 wxGBPosition temp3
;
38697 PyObject
* obj0
= 0 ;
38698 PyObject
* obj1
= 0 ;
38699 PyObject
* obj2
= 0 ;
38700 PyObject
* obj3
= 0 ;
38701 PyObject
* obj4
= 0 ;
38702 PyObject
* obj5
= 0 ;
38703 PyObject
* obj6
= 0 ;
38704 char *kwnames
[] = {
38705 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38709 arg1
= (int)SWIG_As_int(obj0
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38711 arg2
= (int)SWIG_As_int(obj1
);
38712 if (PyErr_Occurred()) SWIG_fail
;
38715 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38719 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38721 arg5
= (int)SWIG_As_int(obj4
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38723 arg6
= (int)SWIG_As_int(obj5
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38732 wxPyEndAllowThreads(__tstate
);
38733 if (PyErr_Occurred()) SWIG_fail
;
38735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38742 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38743 PyObject
*resultobj
;
38744 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38745 wxGBPosition result
;
38746 PyObject
* obj0
= 0 ;
38747 char *kwnames
[] = {
38748 (char *) "self", NULL
38751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38756 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38758 wxPyEndAllowThreads(__tstate
);
38759 if (PyErr_Occurred()) SWIG_fail
;
38762 wxGBPosition
* resultptr
;
38763 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38772 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38773 PyObject
*resultobj
;
38774 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38776 PyObject
* obj0
= 0 ;
38777 char *kwnames
[] = {
38778 (char *) "self", NULL
38781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38788 wxPyEndAllowThreads(__tstate
);
38789 if (PyErr_Occurred()) SWIG_fail
;
38792 wxGBSpan
* resultptr
;
38793 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38802 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38803 PyObject
*resultobj
;
38804 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38805 wxGBPosition
*arg2
= 0 ;
38807 wxGBPosition temp2
;
38808 PyObject
* obj0
= 0 ;
38809 PyObject
* obj1
= 0 ;
38810 char *kwnames
[] = {
38811 (char *) "self",(char *) "pos", NULL
38814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38819 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38823 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38825 wxPyEndAllowThreads(__tstate
);
38826 if (PyErr_Occurred()) SWIG_fail
;
38829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38837 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38838 PyObject
*resultobj
;
38839 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38840 wxGBSpan
*arg2
= 0 ;
38843 PyObject
* obj0
= 0 ;
38844 PyObject
* obj1
= 0 ;
38845 char *kwnames
[] = {
38846 (char *) "self",(char *) "span", NULL
38849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38854 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38858 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38860 wxPyEndAllowThreads(__tstate
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38872 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38873 PyObject
*resultobj
;
38874 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38875 wxGBSizerItem
*arg2
= 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 char *kwnames
[] = {
38880 (char *) "self",(char *) "other", NULL
38883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38889 if (arg2
== NULL
) {
38890 PyErr_SetString(PyExc_TypeError
,"null reference");
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38909 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
;
38911 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38912 wxGBPosition
*arg2
= 0 ;
38913 wxGBSpan
*arg3
= 0 ;
38915 wxGBPosition temp2
;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38920 char *kwnames
[] = {
38921 (char *) "self",(char *) "pos",(char *) "span", NULL
38924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38929 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38933 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38937 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38939 wxPyEndAllowThreads(__tstate
);
38940 if (PyErr_Occurred()) SWIG_fail
;
38943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38951 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38952 PyObject
*resultobj
;
38953 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38954 wxGBPosition result
;
38955 PyObject
* obj0
= 0 ;
38956 char *kwnames
[] = {
38957 (char *) "self", NULL
38960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38965 result
= wxGBSizerItem_GetEndPos(arg1
);
38967 wxPyEndAllowThreads(__tstate
);
38968 if (PyErr_Occurred()) SWIG_fail
;
38971 wxGBPosition
* resultptr
;
38972 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38981 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38982 PyObject
*resultobj
;
38983 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38984 wxGridBagSizer
*result
;
38985 PyObject
* obj0
= 0 ;
38986 char *kwnames
[] = {
38987 (char *) "self", NULL
38990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38995 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38997 wxPyEndAllowThreads(__tstate
);
38998 if (PyErr_Occurred()) SWIG_fail
;
39000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
39007 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39008 PyObject
*resultobj
;
39009 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
39010 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
39011 PyObject
* obj0
= 0 ;
39012 PyObject
* obj1
= 0 ;
39013 char *kwnames
[] = {
39014 (char *) "self",(char *) "sizer", NULL
39017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
39019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
39021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 (arg1
)->SetGBSizer(arg2
);
39026 wxPyEndAllowThreads(__tstate
);
39027 if (PyErr_Occurred()) SWIG_fail
;
39029 Py_INCREF(Py_None
); resultobj
= Py_None
;
39036 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
39038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39039 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
39041 return Py_BuildValue((char *)"");
39043 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39044 PyObject
*resultobj
;
39045 int arg1
= (int) 0 ;
39046 int arg2
= (int) 0 ;
39047 wxGridBagSizer
*result
;
39048 PyObject
* obj0
= 0 ;
39049 PyObject
* obj1
= 0 ;
39050 char *kwnames
[] = {
39051 (char *) "vgap",(char *) "hgap", NULL
39054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39056 arg1
= (int)SWIG_As_int(obj0
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39060 arg2
= (int)SWIG_As_int(obj1
);
39061 if (PyErr_Occurred()) SWIG_fail
;
39064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39065 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
39077 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39078 PyObject
*resultobj
;
39079 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39080 PyObject
*arg2
= (PyObject
*) 0 ;
39081 wxGBPosition
*arg3
= 0 ;
39082 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
39083 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
39084 int arg5
= (int) 0 ;
39085 int arg6
= (int) 0 ;
39086 PyObject
*arg7
= (PyObject
*) NULL
;
39087 wxGBSizerItem
*result
;
39088 wxGBPosition temp3
;
39090 PyObject
* obj0
= 0 ;
39091 PyObject
* obj1
= 0 ;
39092 PyObject
* obj2
= 0 ;
39093 PyObject
* obj3
= 0 ;
39094 PyObject
* obj4
= 0 ;
39095 PyObject
* obj5
= 0 ;
39096 PyObject
* obj6
= 0 ;
39097 char *kwnames
[] = {
39098 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
39101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39107 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39112 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
39116 arg5
= (int)SWIG_As_int(obj4
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39120 arg6
= (int)SWIG_As_int(obj5
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39128 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
39130 wxPyEndAllowThreads(__tstate
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39140 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39141 PyObject
*resultobj
;
39142 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39143 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39144 wxGBSizerItem
*result
;
39145 PyObject
* obj0
= 0 ;
39146 PyObject
* obj1
= 0 ;
39147 char *kwnames
[] = {
39148 (char *) "self",(char *) "item", NULL
39151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39158 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
39160 wxPyEndAllowThreads(__tstate
);
39161 if (PyErr_Occurred()) SWIG_fail
;
39163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39170 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39171 PyObject
*resultobj
;
39172 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39176 PyObject
* obj0
= 0 ;
39177 PyObject
* obj1
= 0 ;
39178 PyObject
* obj2
= 0 ;
39179 char *kwnames
[] = {
39180 (char *) "self",(char *) "row",(char *) "col", NULL
39183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39186 arg2
= (int)SWIG_As_int(obj1
);
39187 if (PyErr_Occurred()) SWIG_fail
;
39188 arg3
= (int)SWIG_As_int(obj2
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39198 wxSize
* resultptr
;
39199 resultptr
= new wxSize((wxSize
&) result
);
39200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39208 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39209 PyObject
*resultobj
;
39210 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39212 PyObject
* obj0
= 0 ;
39213 char *kwnames
[] = {
39214 (char *) "self", NULL
39217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
39218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39222 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
39224 wxPyEndAllowThreads(__tstate
);
39225 if (PyErr_Occurred()) SWIG_fail
;
39228 wxSize
* resultptr
;
39229 resultptr
= new wxSize((wxSize
&) result
);
39230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39238 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39239 PyObject
*resultobj
;
39240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39243 PyObject
* obj0
= 0 ;
39244 PyObject
* obj1
= 0 ;
39245 char *kwnames
[] = {
39246 (char *) "self",(char *) "sz", NULL
39249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39254 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39258 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39260 wxPyEndAllowThreads(__tstate
);
39261 if (PyErr_Occurred()) SWIG_fail
;
39263 Py_INCREF(Py_None
); resultobj
= Py_None
;
39270 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39271 PyObject
*resultobj
;
39272 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39273 wxWindow
*arg2
= (wxWindow
*) 0 ;
39274 wxGBPosition result
;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39278 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39285 result
= (arg1
)->GetItemPosition(arg2
);
39287 wxPyEndAllowThreads(__tstate
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39291 wxGBPosition
* resultptr
;
39292 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39301 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39302 PyObject
*resultobj
;
39303 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39304 wxSizer
*arg2
= (wxSizer
*) 0 ;
39305 wxGBPosition result
;
39306 PyObject
* obj0
= 0 ;
39307 PyObject
* obj1
= 0 ;
39309 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39316 result
= (arg1
)->GetItemPosition(arg2
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39322 wxGBPosition
* resultptr
;
39323 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39332 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39333 PyObject
*resultobj
;
39334 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39336 wxGBPosition result
;
39337 PyObject
* obj0
= 0 ;
39338 PyObject
* obj1
= 0 ;
39340 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39343 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39344 if (PyErr_Occurred()) SWIG_fail
;
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39347 result
= (arg1
)->GetItemPosition(arg2
);
39349 wxPyEndAllowThreads(__tstate
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39353 wxGBPosition
* resultptr
;
39354 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39363 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39368 argc
= PyObject_Length(args
);
39369 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39376 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39386 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39394 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39412 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39420 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39428 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39436 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39438 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39443 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39448 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39449 PyObject
*resultobj
;
39450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39451 wxWindow
*arg2
= (wxWindow
*) 0 ;
39452 wxGBPosition
*arg3
= 0 ;
39454 wxGBPosition temp3
;
39455 PyObject
* obj0
= 0 ;
39456 PyObject
* obj1
= 0 ;
39457 PyObject
* obj2
= 0 ;
39459 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39466 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39484 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39485 PyObject
*resultobj
;
39486 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39487 wxSizer
*arg2
= (wxSizer
*) 0 ;
39488 wxGBPosition
*arg3
= 0 ;
39490 wxGBPosition temp3
;
39491 PyObject
* obj0
= 0 ;
39492 PyObject
* obj1
= 0 ;
39493 PyObject
* obj2
= 0 ;
39495 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39502 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39508 wxPyEndAllowThreads(__tstate
);
39509 if (PyErr_Occurred()) SWIG_fail
;
39512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39520 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39521 PyObject
*resultobj
;
39522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39524 wxGBPosition
*arg3
= 0 ;
39526 wxGBPosition temp3
;
39527 PyObject
* obj0
= 0 ;
39528 PyObject
* obj1
= 0 ;
39529 PyObject
* obj2
= 0 ;
39531 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39534 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39538 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39542 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39544 wxPyEndAllowThreads(__tstate
);
39545 if (PyErr_Occurred()) SWIG_fail
;
39548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39556 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39561 argc
= PyObject_Length(args
);
39562 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39563 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39579 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39588 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39591 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39600 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39610 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39619 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39622 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39631 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39639 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39642 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39645 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39651 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39656 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39657 PyObject
*resultobj
;
39658 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39659 wxWindow
*arg2
= (wxWindow
*) 0 ;
39661 PyObject
* obj0
= 0 ;
39662 PyObject
* obj1
= 0 ;
39664 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39671 result
= (arg1
)->GetItemSpan(arg2
);
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39677 wxGBSpan
* resultptr
;
39678 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39687 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39688 PyObject
*resultobj
;
39689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39690 wxSizer
*arg2
= (wxSizer
*) 0 ;
39692 PyObject
* obj0
= 0 ;
39693 PyObject
* obj1
= 0 ;
39695 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 result
= (arg1
)->GetItemSpan(arg2
);
39704 wxPyEndAllowThreads(__tstate
);
39705 if (PyErr_Occurred()) SWIG_fail
;
39708 wxGBSpan
* resultptr
;
39709 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39718 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39719 PyObject
*resultobj
;
39720 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39723 PyObject
* obj0
= 0 ;
39724 PyObject
* obj1
= 0 ;
39726 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39729 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39733 result
= (arg1
)->GetItemSpan(arg2
);
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39739 wxGBSpan
* resultptr
;
39740 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39749 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39754 argc
= PyObject_Length(args
);
39755 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39756 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39772 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39780 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39788 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39798 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39806 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39814 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39822 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39824 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39829 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39834 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39835 PyObject
*resultobj
;
39836 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39837 wxWindow
*arg2
= (wxWindow
*) 0 ;
39838 wxGBSpan
*arg3
= 0 ;
39841 PyObject
* obj0
= 0 ;
39842 PyObject
* obj1
= 0 ;
39843 PyObject
* obj2
= 0 ;
39845 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39852 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39856 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39858 wxPyEndAllowThreads(__tstate
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39870 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39871 PyObject
*resultobj
;
39872 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39873 wxSizer
*arg2
= (wxSizer
*) 0 ;
39874 wxGBSpan
*arg3
= 0 ;
39877 PyObject
* obj0
= 0 ;
39878 PyObject
* obj1
= 0 ;
39879 PyObject
* obj2
= 0 ;
39881 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39888 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39892 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39894 wxPyEndAllowThreads(__tstate
);
39895 if (PyErr_Occurred()) SWIG_fail
;
39898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39906 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39907 PyObject
*resultobj
;
39908 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39910 wxGBSpan
*arg3
= 0 ;
39913 PyObject
* obj0
= 0 ;
39914 PyObject
* obj1
= 0 ;
39915 PyObject
* obj2
= 0 ;
39917 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39920 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39924 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39928 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39930 wxPyEndAllowThreads(__tstate
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39942 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39947 argc
= PyObject_Length(args
);
39948 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39949 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39955 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39965 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39974 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39977 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39986 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39996 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40005 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40008 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
40017 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40025 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
40028 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
40031 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
40037 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
40042 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
40043 PyObject
*resultobj
;
40044 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40045 wxWindow
*arg2
= (wxWindow
*) 0 ;
40046 wxGBSizerItem
*result
;
40047 PyObject
* obj0
= 0 ;
40048 PyObject
* obj1
= 0 ;
40050 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40057 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40059 wxPyEndAllowThreads(__tstate
);
40060 if (PyErr_Occurred()) SWIG_fail
;
40062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40069 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
40070 PyObject
*resultobj
;
40071 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40072 wxSizer
*arg2
= (wxSizer
*) 0 ;
40073 wxGBSizerItem
*result
;
40074 PyObject
* obj0
= 0 ;
40075 PyObject
* obj1
= 0 ;
40077 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
40081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40096 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
40101 argc
= PyObject_Length(args
);
40102 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
40103 argv
[ii
] = PyTuple_GetItem(args
,ii
);
40109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40119 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40127 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
40135 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40145 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40153 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
40158 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
40163 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40164 PyObject
*resultobj
;
40165 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40166 wxGBPosition
*arg2
= 0 ;
40167 wxGBSizerItem
*result
;
40168 wxGBPosition temp2
;
40169 PyObject
* obj0
= 0 ;
40170 PyObject
* obj1
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self",(char *) "pos", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40180 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
40186 wxPyEndAllowThreads(__tstate
);
40187 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40196 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
;
40198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40199 wxPoint
*arg2
= 0 ;
40200 wxGBSizerItem
*result
;
40202 PyObject
* obj0
= 0 ;
40203 PyObject
* obj1
= 0 ;
40204 char *kwnames
[] = {
40205 (char *) "self",(char *) "pt", NULL
40208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
40209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40217 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
40219 wxPyEndAllowThreads(__tstate
);
40220 if (PyErr_Occurred()) SWIG_fail
;
40222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40229 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40230 PyObject
*resultobj
;
40231 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40232 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40233 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 PyObject
* obj2
= 0 ;
40238 char *kwnames
[] = {
40239 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40253 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40255 wxPyEndAllowThreads(__tstate
);
40256 if (PyErr_Occurred()) SWIG_fail
;
40259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40267 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40270 wxGBPosition
*arg2
= 0 ;
40271 wxGBSpan
*arg3
= 0 ;
40272 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40274 wxGBPosition temp2
;
40276 PyObject
* obj0
= 0 ;
40277 PyObject
* obj1
= 0 ;
40278 PyObject
* obj2
= 0 ;
40279 PyObject
* obj3
= 0 ;
40280 char *kwnames
[] = {
40281 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40289 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40293 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40296 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40301 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40303 wxPyEndAllowThreads(__tstate
);
40304 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40315 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40318 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40320 return Py_BuildValue((char *)"");
40322 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40323 PyObject
*resultobj
;
40324 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40326 wxWindow
*arg3
= (wxWindow
*) 0 ;
40328 int arg5
= (int) 0 ;
40329 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40330 PyObject
* obj0
= 0 ;
40331 PyObject
* obj1
= 0 ;
40332 PyObject
* obj2
= 0 ;
40333 PyObject
* obj3
= 0 ;
40334 PyObject
* obj4
= 0 ;
40335 PyObject
* obj5
= 0 ;
40336 char *kwnames
[] = {
40337 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40343 arg2
= (int)SWIG_As_int(obj1
);
40344 if (PyErr_Occurred()) SWIG_fail
;
40345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40347 arg4
= (int)SWIG_As_int(obj3
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40350 arg5
= (int)SWIG_As_int(obj4
);
40351 if (PyErr_Occurred()) SWIG_fail
;
40354 arg6
= (int)SWIG_As_int(obj5
);
40355 if (PyErr_Occurred()) SWIG_fail
;
40358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40359 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40364 Py_INCREF(Py_None
); resultobj
= Py_None
;
40371 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40372 PyObject
*resultobj
;
40373 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40374 wxWindow
*arg2
= (wxWindow
*) 0 ;
40375 int arg3
= (int) 0 ;
40376 PyObject
* obj0
= 0 ;
40377 PyObject
* obj1
= 0 ;
40378 PyObject
* obj2
= 0 ;
40379 char *kwnames
[] = {
40380 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40389 arg3
= (int)SWIG_As_int(obj2
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 (arg1
)->LeftOf(arg2
,arg3
);
40396 wxPyEndAllowThreads(__tstate
);
40397 if (PyErr_Occurred()) SWIG_fail
;
40399 Py_INCREF(Py_None
); resultobj
= Py_None
;
40406 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
;
40408 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40409 wxWindow
*arg2
= (wxWindow
*) 0 ;
40410 int arg3
= (int) 0 ;
40411 PyObject
* obj0
= 0 ;
40412 PyObject
* obj1
= 0 ;
40413 PyObject
* obj2
= 0 ;
40414 char *kwnames
[] = {
40415 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40424 arg3
= (int)SWIG_As_int(obj2
);
40425 if (PyErr_Occurred()) SWIG_fail
;
40428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40429 (arg1
)->RightOf(arg2
,arg3
);
40431 wxPyEndAllowThreads(__tstate
);
40432 if (PyErr_Occurred()) SWIG_fail
;
40434 Py_INCREF(Py_None
); resultobj
= Py_None
;
40441 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40442 PyObject
*resultobj
;
40443 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40444 wxWindow
*arg2
= (wxWindow
*) 0 ;
40445 int arg3
= (int) 0 ;
40446 PyObject
* obj0
= 0 ;
40447 PyObject
* obj1
= 0 ;
40448 PyObject
* obj2
= 0 ;
40449 char *kwnames
[] = {
40450 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40459 arg3
= (int)SWIG_As_int(obj2
);
40460 if (PyErr_Occurred()) SWIG_fail
;
40463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40464 (arg1
)->Above(arg2
,arg3
);
40466 wxPyEndAllowThreads(__tstate
);
40467 if (PyErr_Occurred()) SWIG_fail
;
40469 Py_INCREF(Py_None
); resultobj
= Py_None
;
40476 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40477 PyObject
*resultobj
;
40478 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40479 wxWindow
*arg2
= (wxWindow
*) 0 ;
40480 int arg3
= (int) 0 ;
40481 PyObject
* obj0
= 0 ;
40482 PyObject
* obj1
= 0 ;
40483 PyObject
* obj2
= 0 ;
40484 char *kwnames
[] = {
40485 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40494 arg3
= (int)SWIG_As_int(obj2
);
40495 if (PyErr_Occurred()) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 (arg1
)->Below(arg2
,arg3
);
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40504 Py_INCREF(Py_None
); resultobj
= Py_None
;
40511 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40514 wxWindow
*arg2
= (wxWindow
*) 0 ;
40516 int arg4
= (int) 0 ;
40517 PyObject
* obj0
= 0 ;
40518 PyObject
* obj1
= 0 ;
40519 PyObject
* obj2
= 0 ;
40520 PyObject
* obj3
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40530 arg3
= (int)SWIG_As_int(obj2
);
40531 if (PyErr_Occurred()) SWIG_fail
;
40533 arg4
= (int)SWIG_As_int(obj3
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40538 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40540 wxPyEndAllowThreads(__tstate
);
40541 if (PyErr_Occurred()) SWIG_fail
;
40543 Py_INCREF(Py_None
); resultobj
= Py_None
;
40550 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40551 PyObject
*resultobj
;
40552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40553 wxWindow
*arg2
= (wxWindow
*) 0 ;
40556 PyObject
* obj0
= 0 ;
40557 PyObject
* obj1
= 0 ;
40558 PyObject
* obj2
= 0 ;
40559 PyObject
* obj3
= 0 ;
40560 char *kwnames
[] = {
40561 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40569 arg3
= (int)SWIG_As_int(obj2
);
40570 if (PyErr_Occurred()) SWIG_fail
;
40571 arg4
= (int)SWIG_As_int(obj3
);
40572 if (PyErr_Occurred()) SWIG_fail
;
40574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40575 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40580 Py_INCREF(Py_None
); resultobj
= Py_None
;
40587 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40588 PyObject
*resultobj
;
40589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40591 PyObject
* obj0
= 0 ;
40592 PyObject
* obj1
= 0 ;
40593 char *kwnames
[] = {
40594 (char *) "self",(char *) "val", NULL
40597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40600 arg2
= (int)SWIG_As_int(obj1
);
40601 if (PyErr_Occurred()) SWIG_fail
;
40603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40604 (arg1
)->Absolute(arg2
);
40606 wxPyEndAllowThreads(__tstate
);
40607 if (PyErr_Occurred()) SWIG_fail
;
40609 Py_INCREF(Py_None
); resultobj
= Py_None
;
40616 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40617 PyObject
*resultobj
;
40618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40619 PyObject
* obj0
= 0 ;
40620 char *kwnames
[] = {
40621 (char *) "self", NULL
40624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40629 (arg1
)->Unconstrained();
40631 wxPyEndAllowThreads(__tstate
);
40632 if (PyErr_Occurred()) SWIG_fail
;
40634 Py_INCREF(Py_None
); resultobj
= Py_None
;
40641 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40642 PyObject
*resultobj
;
40643 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40644 PyObject
* obj0
= 0 ;
40645 char *kwnames
[] = {
40646 (char *) "self", NULL
40649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 wxPyEndAllowThreads(__tstate
);
40657 if (PyErr_Occurred()) SWIG_fail
;
40659 Py_INCREF(Py_None
); resultobj
= Py_None
;
40666 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40667 PyObject
*resultobj
;
40668 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40670 PyObject
* obj0
= 0 ;
40671 char *kwnames
[] = {
40672 (char *) "self", NULL
40675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40682 wxPyEndAllowThreads(__tstate
);
40683 if (PyErr_Occurred()) SWIG_fail
;
40686 resultobj
= wxPyMake_wxObject(result
, 0);
40694 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40695 PyObject
*resultobj
;
40696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40698 PyObject
* obj0
= 0 ;
40699 char *kwnames
[] = {
40700 (char *) "self", NULL
40703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40708 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40710 wxPyEndAllowThreads(__tstate
);
40711 if (PyErr_Occurred()) SWIG_fail
;
40713 resultobj
= SWIG_From_int((int)result
);
40720 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40721 PyObject
*resultobj
;
40722 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40724 PyObject
* obj0
= 0 ;
40725 PyObject
* obj1
= 0 ;
40726 char *kwnames
[] = {
40727 (char *) "self",(char *) "which", NULL
40730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40733 arg2
= (int)SWIG_As_int(obj1
);
40734 if (PyErr_Occurred()) SWIG_fail
;
40736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40737 (arg1
)->SetEdge((wxEdge
)arg2
);
40739 wxPyEndAllowThreads(__tstate
);
40740 if (PyErr_Occurred()) SWIG_fail
;
40742 Py_INCREF(Py_None
); resultobj
= Py_None
;
40749 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40750 PyObject
*resultobj
;
40751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40753 PyObject
* obj0
= 0 ;
40754 PyObject
* obj1
= 0 ;
40755 char *kwnames
[] = {
40756 (char *) "self",(char *) "v", NULL
40759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40762 arg2
= (int)SWIG_As_int(obj1
);
40763 if (PyErr_Occurred()) SWIG_fail
;
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 (arg1
)->SetValue(arg2
);
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 Py_INCREF(Py_None
); resultobj
= Py_None
;
40778 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40779 PyObject
*resultobj
;
40780 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40782 PyObject
* obj0
= 0 ;
40783 char *kwnames
[] = {
40784 (char *) "self", NULL
40787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 result
= (int)(arg1
)->GetMargin();
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_From_int((int)result
);
40804 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40808 PyObject
* obj0
= 0 ;
40809 PyObject
* obj1
= 0 ;
40810 char *kwnames
[] = {
40811 (char *) "self",(char *) "m", NULL
40814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40817 arg2
= (int)SWIG_As_int(obj1
);
40818 if (PyErr_Occurred()) SWIG_fail
;
40820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40821 (arg1
)->SetMargin(arg2
);
40823 wxPyEndAllowThreads(__tstate
);
40824 if (PyErr_Occurred()) SWIG_fail
;
40826 Py_INCREF(Py_None
); resultobj
= Py_None
;
40833 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40834 PyObject
*resultobj
;
40835 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40837 PyObject
* obj0
= 0 ;
40838 char *kwnames
[] = {
40839 (char *) "self", NULL
40842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40847 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40849 wxPyEndAllowThreads(__tstate
);
40850 if (PyErr_Occurred()) SWIG_fail
;
40852 resultobj
= SWIG_From_int((int)result
);
40859 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40860 PyObject
*resultobj
;
40861 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40863 PyObject
* obj0
= 0 ;
40864 char *kwnames
[] = {
40865 (char *) "self", NULL
40868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40873 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40875 wxPyEndAllowThreads(__tstate
);
40876 if (PyErr_Occurred()) SWIG_fail
;
40878 resultobj
= SWIG_From_int((int)result
);
40885 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40886 PyObject
*resultobj
;
40887 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40889 PyObject
* obj0
= 0 ;
40890 char *kwnames
[] = {
40891 (char *) "self", NULL
40894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40899 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40901 wxPyEndAllowThreads(__tstate
);
40902 if (PyErr_Occurred()) SWIG_fail
;
40904 resultobj
= SWIG_From_int((int)result
);
40911 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40912 PyObject
*resultobj
;
40913 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40915 PyObject
* obj0
= 0 ;
40916 char *kwnames
[] = {
40917 (char *) "self", NULL
40920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40927 wxPyEndAllowThreads(__tstate
);
40928 if (PyErr_Occurred()) SWIG_fail
;
40931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40939 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40940 PyObject
*resultobj
;
40941 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40943 PyObject
* obj0
= 0 ;
40944 PyObject
* obj1
= 0 ;
40945 char *kwnames
[] = {
40946 (char *) "self",(char *) "d", NULL
40949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40952 arg2
= (bool)SWIG_As_bool(obj1
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40956 (arg1
)->SetDone(arg2
);
40958 wxPyEndAllowThreads(__tstate
);
40959 if (PyErr_Occurred()) SWIG_fail
;
40961 Py_INCREF(Py_None
); resultobj
= Py_None
;
40968 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40969 PyObject
*resultobj
;
40970 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40972 PyObject
* obj0
= 0 ;
40973 char *kwnames
[] = {
40974 (char *) "self", NULL
40977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40982 result
= (int)(arg1
)->GetRelationship();
40984 wxPyEndAllowThreads(__tstate
);
40985 if (PyErr_Occurred()) SWIG_fail
;
40987 resultobj
= SWIG_From_int((int)result
);
40994 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40995 PyObject
*resultobj
;
40996 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40998 PyObject
* obj0
= 0 ;
40999 PyObject
* obj1
= 0 ;
41000 char *kwnames
[] = {
41001 (char *) "self",(char *) "r", NULL
41004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
41005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41007 arg2
= (int)SWIG_As_int(obj1
);
41008 if (PyErr_Occurred()) SWIG_fail
;
41010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41011 (arg1
)->SetRelationship((wxRelationship
)arg2
);
41013 wxPyEndAllowThreads(__tstate
);
41014 if (PyErr_Occurred()) SWIG_fail
;
41016 Py_INCREF(Py_None
); resultobj
= Py_None
;
41023 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41024 PyObject
*resultobj
;
41025 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41026 wxWindow
*arg2
= (wxWindow
*) 0 ;
41028 PyObject
* obj0
= 0 ;
41029 PyObject
* obj1
= 0 ;
41030 char *kwnames
[] = {
41031 (char *) "self",(char *) "otherW", NULL
41034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
41035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41041 result
= (bool)(arg1
)->ResetIfWin(arg2
);
41043 wxPyEndAllowThreads(__tstate
);
41044 if (PyErr_Occurred()) SWIG_fail
;
41047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41055 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41056 PyObject
*resultobj
;
41057 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41058 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
41059 wxWindow
*arg3
= (wxWindow
*) 0 ;
41061 PyObject
* obj0
= 0 ;
41062 PyObject
* obj1
= 0 ;
41063 PyObject
* obj2
= 0 ;
41064 char *kwnames
[] = {
41065 (char *) "self",(char *) "constraints",(char *) "win", NULL
41068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
41072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41073 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41077 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
41079 wxPyEndAllowThreads(__tstate
);
41080 if (PyErr_Occurred()) SWIG_fail
;
41083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41091 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41092 PyObject
*resultobj
;
41093 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41095 wxWindow
*arg3
= (wxWindow
*) 0 ;
41096 wxWindow
*arg4
= (wxWindow
*) 0 ;
41098 PyObject
* obj0
= 0 ;
41099 PyObject
* obj1
= 0 ;
41100 PyObject
* obj2
= 0 ;
41101 PyObject
* obj3
= 0 ;
41102 char *kwnames
[] = {
41103 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
41106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41109 arg2
= (int)SWIG_As_int(obj1
);
41110 if (PyErr_Occurred()) SWIG_fail
;
41111 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41113 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
41114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41117 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
41119 wxPyEndAllowThreads(__tstate
);
41120 if (PyErr_Occurred()) SWIG_fail
;
41122 resultobj
= SWIG_From_int((int)result
);
41129 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
41131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41132 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
41134 return Py_BuildValue((char *)"");
41136 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41137 PyObject
*resultobj
;
41138 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41139 wxIndividualLayoutConstraint
*result
;
41140 PyObject
* obj0
= 0 ;
41141 char *kwnames
[] = {
41142 (char *) "self", NULL
41145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
41146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41148 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
41150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41157 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41158 PyObject
*resultobj
;
41159 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41160 wxIndividualLayoutConstraint
*result
;
41161 PyObject
* obj0
= 0 ;
41162 char *kwnames
[] = {
41163 (char *) "self", NULL
41166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
41167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41169 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
41171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41178 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41179 PyObject
*resultobj
;
41180 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41181 wxIndividualLayoutConstraint
*result
;
41182 PyObject
* obj0
= 0 ;
41183 char *kwnames
[] = {
41184 (char *) "self", NULL
41187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
41188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41190 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
41192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41199 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41200 PyObject
*resultobj
;
41201 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41202 wxIndividualLayoutConstraint
*result
;
41203 PyObject
* obj0
= 0 ;
41204 char *kwnames
[] = {
41205 (char *) "self", NULL
41208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
41209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41211 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
41213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41220 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41221 PyObject
*resultobj
;
41222 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41223 wxIndividualLayoutConstraint
*result
;
41224 PyObject
* obj0
= 0 ;
41225 char *kwnames
[] = {
41226 (char *) "self", NULL
41229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41232 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41241 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41242 PyObject
*resultobj
;
41243 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41244 wxIndividualLayoutConstraint
*result
;
41245 PyObject
* obj0
= 0 ;
41246 char *kwnames
[] = {
41247 (char *) "self", NULL
41250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41253 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41262 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41263 PyObject
*resultobj
;
41264 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41265 wxIndividualLayoutConstraint
*result
;
41266 PyObject
* obj0
= 0 ;
41267 char *kwnames
[] = {
41268 (char *) "self", NULL
41271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41274 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41283 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41284 PyObject
*resultobj
;
41285 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41286 wxIndividualLayoutConstraint
*result
;
41287 PyObject
* obj0
= 0 ;
41288 char *kwnames
[] = {
41289 (char *) "self", NULL
41292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41295 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41304 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41305 PyObject
*resultobj
;
41306 wxLayoutConstraints
*result
;
41307 char *kwnames
[] = {
41311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41314 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41316 wxPyEndAllowThreads(__tstate
);
41317 if (PyErr_Occurred()) SWIG_fail
;
41319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41326 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41327 PyObject
*resultobj
;
41328 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41329 wxWindow
*arg2
= (wxWindow
*) 0 ;
41330 int *arg3
= (int *) 0 ;
41334 PyObject
* obj0
= 0 ;
41335 PyObject
* obj1
= 0 ;
41336 char *kwnames
[] = {
41337 (char *) "self",(char *) "win", NULL
41340 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41348 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41350 wxPyEndAllowThreads(__tstate
);
41351 if (PyErr_Occurred()) SWIG_fail
;
41354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41356 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41357 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41364 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41365 PyObject
*resultobj
;
41366 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41368 PyObject
* obj0
= 0 ;
41369 char *kwnames
[] = {
41370 (char *) "self", NULL
41373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41378 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41380 wxPyEndAllowThreads(__tstate
);
41381 if (PyErr_Occurred()) SWIG_fail
;
41384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41392 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41395 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41397 return Py_BuildValue((char *)"");
41399 static PyMethodDef SwigMethods
[] = {
41400 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41401 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41402 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41405 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41426 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41439 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41454 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41506 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41534 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41553 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41555 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41563 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41564 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41576 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41588 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41592 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41598 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41608 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41618 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41622 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41696 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41698 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41700 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41702 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41704 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41706 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41708 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41710 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41712 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41714 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41716 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41718 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41720 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41734 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41752 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41755 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41758 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41770 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41775 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41781 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41787 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41850 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41857 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41893 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41903 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41913 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41915 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41917 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41920 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41924 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41927 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41930 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41932 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41937 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41945 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41949 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41952 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41954 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41958 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41975 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41977 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41980 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41982 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41986 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41990 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41999 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
42002 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
42005 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
42009 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
42016 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
42021 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
42026 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
42071 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
42089 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
42096 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
42100 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
42110 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42279 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42321 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42335 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42338 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42364 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42393 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42404 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42420 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42432 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42437 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42444 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42446 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42464 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42471 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42472 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42486 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42489 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42490 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42501 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42504 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42508 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42511 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42516 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42521 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42527 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42533 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42536 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42543 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42553 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42556 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42557 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42559 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42560 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42562 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42564 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42565 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42566 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42567 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42571 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42574 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42575 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42576 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42577 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42578 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42583 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42589 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42599 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42609 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42610 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42622 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42623 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42624 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42625 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42626 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42627 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42628 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42629 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42630 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42631 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42632 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42633 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42634 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42635 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42636 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42637 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42638 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42639 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42640 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42641 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42642 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42643 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42644 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42645 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42646 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42647 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42648 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42649 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42650 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42651 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42652 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42653 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42654 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42655 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42656 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42657 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42658 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42659 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42660 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42661 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42662 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42663 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42664 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42665 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42666 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42667 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42668 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42669 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42670 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42671 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42672 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42673 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42674 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42675 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42676 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42677 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42678 { NULL
, NULL
, 0, NULL
}
42682 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42684 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42685 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42687 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42688 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42690 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42691 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42693 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42694 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42696 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42697 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42699 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42700 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42702 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42703 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42705 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42706 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42708 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42711 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42712 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42714 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42715 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42717 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42718 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42720 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42721 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42723 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42724 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42726 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42727 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42729 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42732 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42733 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42735 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42736 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42738 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42739 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42741 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42744 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42745 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42747 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42748 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42750 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42751 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42753 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42754 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42756 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42757 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42759 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42760 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42762 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42763 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42765 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42766 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42768 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42771 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42772 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42774 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42775 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42777 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42778 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42780 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42781 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42783 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42784 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42786 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42787 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42789 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42792 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42793 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42795 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42796 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42798 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42801 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42802 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42804 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42805 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42807 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42808 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42810 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42811 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42813 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42814 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42816 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42817 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42819 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42820 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42822 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42823 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42825 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42826 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42828 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42829 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42831 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42832 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42834 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42837 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42838 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42840 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42841 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42843 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42844 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42846 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42847 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42849 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42850 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42852 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42853 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42855 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42856 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42858 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42859 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42861 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42862 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42864 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42865 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42867 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42868 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42870 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42871 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42873 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42874 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42876 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42877 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42879 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42880 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42882 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42883 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42885 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42886 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42888 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42889 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42891 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42892 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42894 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42895 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42897 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42898 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42900 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42901 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42903 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42904 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42906 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42907 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42909 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42910 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42912 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42913 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42915 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42916 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42918 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42919 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42921 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42924 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42925 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42927 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42928 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42930 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42931 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42933 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42934 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42936 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42939 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42942 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42943 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42945 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42946 return (void *)((wxObject
*) ((wxSizer
*) x
));
42948 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42949 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42951 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42952 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42954 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42955 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42957 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42958 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42960 static void *_p_wxImageTo_p_wxObject(void *x
) {
42961 return (void *)((wxObject
*) ((wxImage
*) x
));
42963 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42966 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42969 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42970 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42972 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42975 static void *_p_wxControlTo_p_wxObject(void *x
) {
42976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42978 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42979 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42981 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42982 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42984 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42985 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42987 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42988 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42990 static void *_p_wxEventTo_p_wxObject(void *x
) {
42991 return (void *)((wxObject
*) ((wxEvent
*) x
));
42993 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42994 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42996 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42997 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42999 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
43000 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
43002 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
43003 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
43005 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
43006 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
43008 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
43009 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
43011 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
43012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43014 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
43015 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
43017 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
43018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
43020 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
43021 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
43023 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
43024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
43026 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
43027 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
43029 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
43030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
43032 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
43033 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
43035 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
43036 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
43038 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
43039 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
43041 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
43042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
43044 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
43045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
43047 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
43048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
43050 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
43051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
43053 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
43054 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43056 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43059 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43060 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43062 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43063 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43065 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43068 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43069 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43071 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43072 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43074 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43075 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43077 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43078 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43080 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43081 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43083 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43084 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43086 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43089 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43090 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43092 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43093 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43095 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43096 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43098 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43099 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43101 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43102 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43104 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43105 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43107 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43108 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43110 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43113 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43114 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43116 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43117 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43119 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43122 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43123 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43125 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43126 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43128 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43129 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43131 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43132 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43134 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43135 return (void *)((wxWindow
*) ((wxControl
*) x
));
43137 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43138 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43140 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43141 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43143 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43144 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43146 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43147 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43149 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43150 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43152 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43153 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43155 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43156 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43158 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43159 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43162 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43164 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43165 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43167 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43168 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43170 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}};
43171 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}};
43172 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}};
43173 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}};
43174 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}};
43175 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}};
43176 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}};
43177 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}};
43178 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}};
43179 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}};
43180 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}};
43181 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}};
43182 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}};
43183 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}};
43184 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}};
43185 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}};
43186 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}};
43187 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}};
43188 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}};
43189 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}};
43190 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}};
43191 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}};
43192 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}};
43193 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}};
43194 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}};
43195 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}};
43196 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}};
43197 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}};
43198 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}};
43199 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}};
43200 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}};
43201 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}};
43202 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}};
43203 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}};
43204 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}};
43205 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}};
43206 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}};
43207 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}};
43208 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}};
43209 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}};
43210 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}};
43211 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}};
43212 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}};
43213 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}};
43214 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}};
43215 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}};
43216 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}};
43217 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}};
43218 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}};
43219 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}};
43220 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}};
43221 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}};
43222 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}};
43223 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}};
43224 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}};
43225 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}};
43226 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}};
43227 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}};
43228 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}};
43229 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}};
43230 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}};
43231 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}};
43232 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}};
43233 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}};
43234 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}};
43235 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}};
43236 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}};
43237 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}};
43238 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}};
43239 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}};
43240 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}};
43241 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}};
43242 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}};
43243 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}};
43244 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}};
43245 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}};
43246 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}};
43247 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}};
43248 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}};
43249 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}};
43250 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}};
43251 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}};
43252 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}};
43253 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}};
43254 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}};
43255 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}};
43256 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}};
43257 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}};
43258 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}};
43259 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}};
43260 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}};
43261 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}};
43262 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}};
43263 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}};
43264 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}};
43265 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}};
43266 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}};
43267 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}};
43268 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}};
43269 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}};
43270 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}};
43271 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}};
43272 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}};
43273 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}};
43274 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}};
43275 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}};
43276 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}};
43277 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}};
43278 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}};
43279 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}};
43280 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}};
43281 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}};
43282 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}};
43283 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}};
43284 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}};
43285 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}};
43286 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}};
43288 static swig_type_info
*swig_types_initial
[] = {
43289 _swigt__p_wxLayoutConstraints
,
43290 _swigt__p_wxRealPoint
,
43291 _swigt__p_wxSizerItem
,
43292 _swigt__p_wxGBSizerItem
,
43293 _swigt__p_wxScrollEvent
,
43294 _swigt__p_wxEventLoop
,
43295 _swigt__p_wxIndividualLayoutConstraint
,
43297 _swigt__p_wxBoxSizer
,
43298 _swigt__p_wxStaticBoxSizer
,
43299 _swigt__p_wxGridBagSizer
,
43300 _swigt__p_wxAcceleratorEntry
,
43301 _swigt__p_wxUpdateUIEvent
,
43304 _swigt__p_wxGridSizer
,
43305 _swigt__p_wxFlexGridSizer
,
43306 _swigt__p_wxInitDialogEvent
,
43307 _swigt__p_wxItemContainer
,
43308 _swigt__p_wxNcPaintEvent
,
43309 _swigt__p_wxPaintEvent
,
43310 _swigt__p_wxSysColourChangedEvent
,
43311 _swigt__p_wxMouseCaptureChangedEvent
,
43312 _swigt__p_wxDisplayChangedEvent
,
43313 _swigt__p_wxPaletteChangedEvent
,
43314 _swigt__p_wxControl
,
43316 _swigt__p_wxMenuBarBase
,
43317 _swigt__p_wxSetCursorEvent
,
43318 _swigt__p_wxFSFile
,
43320 _swigt__p_wxRegion
,
43321 _swigt__p_wxPoint2D
,
43325 _swigt__p_wxPySizer
,
43326 _swigt__p_wxVisualAttributes
,
43327 _swigt__p_wxNotifyEvent
,
43328 _swigt__p_wxPyEvent
,
43329 _swigt__p_wxPropagationDisabler
,
43330 _swigt__p_wxAppTraits
,
43331 _swigt__p_wxArrayString
,
43332 _swigt__p_wxShowEvent
,
43333 _swigt__p_wxToolTip
,
43334 _swigt__p_wxIconizeEvent
,
43335 _swigt__p_wxActivateEvent
,
43336 _swigt__p_wxMoveEvent
,
43337 _swigt__p_wxSizeEvent
,
43338 _swigt__p_wxMaximizeEvent
,
43339 _swigt__p_wxQueryNewPaletteEvent
,
43340 _swigt__p_wxWindowCreateEvent
,
43341 _swigt__p_wxIdleEvent
,
43342 _swigt__p_wxMenuItem
,
43343 _swigt__p_wxStaticBox
,
43345 _swigt__p_wxTIFFHandler
,
43346 _swigt__p_wxXPMHandler
,
43347 _swigt__p_wxPNMHandler
,
43348 _swigt__p_wxJPEGHandler
,
43349 _swigt__p_wxPCXHandler
,
43350 _swigt__p_wxGIFHandler
,
43351 _swigt__p_wxPNGHandler
,
43352 _swigt__p_wxANIHandler
,
43353 _swigt__p_wxMemoryFSHandler
,
43354 _swigt__p_wxEvtHandler
,
43355 _swigt__p_wxCURHandler
,
43356 _swigt__p_wxICOHandler
,
43357 _swigt__p_wxBMPHandler
,
43358 _swigt__p_wxImageHandler
,
43359 _swigt__p_wxFileSystemHandler
,
43360 _swigt__p_wxPyFileSystemHandler
,
43361 _swigt__p_wxInternetFSHandler
,
43362 _swigt__p_wxZipFSHandler
,
43364 _swigt__p_wxGBSpan
,
43365 _swigt__p_wxPropagateOnce
,
43366 _swigt__p_wxAcceleratorTable
,
43368 _swigt__p_wxGBPosition
,
43371 _swigt__p_wxScrollWinEvent
,
43372 _swigt__p_wxImageHistogram
,
43375 _swigt__p_wxCursor
,
43376 _swigt__p_wxObject
,
43377 _swigt__p_wxPyInputStream
,
43378 _swigt__p_wxOutputStream
,
43379 _swigt__p_wxInputStream
,
43380 _swigt__p_wxDateTime
,
43381 _swigt__p_wxKeyEvent
,
43382 _swigt__p_wxNavigationKeyEvent
,
43383 _swigt__p_wxWindowDestroyEvent
,
43384 _swigt__p_wxWindow
,
43385 _swigt__p_wxMenuBar
,
43386 _swigt__p_wxFileSystem
,
43387 _swigt__p_wxBitmap
,
43388 _swigt__p_wxMenuEvent
,
43389 _swigt__p_wxContextMenuEvent
,
43390 _swigt__p_unsigned_char
,
43391 _swigt__p_wxCloseEvent
,
43392 _swigt__p_wxEraseEvent
,
43393 _swigt__p_wxMouseEvent
,
43395 _swigt__p_wxCommandEvent
,
43396 _swigt__p_wxPyCommandEvent
,
43397 _swigt__p_wxPyDropTarget
,
43398 _swigt__p_wxQuantize
,
43399 _swigt__p_wxChildFocusEvent
,
43400 _swigt__p_wxFocusEvent
,
43401 _swigt__p_wxDropFilesEvent
,
43402 _swigt__p_wxControlWithItems
,
43403 _swigt__p_wxColour
,
43404 _swigt__p_wxValidator
,
43405 _swigt__p_wxPyValidator
,
43410 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43412 static swig_const_info swig_const_table
[] = {
43413 {0, 0, 0, 0.0, 0, 0}};
43422 SWIGEXPORT(void) SWIG_init(void) {
43423 static PyObject
*SWIG_globals
= 0;
43424 static int typeinit
= 0;
43427 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43428 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43429 d
= PyModule_GetDict(m
);
43432 for (i
= 0; swig_types_initial
[i
]; i
++) {
43433 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43437 SWIG_InstallConstants(d
,swig_const_table
);
43440 #ifndef wxPyUSE_EXPORT
43441 // Make our API structure a CObject so other modules can import it
43442 // from this module.
43443 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43444 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43448 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43449 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43450 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43451 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43452 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43453 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43454 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43455 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43456 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43457 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43458 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43459 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43460 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43461 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43462 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43463 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43464 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43465 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43466 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43467 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43468 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43469 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43470 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43471 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43472 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43473 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43474 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43475 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43476 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43477 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43478 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43479 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43480 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43481 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43482 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43483 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43484 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43485 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43486 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43487 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43488 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43489 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43490 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43491 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43492 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43493 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43494 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43495 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43496 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43497 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43498 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43499 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43500 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43501 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43502 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43503 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43504 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43505 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43506 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43507 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43508 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43509 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43510 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43511 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43512 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43513 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43514 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43515 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43516 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43517 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43518 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43519 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43520 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43521 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43522 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43523 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43524 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43525 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43526 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43527 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43528 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43529 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43530 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43531 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43532 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43533 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43534 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43535 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43536 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43537 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43538 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43539 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43540 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43541 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43542 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43543 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43544 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43545 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43546 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43547 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43548 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43549 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43550 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43551 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43552 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43553 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43554 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43555 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43556 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43557 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43558 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43559 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43560 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43561 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43562 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43563 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43564 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43565 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43566 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43567 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43568 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43569 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43570 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43571 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43572 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43573 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43574 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43575 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43576 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43577 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43578 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43579 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43580 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43581 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43582 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43583 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43584 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43585 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43586 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43587 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43588 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43589 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43590 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43591 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43592 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43593 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43594 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43595 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43596 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43597 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43598 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43599 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43600 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43601 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43602 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43603 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43604 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43605 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43606 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43607 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43608 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43609 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43610 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43611 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43612 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43613 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43614 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43615 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43616 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43617 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43618 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43619 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43620 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43621 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43622 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43623 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43624 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43625 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43626 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43627 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43628 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43629 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43630 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43631 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43632 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43633 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43634 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43635 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43636 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43637 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43638 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43639 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43640 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43641 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43642 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43643 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43644 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43645 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43646 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43647 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43648 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43649 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43650 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43651 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43652 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43653 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43654 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43655 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43656 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43657 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43658 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43659 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43660 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43661 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43662 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43663 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43664 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43665 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43666 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43667 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43668 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43669 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43670 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43671 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43672 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43673 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43674 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43675 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43676 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43677 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43678 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43679 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43680 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43681 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43682 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43683 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43684 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43685 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43686 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43687 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43688 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43689 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43690 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43691 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43692 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43693 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43694 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43695 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43696 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43697 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43698 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43699 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43700 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43701 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43702 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43703 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43704 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43705 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43706 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43707 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43708 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43709 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43710 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43711 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43712 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43713 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43714 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43715 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43716 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43717 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43718 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43719 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43720 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43721 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43722 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43723 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43724 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43725 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43726 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43727 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43728 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43729 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43730 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43731 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43732 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43733 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43734 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43735 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43736 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43737 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43738 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43739 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43740 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43741 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43742 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43743 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43744 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43745 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43746 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43747 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43748 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43749 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43750 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43751 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43752 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43753 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43754 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43755 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43756 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43757 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43758 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43759 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43760 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43761 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43762 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43763 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43764 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43765 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43766 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43767 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43768 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43769 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43770 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43771 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43772 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43773 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43774 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43775 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43776 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43777 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43778 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43779 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43780 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43781 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43782 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43783 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43784 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43785 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43786 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43787 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43788 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43789 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43790 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43791 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43792 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43793 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43794 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43795 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43796 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43797 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43798 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43799 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43800 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43801 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43802 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43803 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43804 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43805 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43806 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43807 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43808 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43809 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43810 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43811 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43812 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43813 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43814 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43815 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43816 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43817 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43818 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43819 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43820 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43821 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43822 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43823 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43824 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43825 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43826 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43827 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43828 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43829 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43830 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43831 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43832 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43833 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43834 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43835 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43836 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43837 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43838 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43839 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43840 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43841 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43842 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43843 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43844 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43845 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43846 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43847 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43848 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43849 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43850 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43851 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43852 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43853 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43854 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43855 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43856 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43857 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43858 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43859 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43860 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43861 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43862 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43863 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43864 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43865 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43866 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43867 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43868 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43869 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43870 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43871 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43872 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43873 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43874 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43875 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43876 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43877 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43878 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43879 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43880 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43881 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43882 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43883 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43884 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43885 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43886 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43887 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43888 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43889 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43890 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43891 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43892 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43893 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43894 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43895 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43896 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43897 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43898 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43899 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43900 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43901 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43902 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43903 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43904 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43905 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43906 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43907 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43908 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43909 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43910 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43911 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43912 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43913 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43914 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43915 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43916 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43917 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43918 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43919 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43920 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43921 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43922 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43923 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43924 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43925 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43926 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43927 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43928 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43929 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43930 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43931 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43932 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43933 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43934 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43935 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43936 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43937 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43938 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43939 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43940 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43941 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43942 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43943 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43944 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43945 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43946 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43947 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43948 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43949 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43950 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43951 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43952 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43953 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43954 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43955 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43956 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43957 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43958 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43959 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43960 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43961 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43962 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43963 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43964 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43965 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43966 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43967 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43968 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43969 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43970 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43971 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43972 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43973 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43974 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43975 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43976 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43977 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43978 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43979 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43980 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43981 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43982 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43983 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43984 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43985 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43986 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43987 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43988 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43989 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43990 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43991 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43992 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43993 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43994 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43995 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43996 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43997 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43998 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43999 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
44000 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
44001 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
44002 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
44003 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
44004 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
44005 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
44006 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
44007 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
44008 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
44009 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
44010 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
44011 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
44012 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
44013 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
44014 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
44015 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
44016 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
44017 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
44018 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
44019 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
44020 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
44021 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
44022 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
44023 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
44024 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
44025 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
44026 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
44027 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
44028 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
44029 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
44030 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
44031 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
44032 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
44033 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
44034 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
44035 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
44036 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
44037 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
44038 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
44039 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
44040 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
44041 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
44042 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
44043 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
44044 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
44045 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
44046 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
44048 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
44051 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
44053 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
44054 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
44055 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
44056 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
44057 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
44058 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
44059 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
44060 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
44061 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
44062 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
44063 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
44064 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
44065 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
44066 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
44067 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
44068 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
44069 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
44070 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
44071 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
44072 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
44073 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
44074 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
44075 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
44076 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
44077 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
44078 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
44079 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
44080 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
44081 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
44082 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
44083 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
44084 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
44085 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
44086 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
44087 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
44088 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
44089 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
44090 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
44091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
44092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
44093 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
44094 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
44095 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
44096 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
44097 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
44098 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
44099 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
44100 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
44101 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
44102 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
44103 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
44104 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
44105 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
44106 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
44107 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
44108 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
44109 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
44110 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
44111 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
44112 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
44113 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
44114 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
44115 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
44116 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
44117 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
44118 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
44119 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
44120 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
44121 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
44122 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
44123 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
44124 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
44125 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
44126 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
44127 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
44128 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
44129 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
44130 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
44131 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
44132 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
44133 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
44134 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
44135 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
44136 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
44137 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
44138 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
44139 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
44140 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
44141 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
44142 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
44143 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
44144 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
44145 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
44146 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
44147 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
44148 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
44149 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
44150 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
44151 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
44152 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
44153 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
44154 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
44155 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
44156 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
44157 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
44158 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
44159 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
44160 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
44161 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
44162 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
44163 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
44164 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
44165 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
44166 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
44167 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
44168 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
44169 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
44170 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
44171 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
44172 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
44173 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
44174 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
44175 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
44176 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
44177 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
44178 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
44179 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
44180 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
44181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
44182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
44183 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
44184 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
44185 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
44186 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
44187 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
44188 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
44189 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
44190 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
44191 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
44192 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
44193 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
44194 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
44195 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
44196 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
44197 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
44198 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
44199 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
44200 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
44201 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
44202 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
44203 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
44204 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
44205 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
44206 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
44207 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
44208 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
44209 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
44210 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
44211 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
44212 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
44213 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
44214 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
44215 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
44216 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
44217 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
44218 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
44219 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
44220 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
44221 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
44222 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
44223 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
44224 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
44225 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
44226 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
44227 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
44228 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
44229 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
44230 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
44231 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
44232 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
44233 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
44234 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44235 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44236 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44237 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44239 // Initialize threading, some globals and such
44243 // Although these are defined in __version__ they need to be here too so
44244 // that an assert can be done to ensure that the wxPython and the wxWindows
44246 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44247 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44248 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));