1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxSize
wxImage_GetSize(wxImage
*self
){
1260 wxSize
size(self
->GetWidth(), self
->GetHeight());
1263 PyObject
*wxImage_GetData(wxImage
*self
){
1264 unsigned char* data
= self
->GetData();
1265 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1267 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1270 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1271 unsigned char* dataPtr
;
1273 if (! PyString_Check(data
)) {
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1275 "Expected string object"));
1279 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 dataPtr
= (unsigned char*) malloc(len
);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1282 self
->SetData(dataPtr
);
1283 // wxImage takes ownership of dataPtr...
1285 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1286 unsigned char* data
= self
->GetData();
1287 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1289 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1292 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1293 unsigned char* buffer
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1300 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1304 self
->SetData(buffer
);
1306 wxPyEndBlockThreads(blocked
);
1308 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1309 unsigned char* data
= self
->GetAlpha();
1313 int len
= self
->GetWidth() * self
->GetHeight();
1315 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1319 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1320 unsigned char* dataPtr
;
1322 if (! PyString_Check(data
)) {
1323 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1327 size_t len
= self
->GetWidth() * self
->GetHeight();
1328 dataPtr
= (unsigned char*) malloc(len
);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1330 self
->SetAlpha(dataPtr
);
1331 // wxImage takes ownership of dataPtr...
1333 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1334 unsigned char* data
= self
->GetAlpha();
1335 int len
= self
->GetWidth() * self
->GetHeight();
1337 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1340 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1341 unsigned char* buffer
;
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1348 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1352 self
->SetAlpha(buffer
);
1354 wxPyEndBlockThreads(blocked
);
1357 SWIGSTATICINLINE(unsigned long)
1358 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1361 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1367 memset((void*)&v
, 0, sizeof(unsigned long));
1373 SWIGSTATICINLINE(int)
1374 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1376 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1379 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1380 wxBitmap
bitmap(*self
, depth
);
1383 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1384 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1385 wxBitmap
bitmap( mono
, 1 );
1388 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1389 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1390 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1391 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1392 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1394 #include <wx/quantize.h>
1396 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1397 return wxQuantize::Quantize(src
, dest
,
1400 NULL
, // eightBitData
1403 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1404 if (PyCallable_Check(func
)) {
1405 self
->Connect(id
, lastId
, eventType
,
1406 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1407 new wxPyCallback(func
));
1409 else if (func
== Py_None
) {
1410 self
->Disconnect(id
, lastId
, eventType
,
1411 (wxObjectEventFunction
)
1412 &wxPyCallback::EventThunker
);
1416 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1419 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1420 return self
->Disconnect(id
, lastId
, eventType
,
1421 (wxObjectEventFunction
)
1422 &wxPyCallback::EventThunker
);
1424 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1425 if (_self
&& _self
!= Py_None
) {
1426 self
->SetClientObject(new wxPyOORClientData(_self
));
1429 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1431 self
->SetClientObject(NULL
); // This will delete it too
1436 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1438 return self
->GetUnicodeKey();
1444 #if UINT_MAX < LONG_MAX
1445 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1450 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1455 #if UINT_MAX != ULONG_MAX
1456 SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1459 const char* errmsg
= val
? "unsigned int" : 0;
1461 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1462 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1463 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1470 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1478 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1483 SWIGSTATICINLINE(unsigned int)
1484 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1487 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1493 memset((void*)&v
, 0, sizeof(unsigned int));
1499 SWIGSTATICINLINE(int)
1500 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1502 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1505 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1506 self
->m_size
= size
;
1508 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1511 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1512 int count
= self
->GetNumberOfFiles();
1513 wxString
* files
= self
->GetFiles();
1514 PyObject
* list
= PyList_New(count
);
1517 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1521 for (int i
=0; i
<count
; i
++) {
1522 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1528 wxPyApp
*new_wxPyApp(){
1529 wxPythonApp
= new wxPyApp();
1533 void wxApp_CleanUp() {
1538 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1543 // A dummy class that raises an exception if used...
1547 wxEventLoop() { wxPyRaiseNotImplemented(); }
1548 int Run() { return 0; }
1549 void Exit(int rc
= 0) {}
1550 bool Pending() const { return false; }
1551 bool Dispatch() { return false; }
1552 bool IsRunning() const { return false; }
1553 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1554 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1559 #include <wx/evtloop.h>
1565 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1566 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1567 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1568 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1569 wxWindowList
& list
= self
->GetChildren();
1570 return wxPy_ConvertList(&list
);
1572 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1574 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1579 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1586 long wxWindow_GetHandle(wxWindow
*self
){
1587 return wxPyGetWinHandle(self
);
1589 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1590 self
->AssociateHandle((WXWidget
)handle
);
1593 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1594 return wxWindow::FindWindowById(id
, parent
);
1597 wxWindow
* wxFindWindowByName( const wxString
& name
,
1598 const wxWindow
*parent
= NULL
) {
1599 return wxWindow::FindWindowByName(name
, parent
);
1602 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1603 const wxWindow
*parent
= NULL
) {
1604 return wxWindow::FindWindowByLabel(label
, parent
);
1609 #include <wx/msw/private.h> // to get wxGetWindowId
1613 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1615 WXHWND hWnd
= (WXHWND
)_hWnd
;
1616 long id
= wxGetWindowId(hWnd
);
1617 wxWindow
* win
= new wxWindow
;
1618 parent
->AddChild(win
);
1619 win
->SetEventHandler(win
);
1622 win
->SubclassWin(hWnd
);
1623 win
->AdoptAttributesFromHWND();
1624 win
->SetupColours();
1627 wxPyRaiseNotImplemented();
1633 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1634 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1637 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1639 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1640 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1641 wxMenuItemList
& list
= self
->GetMenuItems();
1642 return wxPy_ConvertList(&list
);
1644 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1645 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1647 wxPyClientData
* data
= new wxPyClientData(clientData
);
1648 return self
->Append(item
, data
);
1650 return self
->Append(item
);
1652 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1654 wxPyClientData
* data
= new wxPyClientData(clientData
);
1655 return self
->Insert(item
, pos
, data
);
1657 return self
->Insert(item
, pos
);
1659 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1660 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1662 Py_INCREF(data
->m_obj
);
1669 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1670 wxPyClientData
* data
= new wxPyClientData(clientData
);
1671 self
->SetClientObject(n
, data
);
1675 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1676 wxPyUserData
* data
= NULL
;
1678 bool blocked
= wxPyBeginBlockThreads();
1679 data
= new wxPyUserData(userData
);
1680 wxPyEndBlockThreads(blocked
);
1682 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1684 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1685 wxPyUserData
* data
= NULL
;
1687 bool blocked
= wxPyBeginBlockThreads();
1688 data
= new wxPyUserData(userData
);
1689 wxPyEndBlockThreads(blocked
);
1691 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1693 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1694 wxPyUserData
* data
= NULL
;
1696 bool blocked
= wxPyBeginBlockThreads();
1697 data
= new wxPyUserData(userData
);
1698 wxPyEndBlockThreads(blocked
);
1700 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1704 SWIGSTATICINLINE(int)
1705 SWIG_CheckDoubleInRange(double value
, double min_value
,
1706 double max_value
, const char* errmsg
)
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %g is less than %s minimum %g",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %g is greater than %s maximum %g",
1719 value
, errmsg
, max_value
);
1727 SWIGSTATICINLINE(int)
1728 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1730 const char* errmsg
= val
? "float" : 0;
1732 if (SWIG_AsVal_double(obj
, &v
)) {
1733 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1743 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1749 SWIGSTATICINLINE(float)
1750 SWIG_As_float(PyObject
* obj
)
1753 if (!SWIG_AsVal_float(obj
, &v
)) {
1755 this is needed to make valgrind/purify happier. the other
1756 solution is throw an exception, but since this code should work
1759 memset((void*)&v
, 0, sizeof(float));
1765 SWIGSTATICINLINE(int)
1766 SWIG_Check_float(PyObject
* obj
)
1768 return SWIG_AsVal_float(obj
, (float*)0);
1771 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1772 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1774 Py_INCREF(data
->m_obj
);
1782 // Figure out the type of the sizer item
1784 struct wxPySizerItemInfo
{
1786 : window(NULL
), sizer(NULL
), gotSize(false),
1787 size(wxDefaultSize
), gotPos(false), pos(-1)
1798 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1800 wxPySizerItemInfo info
;
1802 wxSize
* sizePtr
= &size
;
1804 // Find out what the type of the item is
1806 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1811 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1815 // try wxSize or (w,h)
1816 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1817 info
.size
= *sizePtr
;
1818 info
.gotSize
= true;
1822 if (checkIdx
&& PyInt_Check(item
)) {
1823 info
.pos
= PyInt_AsLong(item
);
1829 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1830 // no expected type, figure out what kind of error message to generate
1831 if ( !checkSize
&& !checkIdx
)
1832 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1833 else if ( checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1835 else if ( !checkSize
&& checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1838 // can this one happen?
1839 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1845 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1846 if (!self
->GetClientObject())
1847 self
->SetClientObject(new wxPyOORClientData(_self
));
1849 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1851 wxPyUserData
* data
= NULL
;
1852 bool blocked
= wxPyBeginBlockThreads();
1853 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1854 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1855 data
= new wxPyUserData(userData
);
1856 wxPyEndBlockThreads(blocked
);
1858 // Now call the real Add method if a valid item type was found
1860 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1861 else if ( info
.sizer
)
1862 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1863 else if (info
.gotSize
)
1864 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1865 proportion
, flag
, border
, data
);
1867 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1869 wxPyUserData
* data
= NULL
;
1870 bool blocked
= wxPyBeginBlockThreads();
1871 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1872 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1873 data
= new wxPyUserData(userData
);
1874 wxPyEndBlockThreads(blocked
);
1876 // Now call the real Insert method if a valid item type was found
1878 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1879 else if ( info
.sizer
)
1880 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1881 else if (info
.gotSize
)
1882 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1883 proportion
, flag
, border
, data
);
1885 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1887 wxPyUserData
* data
= NULL
;
1888 bool blocked
= wxPyBeginBlockThreads();
1889 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1890 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1891 data
= new wxPyUserData(userData
);
1892 wxPyEndBlockThreads(blocked
);
1894 // Now call the real Prepend method if a valid item type was found
1896 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1897 else if ( info
.sizer
)
1898 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1899 else if (info
.gotSize
)
1900 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1901 proportion
, flag
, border
, data
);
1903 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1904 bool blocked
= wxPyBeginBlockThreads();
1905 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1906 wxPyEndBlockThreads(blocked
);
1908 return self
->Remove(info
.window
);
1909 else if ( info
.sizer
)
1910 return self
->Remove(info
.sizer
);
1911 else if ( info
.gotPos
)
1912 return self
->Remove(info
.pos
);
1916 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1917 bool blocked
= wxPyBeginBlockThreads();
1918 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1919 wxPyEndBlockThreads(blocked
);
1921 return self
->Detach(info
.window
);
1922 else if ( info
.sizer
)
1923 return self
->Detach(info
.sizer
);
1924 else if ( info
.gotPos
)
1925 return self
->Detach(info
.pos
);
1929 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1930 bool blocked
= wxPyBeginBlockThreads();
1931 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1932 wxPyEndBlockThreads(blocked
);
1934 self
->SetItemMinSize(info
.window
, size
);
1935 else if ( info
.sizer
)
1936 self
->SetItemMinSize(info
.sizer
, size
);
1937 else if ( info
.gotPos
)
1938 self
->SetItemMinSize(info
.pos
, size
);
1940 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1941 wxSizerItemList
& list
= self
->GetChildren();
1942 return wxPy_ConvertList(&list
);
1944 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1945 bool blocked
= wxPyBeginBlockThreads();
1946 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1947 wxPyEndBlockThreads(blocked
);
1949 return self
->Show(info
.window
, show
, recursive
);
1950 else if ( info
.sizer
)
1951 return self
->Show(info
.sizer
, show
, recursive
);
1952 else if ( info
.gotPos
)
1953 return self
->Show(info
.pos
, show
);
1957 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1958 bool blocked
= wxPyBeginBlockThreads();
1959 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1960 wxPyEndBlockThreads(blocked
);
1962 return self
->IsShown(info
.window
);
1963 else if ( info
.sizer
)
1964 return self
->IsShown(info
.sizer
);
1965 else if ( info
.gotPos
)
1966 return self
->IsShown(info
.pos
);
1972 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1973 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1974 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1979 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1981 if (source
== Py_None
) {
1982 **obj
= wxGBPosition(-1,-1);
1985 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1988 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1990 if (source
== Py_None
) {
1991 **obj
= wxGBSpan(-1,-1);
1994 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1998 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2002 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2003 bool blocked
= wxPyBeginBlockThreads();
2004 PyObject
* tup
= PyTuple_New(2);
2005 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2006 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2007 wxPyEndBlockThreads(blocked
);
2010 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2011 self
->SetRowspan(rowspan
);
2012 self
->SetColspan(colspan
);
2014 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2015 bool blocked
= wxPyBeginBlockThreads();
2016 PyObject
* tup
= PyTuple_New(2);
2017 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2018 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2019 wxPyEndBlockThreads(blocked
);
2022 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2023 wxPyUserData
* data
= NULL
;
2025 bool blocked
= wxPyBeginBlockThreads();
2026 data
= new wxPyUserData(userData
);
2027 wxPyEndBlockThreads(blocked
);
2029 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2031 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2032 wxPyUserData
* data
= NULL
;
2034 bool blocked
= wxPyBeginBlockThreads();
2035 data
= new wxPyUserData(userData
);
2036 wxPyEndBlockThreads(blocked
);
2038 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2040 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2041 wxPyUserData
* data
= NULL
;
2043 bool blocked
= wxPyBeginBlockThreads();
2044 data
= new wxPyUserData(userData
);
2045 wxPyEndBlockThreads(blocked
);
2047 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2049 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2051 self
->GetEndPos(row
, col
);
2052 return wxGBPosition(row
, col
);
2054 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2056 wxPyUserData
* data
= NULL
;
2057 bool blocked
= wxPyBeginBlockThreads();
2058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2059 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2060 data
= new wxPyUserData(userData
);
2061 wxPyEndBlockThreads(blocked
);
2063 // Now call the real Add method if a valid item type was found
2065 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2066 else if ( info
.sizer
)
2067 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2068 else if (info
.gotSize
)
2069 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2070 pos
, span
, flag
, border
, data
);
2078 static int _wrap_EmptyString_set(PyObject
*) {
2079 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2084 static PyObject
*_wrap_EmptyString_get() {
2089 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2091 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2098 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxObject
*arg1
= (wxObject
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= wxObject_GetClassName(arg1
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2130 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxObject
*arg1
= (wxObject
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2135 (char *) "self", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxObject_Destroy(arg1
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2158 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2160 return Py_BuildValue((char *)"");
2162 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxSize
*arg1
= (wxSize
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2169 (char *) "self",(char *) "x", NULL
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 arg2
= (int)SWIG_As_int(obj1
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2177 if (arg1
) (arg1
)->x
= arg2
;
2179 Py_INCREF(Py_None
); resultobj
= Py_None
;
2186 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxSize
*arg1
= (wxSize
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 result
= (int) ((arg1
)->x
);
2200 resultobj
= SWIG_From_int((int)result
);
2207 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxSize
*arg1
= (wxSize
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "y", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int)SWIG_As_int(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2222 if (arg1
) (arg1
)->y
= arg2
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxSize
*arg1
= (wxSize
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 result
= (int) ((arg1
)->y
);
2245 resultobj
= SWIG_From_int((int)result
);
2252 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 int arg1
= (int) 0 ;
2255 int arg2
= (int) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "w",(char *) "h", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 arg1
= (int)SWIG_As_int(obj0
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2269 arg2
= (int)SWIG_As_int(obj1
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2286 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2291 (char *) "self", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "sz", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxSize
*arg1
= (wxSize
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "sz", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2381 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxSize
*arg1
= (wxSize
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "self",(char *) "sz", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 resultptr
= new wxSize((wxSize
&) result
);
2410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2418 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxSize
*arg1
= (wxSize
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "sz", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2446 resultptr
= new wxSize((wxSize
&) result
);
2447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2455 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxSize
*arg1
= (wxSize
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "sz", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 (arg1
)->IncTo((wxSize
const &)*arg2
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxSize
*arg1
= (wxSize
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2495 (char *) "self",(char *) "sz", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 (arg1
)->DecTo((wxSize
const &)*arg2
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 Py_INCREF(Py_None
); resultobj
= Py_None
;
2519 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxSize
*arg1
= (wxSize
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2525 PyObject
* obj1
= 0 ;
2526 PyObject
* obj2
= 0 ;
2528 (char *) "self",(char *) "w",(char *) "h", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg2
= (int)SWIG_As_int(obj1
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2536 arg3
= (int)SWIG_As_int(obj2
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->Set(arg2
,arg3
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxSize
*arg1
= (wxSize
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj1
= 0 ;
2559 (char *) "self",(char *) "w", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2565 arg2
= (int)SWIG_As_int(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 (arg1
)->SetWidth(arg2
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxSize
*arg1
= (wxSize
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2586 PyObject
* obj1
= 0 ;
2588 (char *) "self",(char *) "h", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 arg2
= (int)SWIG_As_int(obj1
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 (arg1
)->SetHeight(arg2
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxSize
*arg1
= (wxSize
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_From_int((int)result
);
2636 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxSize
*arg1
= (wxSize
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2642 (char *) "self", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= SWIG_From_int((int)result
);
2662 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxSize
*arg1
= (wxSize
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2668 (char *) "self", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2690 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2692 wxSize
*arg1
= (wxSize
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2696 PyObject
* obj1
= 0 ;
2698 (char *) "self",(char *) "size", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2715 Py_INCREF(Py_None
); resultobj
= Py_None
;
2722 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxSize
*arg1
= (wxSize
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2728 (char *) "self", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (PyObject
*)wxSize_Get(arg1
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2748 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2753 return Py_BuildValue((char *)"");
2755 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2762 (char *) "self",(char *) "x", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 arg2
= (double)SWIG_As_double(obj1
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2770 if (arg1
) (arg1
)->x
= arg2
;
2772 Py_INCREF(Py_None
); resultobj
= Py_None
;
2779 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2791 result
= (double) ((arg1
)->x
);
2793 resultobj
= SWIG_From_double((double)result
);
2800 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "y", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (double)SWIG_As_double(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 if (arg1
) (arg1
)->y
= arg2
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "self", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 result
= (double) ((arg1
)->y
);
2838 resultobj
= SWIG_From_double((double)result
);
2845 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 double arg1
= (double) 0.0 ;
2848 double arg2
= (double) 0.0 ;
2849 wxRealPoint
*result
;
2850 PyObject
* obj0
= 0 ;
2851 PyObject
* obj1
= 0 ;
2853 (char *) "x",(char *) "y", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2858 arg1
= (double)SWIG_As_double(obj0
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 arg2
= (double)SWIG_As_double(obj1
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2879 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2907 wxRealPoint
*arg2
= 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2913 (char *) "self",(char *) "pt", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2939 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2942 wxRealPoint
*arg2
= 0 ;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2948 (char *) "self",(char *) "pt", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2956 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2974 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2977 wxRealPoint
*arg2
= 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "pt", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 wxRealPoint
* resultptr
;
3002 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3011 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3014 wxRealPoint
*arg2
= 0 ;
3017 PyObject
* obj0
= 0 ;
3018 PyObject
* obj1
= 0 ;
3020 (char *) "self",(char *) "pt", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3038 wxRealPoint
* resultptr
;
3039 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3048 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3055 PyObject
* obj2
= 0 ;
3057 (char *) "self",(char *) "x",(char *) "y", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 arg2
= (double)SWIG_As_double(obj1
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3065 arg3
= (double)SWIG_As_double(obj2
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 wxRealPoint_Set(arg1
,arg2
,arg3
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 Py_INCREF(Py_None
); resultobj
= Py_None
;
3081 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3107 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3110 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3112 return Py_BuildValue((char *)"");
3114 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxPoint
*arg1
= (wxPoint
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "x", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 arg2
= (int)SWIG_As_int(obj1
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3129 if (arg1
) (arg1
)->x
= arg2
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxPoint
*arg1
= (wxPoint
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 result
= (int) ((arg1
)->x
);
3152 resultobj
= SWIG_From_int((int)result
);
3159 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxPoint
*arg1
= (wxPoint
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "self",(char *) "y", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3172 arg2
= (int)SWIG_As_int(obj1
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3174 if (arg1
) (arg1
)->y
= arg2
;
3176 Py_INCREF(Py_None
); resultobj
= Py_None
;
3183 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3189 (char *) "self", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 result
= (int) ((arg1
)->y
);
3197 resultobj
= SWIG_From_int((int)result
);
3204 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 int arg1
= (int) 0 ;
3207 int arg2
= (int) 0 ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3212 (char *) "x",(char *) "y", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 arg1
= (int)SWIG_As_int(obj0
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 arg2
= (int)SWIG_As_int(obj1
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3238 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxPoint
*arg1
= (wxPoint
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3243 (char *) "self", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 Py_INCREF(Py_None
); resultobj
= Py_None
;
3263 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxPoint
*arg1
= (wxPoint
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "self",(char *) "pt", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3298 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxPoint
*arg1
= (wxPoint
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "pt", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3333 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxPoint
*arg1
= (wxPoint
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "pt", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 wxPoint
* resultptr
;
3361 resultptr
= new wxPoint((wxPoint
&) result
);
3362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3370 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxPoint
*arg1
= (wxPoint
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "pt", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 wxPoint
* resultptr
;
3398 resultptr
= new wxPoint((wxPoint
&) result
);
3399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3407 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxPoint
*arg1
= (wxPoint
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "pt", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3421 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3430 result
= (wxPoint
*) &_result_ref
;
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3443 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxPoint
*arg1
= (wxPoint
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3452 (char *) "self",(char *) "pt", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3457 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3466 result
= (wxPoint
*) &_result_ref
;
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3479 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPoint
*arg1
= (wxPoint
*) 0 ;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3488 (char *) "self",(char *) "x",(char *) "y", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 arg2
= (long)SWIG_As_long(obj1
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3496 arg3
= (long)SWIG_As_long(obj2
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPoint_Set(arg1
,arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxPoint
*arg1
= (wxPoint
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (PyObject
*)wxPoint_Get(arg1
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3538 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3541 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3543 return Py_BuildValue((char *)"");
3545 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 int arg1
= (int) 0 ;
3548 int arg2
= (int) 0 ;
3549 int arg3
= (int) 0 ;
3550 int arg4
= (int) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3554 PyObject
* obj2
= 0 ;
3555 PyObject
* obj3
= 0 ;
3557 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3562 arg1
= (int)SWIG_As_int(obj0
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3566 arg2
= (int)SWIG_As_int(obj1
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg3
= (int)SWIG_As_int(obj2
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 arg4
= (int)SWIG_As_int(obj3
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3591 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "topLeft",(char *) "bottomRight", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3627 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "pos",(char *) "size", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3643 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3663 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxRect
*arg1
= (wxRect
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxRect
*arg1
= (wxRect
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "self", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (int)((wxRect
const *)arg1
)->GetX();
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= SWIG_From_int((int)result
);
3714 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxRect
*arg1
= (wxRect
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3721 (char *) "self",(char *) "x", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3727 arg2
= (int)SWIG_As_int(obj1
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxRect
*arg1
= (wxRect
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (int)(arg1
)->GetY();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_From_int((int)result
);
3769 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxRect
*arg1
= (wxRect
*) 0 ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3776 (char *) "self",(char *) "y", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3782 arg2
= (int)SWIG_As_int(obj1
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 Py_INCREF(Py_None
); resultobj
= Py_None
;
3798 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxRect
*arg1
= (wxRect
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_From_int((int)result
);
3824 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3829 PyObject
* obj1
= 0 ;
3831 (char *) "self",(char *) "w", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 arg2
= (int)SWIG_As_int(obj1
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetWidth(arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxRect
*arg1
= (wxRect
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_From_int((int)result
);
3879 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxRect
*arg1
= (wxRect
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "h", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3892 arg2
= (int)SWIG_As_int(obj1
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetHeight(arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxRect
*arg1
= (wxRect
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= ((wxRect
const *)arg1
)->GetPosition();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3928 wxPoint
* resultptr
;
3929 resultptr
= new wxPoint((wxPoint
&) result
);
3930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3938 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "p", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxRect
*arg1
= (wxRect
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3976 (char *) "self", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= ((wxRect
const *)arg1
)->GetSize();
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3991 resultptr
= new wxSize((wxSize
&) result
);
3992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4000 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxRect
*arg1
= (wxRect
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "s", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 (arg1
)->SetSize((wxSize
const &)*arg2
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxRect
*arg1
= (wxRect
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 wxPoint
* resultptr
;
4053 resultptr
= new wxPoint((wxPoint
&) result
);
4054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4062 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "self",(char *) "p", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 Py_INCREF(Py_None
); resultobj
= Py_None
;
4094 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4100 (char *) "self", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4114 wxPoint
* resultptr
;
4115 resultptr
= new wxPoint((wxPoint
&) result
);
4116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4124 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxRect
*arg1
= (wxRect
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4132 (char *) "self",(char *) "p", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxRect
*arg1
= (wxRect
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "self", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_From_int((int)result
);
4182 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxRect
*arg1
= (wxRect
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4188 (char *) "self", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (int)((wxRect
const *)arg1
)->GetTop();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_From_int((int)result
);
4208 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_From_int((int)result
);
4234 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxRect
*arg1
= (wxRect
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "self", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (int)((wxRect
const *)arg1
)->GetRight();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_From_int((int)result
);
4260 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxRect
*arg1
= (wxRect
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4267 (char *) "self",(char *) "left", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4273 arg2
= (int)SWIG_As_int(obj1
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->SetLeft(arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxRect
*arg1
= (wxRect
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "right", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4302 arg2
= (int)SWIG_As_int(obj1
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetRight(arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxRect
*arg1
= (wxRect
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "top", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4331 arg2
= (int)SWIG_As_int(obj1
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetTop(arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "bottom", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 arg2
= (int)SWIG_As_int(obj1
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetBottom(arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxRect
*arg1
= (wxRect
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 PyObject
* obj2
= 0 ;
4386 (char *) "self",(char *) "dx",(char *) "dy", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 arg2
= (int)SWIG_As_int(obj1
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4394 arg3
= (int)SWIG_As_int(obj2
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4400 result
= (wxRect
*) &_result_ref
;
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4413 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxRect
*arg1
= (wxRect
*) 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 PyObject
* obj2
= 0 ;
4423 (char *) "self",(char *) "dx",(char *) "dy", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 arg2
= (int)SWIG_As_int(obj1
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4431 arg3
= (int)SWIG_As_int(obj2
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4437 result
= (wxRect
*) &_result_ref
;
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4450 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxRect
*arg1
= (wxRect
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 PyObject
* obj2
= 0 ;
4459 (char *) "self",(char *) "dx",(char *) "dy", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 arg2
= (int)SWIG_As_int(obj1
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4467 arg3
= (int)SWIG_As_int(obj2
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 (arg1
)->Offset(arg2
,arg3
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxRect
*arg1
= (wxRect
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "pt", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 (arg1
)->Offset((wxPoint
const &)*arg2
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 Py_INCREF(Py_None
); resultobj
= Py_None
;
4515 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxRect
*arg1
= (wxRect
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "rect", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4538 result
= (wxRect
*) &_result_ref
;
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4551 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxRect
*arg1
= (wxRect
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "rect", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4579 resultptr
= new wxRect((wxRect
&) result
);
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4588 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxRect
*arg1
= (wxRect
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "rect", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4602 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4611 result
= (wxRect
*) &_result_ref
;
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4624 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxRect
*arg1
= (wxRect
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "rect", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxRect
*arg1
= (wxRect
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4668 (char *) "self",(char *) "rect", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4694 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxRect
*arg1
= (wxRect
*) 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4704 (char *) "self",(char *) "x",(char *) "y", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 arg2
= (int)SWIG_As_int(obj1
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4712 arg3
= (int)SWIG_As_int(obj2
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4739 (char *) "self",(char *) "pt", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4765 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4774 (char *) "self",(char *) "rect", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxRect
*arg1
= (wxRect
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "x", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4815 if (arg1
) (arg1
)->x
= arg2
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxRect
*arg1
= (wxRect
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 result
= (int) ((arg1
)->x
);
4838 resultobj
= SWIG_From_int((int)result
);
4845 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxRect
*arg1
= (wxRect
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "y", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 arg2
= (int)SWIG_As_int(obj1
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4860 if (arg1
) (arg1
)->y
= arg2
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxRect
*arg1
= (wxRect
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4875 (char *) "self", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 result
= (int) ((arg1
)->y
);
4883 resultobj
= SWIG_From_int((int)result
);
4890 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxRect
*arg1
= (wxRect
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4897 (char *) "self",(char *) "width", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 arg2
= (int)SWIG_As_int(obj1
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4905 if (arg1
) (arg1
)->width
= arg2
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxRect
*arg1
= (wxRect
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4926 result
= (int) ((arg1
)->width
);
4928 resultobj
= SWIG_From_int((int)result
);
4935 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRect
*arg1
= (wxRect
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "height", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 arg2
= (int)SWIG_As_int(obj1
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4950 if (arg1
) (arg1
)->height
= arg2
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRect
*arg1
= (wxRect
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4971 result
= (int) ((arg1
)->height
);
4973 resultobj
= SWIG_From_int((int)result
);
4980 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxRect
*arg1
= (wxRect
*) 0 ;
4983 int arg2
= (int) 0 ;
4984 int arg3
= (int) 0 ;
4985 int arg4
= (int) 0 ;
4986 int arg5
= (int) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 PyObject
* obj2
= 0 ;
4990 PyObject
* obj3
= 0 ;
4991 PyObject
* obj4
= 0 ;
4993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 arg2
= (int)SWIG_As_int(obj1
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5004 arg3
= (int)SWIG_As_int(obj2
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 arg4
= (int)SWIG_As_int(obj3
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 arg5
= (int)SWIG_As_int(obj4
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxRect
*arg1
= (wxRect
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5035 (char *) "self", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (PyObject
*)wxRect_Get(arg1
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5055 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5060 return Py_BuildValue((char *)"");
5062 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRect
*arg1
= (wxRect
*) 0 ;
5065 wxRect
*arg2
= (wxRect
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "r1",(char *) "r2", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5079 if (!wxPyCheckForApp()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5093 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 double arg1
= (double) 0.0 ;
5096 double arg2
= (double) 0.0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "x",(char *) "y", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 arg1
= (double)SWIG_As_double(obj0
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 arg2
= (double)SWIG_As_double(obj1
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5127 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxPoint2D
*arg1
= 0 ;
5132 PyObject
* obj0
= 0 ;
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5140 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5156 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5161 PyObject
* obj0
= 0 ;
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5169 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5185 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5188 int *arg2
= (int *) 0 ;
5189 int *arg3
= (int *) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5213 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5222 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5225 int *arg2
= (int *) 0 ;
5226 int *arg3
= (int *) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5237 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5250 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5251 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5252 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5259 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_From_double((double)result
);
5285 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_From_double((double)result
);
5311 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "length", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 arg2
= (double)SWIG_As_double(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->SetVectorLength(arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5347 (char *) "self",(char *) "degrees", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 arg2
= (double)SWIG_As_double(obj1
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetVectorAngle(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5372 wxPoint2D
*arg2
= 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "pt", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_From_double((double)result
);
5402 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5405 wxPoint2D
*arg2
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "pt", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_From_double((double)result
);
5435 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5438 wxPoint2D
*arg2
= 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "vec", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_From_double((double)result
);
5468 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5471 wxPoint2D
*arg2
= 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "self",(char *) "vec", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_double((double)result
);
5501 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5507 (char *) "self", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (arg1
)->operator -();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 wxPoint2D
* resultptr
;
5522 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5531 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5534 wxPoint2D
*arg2
= 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "pt", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5545 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5548 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5554 result
= (wxPoint2D
*) &_result_ref
;
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5567 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5570 wxPoint2D
*arg2
= 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "pt", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5581 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5584 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5590 result
= (wxPoint2D
*) &_result_ref
;
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5603 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5606 wxPoint2D
*arg2
= 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "pt", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5617 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5620 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5626 result
= (wxPoint2D
*) &_result_ref
;
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5639 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5642 wxPoint2D
*arg2
= 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5648 (char *) "self",(char *) "pt", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5653 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5656 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5662 result
= (wxPoint2D
*) &_result_ref
;
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5675 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5678 wxPoint2D
*arg2
= 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "pt", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5713 wxPoint2D
*arg2
= 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "pt", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5745 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5752 (char *) "self",(char *) "m_x", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (double)SWIG_As_double(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 if (arg1
) (arg1
)->m_x
= arg2
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 result
= (double) ((arg1
)->m_x
);
5783 resultobj
= SWIG_From_double((double)result
);
5790 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "m_y", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 arg2
= (double)SWIG_As_double(obj1
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5805 if (arg1
) (arg1
)->m_y
= arg2
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 result
= (double) ((arg1
)->m_y
);
5828 resultobj
= SWIG_From_double((double)result
);
5835 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5838 double arg2
= (double) 0 ;
5839 double arg3
= (double) 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 PyObject
* obj2
= 0 ;
5844 (char *) "self",(char *) "x",(char *) "y", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (double)SWIG_As_double(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 arg3
= (double)SWIG_As_double(obj2
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 wxPoint2D_Set(arg1
,arg2
,arg3
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5898 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5903 return Py_BuildValue((char *)"");
5905 static int _wrap_DefaultPosition_set(PyObject
*) {
5906 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5911 static PyObject
*_wrap_DefaultPosition_get() {
5914 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5919 static int _wrap_DefaultSize_set(PyObject
*) {
5920 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5925 static PyObject
*_wrap_DefaultSize_get() {
5928 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5933 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 PyObject
*arg1
= (PyObject
*) 0 ;
5936 wxPyInputStream
*result
;
5937 PyObject
* obj0
= 0 ;
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5958 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5983 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)(arg1
)->eof();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6039 int arg2
= (int) -1 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6044 (char *) "self",(char *) "size", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 arg2
= (int)SWIG_As_int(obj1
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (PyObject
*)(arg1
)->read(arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6068 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6071 int arg2
= (int) -1 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "size", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= (int)SWIG_As_int(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (PyObject
*)(arg1
)->readline(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6100 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6103 int arg2
= (int) -1 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "sizehint", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 arg2
= (int)SWIG_As_int(obj1
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6132 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6136 int arg3
= (int) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 PyObject
* obj2
= 0 ;
6141 (char *) "self",(char *) "offset",(char *) "whence", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 arg2
= (int)SWIG_As_int(obj1
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 arg3
= (int)SWIG_As_int(obj2
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 (arg1
)->seek(arg2
,arg3
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6173 (char *) "self", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (int)(arg1
)->tell();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_From_int((int)result
);
6193 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (char)(arg1
)->Peek();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_From_char((char)result
);
6219 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (char)(arg1
)->GetC();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_From_char((char)result
);
6245 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (size_t)(arg1
)->LastRead();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6271 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->CanRead();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6299 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)(arg1
)->Eof();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6327 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6335 (char *) "self",(char *) "c", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= (char)SWIG_As_char(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)(arg1
)->Ungetch(arg2
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6359 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6363 int arg3
= (int) wxFromStart
;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6369 (char *) "self",(char *) "pos",(char *) "mode", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (long)SWIG_As_long(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 arg3
= (int)SWIG_As_int(obj2
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_From_long((long)result
);
6395 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "self", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (long)(arg1
)->TellI();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_From_long((long)result
);
6421 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6426 return Py_BuildValue((char *)"");
6428 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6431 PyObject
*arg2
= (PyObject
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6433 PyObject
* obj1
= 0 ;
6435 (char *) "self",(char *) "obj", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxOutputStream_write(arg1
,arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6461 return Py_BuildValue((char *)"");
6463 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6466 wxString
*arg2
= 0 ;
6467 wxString
*arg3
= 0 ;
6468 wxString
*arg4
= 0 ;
6471 wxPyInputStream
*temp1
;
6473 bool temp2
= false ;
6474 bool temp3
= false ;
6475 bool temp4
= false ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6479 PyObject
* obj2
= 0 ;
6480 PyObject
* obj3
= 0 ;
6481 PyObject
* obj4
= 0 ;
6483 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6488 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6489 arg1
= temp1
->m_wxis
;
6492 PyErr_Clear(); // clear the failure of the wxPyConvert above
6493 arg1
= wxPyCBInputStream_create(obj0
, false);
6495 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6502 arg2
= wxString_in_helper(obj1
);
6503 if (arg2
== NULL
) SWIG_fail
;
6507 arg3
= wxString_in_helper(obj2
);
6508 if (arg3
== NULL
) SWIG_fail
;
6512 arg4
= wxString_in_helper(obj3
);
6513 if (arg4
== NULL
) SWIG_fail
;
6516 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6517 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= wxPyMake_wxObject(result
, 1);
6567 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "self", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6595 wxInputStream
*result
;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxInputStream
*)(arg1
)->GetStream();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 wxPyInputStream
* _ptr
= NULL
;
6615 _ptr
= new wxPyInputStream(result
);
6617 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6625 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6641 result
= (wxString
*) &_result_ref
;
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6660 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxString
const &_result_ref
= (arg1
)->GetLocation();
6676 result
= (wxString
*) &_result_ref
;
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6695 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6711 result
= (wxString
*) &_result_ref
;
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6730 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (arg1
)->GetModificationTime();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 wxDateTime
* resultptr
;
6751 resultptr
= new wxDateTime((wxDateTime
&) result
);
6752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6760 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6763 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6765 return Py_BuildValue((char *)"");
6767 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6770 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6772 return Py_BuildValue((char *)"");
6774 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPyFileSystemHandler
*result
;
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6796 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6799 PyObject
*arg2
= (PyObject
*) 0 ;
6800 PyObject
*arg3
= (PyObject
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "self",(char *) "self",(char *) "_class", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6830 wxString
*arg2
= 0 ;
6832 bool temp2
= false ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "location", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 arg2
= wxString_in_helper(obj1
);
6844 if (arg2
== NULL
) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6871 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6874 wxFileSystem
*arg2
= 0 ;
6875 wxString
*arg3
= 0 ;
6877 bool temp3
= false ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 PyObject
* obj2
= 0 ;
6882 (char *) "self",(char *) "fs",(char *) "location", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6892 PyErr_SetString(PyExc_TypeError
,"null reference");
6896 arg3
= wxString_in_helper(obj2
);
6897 if (arg3
== NULL
) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= wxPyMake_wxObject(result
, 1);
6924 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6927 wxString
*arg2
= 0 ;
6928 int arg3
= (int) 0 ;
6930 bool temp2
= false ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "spec",(char *) "flags", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 arg2
= wxString_in_helper(obj1
);
6943 if (arg2
== NULL
) SWIG_fail
;
6947 arg3
= (int)SWIG_As_int(obj2
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6978 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (arg1
)->FindNext();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7010 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7013 wxString
*arg2
= 0 ;
7015 bool temp2
= false ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "location", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 arg2
= wxString_in_helper(obj1
);
7027 if (arg2
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7058 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7061 wxString
*arg2
= 0 ;
7063 bool temp2
= false ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "location", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 arg2
= wxString_in_helper(obj1
);
7075 if (arg2
== NULL
) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7106 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7109 wxString
*arg2
= 0 ;
7111 bool temp2
= false ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "location", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= wxString_in_helper(obj1
);
7123 if (arg2
== NULL
) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7154 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7157 wxString
*arg2
= 0 ;
7159 bool temp2
= false ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7163 (char *) "self",(char *) "location", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 arg2
= wxString_in_helper(obj1
);
7171 if (arg2
== NULL
) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7202 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7205 wxString
*arg2
= 0 ;
7207 bool temp2
= false ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "self",(char *) "location", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7218 arg2
= wxString_in_helper(obj1
);
7219 if (arg2
== NULL
) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7250 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7255 return Py_BuildValue((char *)"");
7257 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxFileSystem
*result
;
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (wxFileSystem
*)new wxFileSystem();
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= wxPyMake_wxObject(result
, 1);
7281 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7309 wxString
*arg2
= 0 ;
7310 bool arg3
= (bool) false ;
7311 bool temp2
= false ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7316 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 arg2
= wxString_in_helper(obj1
);
7324 if (arg2
== NULL
) SWIG_fail
;
7328 arg3
= (bool)SWIG_As_bool(obj2
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (arg1
)->GetPath();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7385 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7388 wxString
*arg2
= 0 ;
7390 bool temp2
= false ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "location", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= wxString_in_helper(obj1
);
7402 if (arg2
== NULL
) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= wxPyMake_wxObject(result
, 1);
7429 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7432 wxString
*arg2
= 0 ;
7433 int arg3
= (int) 0 ;
7435 bool temp2
= false ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "spec",(char *) "flags", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 arg2
= wxString_in_helper(obj1
);
7448 if (arg2
== NULL
) SWIG_fail
;
7452 arg3
= (int)SWIG_As_int(obj2
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7483 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (arg1
)->FindNext();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7515 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "handler", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxFileSystem::AddHandler(arg1
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 Py_INCREF(Py_None
); resultobj
= Py_None
;
7540 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 wxFileSystem::CleanUpHandlers();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxString
*arg1
= 0 ;
7565 bool temp1
= false ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "filename", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7573 arg1
= wxString_in_helper(obj0
);
7574 if (arg1
== NULL
) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7605 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxString
*arg1
= 0 ;
7609 bool temp1
= false ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "url", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7617 arg1
= wxString_in_helper(obj0
);
7618 if (arg1
== NULL
) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7649 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7654 return Py_BuildValue((char *)"");
7656 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxInternetFSHandler
*result
;
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7678 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7681 wxString
*arg2
= 0 ;
7683 bool temp2
= false ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "location", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7722 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7725 wxFileSystem
*arg2
= 0 ;
7726 wxString
*arg3
= 0 ;
7728 bool temp3
= false ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 PyObject
* obj2
= 0 ;
7733 (char *) "self",(char *) "fs",(char *) "location", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7743 PyErr_SetString(PyExc_TypeError
,"null reference");
7747 arg3
= wxString_in_helper(obj2
);
7748 if (arg3
== NULL
) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= wxPyMake_wxObject(result
, 1);
7775 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7780 return Py_BuildValue((char *)"");
7782 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxZipFSHandler
*result
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7804 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7807 wxString
*arg2
= 0 ;
7809 bool temp2
= false ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7813 (char *) "self",(char *) "location", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 arg2
= wxString_in_helper(obj1
);
7821 if (arg2
== NULL
) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7848 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7851 wxFileSystem
*arg2
= 0 ;
7852 wxString
*arg3
= 0 ;
7854 bool temp3
= false ;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7857 PyObject
* obj2
= 0 ;
7859 (char *) "self",(char *) "fs",(char *) "location", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7869 PyErr_SetString(PyExc_TypeError
,"null reference");
7873 arg3
= wxString_in_helper(obj2
);
7874 if (arg3
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= wxPyMake_wxObject(result
, 1);
7901 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7904 wxString
*arg2
= 0 ;
7905 int arg3
= (int) 0 ;
7907 bool temp2
= false ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7912 (char *) "self",(char *) "spec",(char *) "flags", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 arg2
= wxString_in_helper(obj1
);
7920 if (arg2
== NULL
) SWIG_fail
;
7924 arg3
= (int)SWIG_As_int(obj2
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7955 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (arg1
)->FindNext();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7987 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7990 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7992 return Py_BuildValue((char *)"");
7994 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxString
*arg1
= 0 ;
7999 bool temp1
= false ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "filename",(char *) "image",(char *) "type", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 arg1
= wxString_in_helper(obj0
);
8010 if (arg1
== NULL
) SWIG_fail
;
8013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8017 PyErr_SetString(PyExc_TypeError
,"null reference");
8020 arg3
= (long)SWIG_As_long(obj2
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxString
*arg1
= 0 ;
8047 wxBitmap
*arg2
= 0 ;
8049 bool temp1
= false ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8054 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 arg1
= wxString_in_helper(obj0
);
8060 if (arg1
== NULL
) SWIG_fail
;
8063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8067 PyErr_SetString(PyExc_TypeError
,"null reference");
8070 arg3
= (long)SWIG_As_long(obj2
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxString
*arg1
= 0 ;
8097 PyObject
*arg2
= (PyObject
*) 0 ;
8098 bool temp1
= false ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8102 (char *) "filename",(char *) "data", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8107 arg1
= wxString_in_helper(obj0
);
8108 if (arg1
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxMemoryFSHandler
*result
;
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8156 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxString
*arg1
= 0 ;
8159 bool temp1
= false ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "filename", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8167 arg1
= wxString_in_helper(obj0
);
8168 if (arg1
== NULL
) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8196 wxString
*arg2
= 0 ;
8198 bool temp2
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8202 (char *) "self",(char *) "location", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= wxString_in_helper(obj1
);
8210 if (arg2
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8240 wxFileSystem
*arg2
= 0 ;
8241 wxString
*arg3
= 0 ;
8243 bool temp3
= false ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "fs",(char *) "location", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8258 PyErr_SetString(PyExc_TypeError
,"null reference");
8262 arg3
= wxString_in_helper(obj2
);
8263 if (arg3
== NULL
) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= wxPyMake_wxObject(result
, 1);
8290 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8293 wxString
*arg2
= 0 ;
8294 int arg3
= (int) 0 ;
8296 bool temp2
= false ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "spec",(char *) "flags", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 arg2
= wxString_in_helper(obj1
);
8309 if (arg2
== NULL
) SWIG_fail
;
8313 arg3
= (int)SWIG_As_int(obj2
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8344 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (arg1
)->FindNext();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8376 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8379 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8381 return Py_BuildValue((char *)"");
8383 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8389 (char *) "self", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (arg1
)->GetName();
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8415 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8421 (char *) "self", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->GetExtension();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8447 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (long)(arg1
)->GetType();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_From_long((long)result
);
8473 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (arg1
)->GetMimeType();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8505 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8508 wxString
*arg2
= 0 ;
8510 bool temp2
= false ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "self",(char *) "name", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 arg2
= wxString_in_helper(obj1
);
8522 if (arg2
== NULL
) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8549 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8552 wxString
*arg2
= 0 ;
8553 bool temp2
= false ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "self",(char *) "name", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 arg2
= wxString_in_helper(obj1
);
8565 if (arg2
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 (arg1
)->SetName((wxString
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8593 wxString
*arg2
= 0 ;
8594 bool temp2
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "extension", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetExtension((wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8638 (char *) "self",(char *) "type", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (long)SWIG_As_long(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetType(arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8663 wxString
*arg2
= 0 ;
8664 bool temp2
= false ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8668 (char *) "self",(char *) "mimetype", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 arg2
= wxString_in_helper(obj1
);
8676 if (arg2
== NULL
) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8706 return Py_BuildValue((char *)"");
8708 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxImageHistogram
*result
;
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxImageHistogram
*)new wxImageHistogram();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8730 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 unsigned char arg1
;
8733 unsigned char arg2
;
8734 unsigned char arg3
;
8735 unsigned long result
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8740 (char *) "r",(char *) "g",(char *) "b", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8746 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8748 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8764 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8767 unsigned char *arg2
= (unsigned char *) 0 ;
8768 unsigned char *arg3
= (unsigned char *) 0 ;
8769 unsigned char *arg4
= (unsigned char *) 0 ;
8770 unsigned char arg5
= (unsigned char) 1 ;
8771 unsigned char arg6
= (unsigned char) 0 ;
8772 unsigned char arg7
= (unsigned char) 0 ;
8774 unsigned char temp2
;
8776 unsigned char temp3
;
8778 unsigned char temp4
;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 PyObject
* obj3
= 0 ;
8785 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8788 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8789 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8790 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8816 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8817 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8819 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8820 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8821 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8828 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8831 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8833 return Py_BuildValue((char *)"");
8835 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxString
*arg1
= 0 ;
8838 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8839 int arg3
= (int) -1 ;
8841 bool temp1
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8846 (char *) "name",(char *) "type",(char *) "index", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8851 arg1
= wxString_in_helper(obj0
);
8852 if (arg1
== NULL
) SWIG_fail
;
8856 arg2
= (long)SWIG_As_long(obj1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 arg3
= (int)SWIG_As_int(obj2
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8885 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxImage
*arg1
= (wxImage
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "self", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 Py_INCREF(Py_None
); resultobj
= Py_None
;
8910 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxString
*arg1
= 0 ;
8913 wxString
*arg2
= 0 ;
8914 int arg3
= (int) -1 ;
8916 bool temp1
= false ;
8917 bool temp2
= false ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8920 PyObject
* obj2
= 0 ;
8922 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 arg1
= wxString_in_helper(obj0
);
8928 if (arg1
== NULL
) SWIG_fail
;
8932 arg2
= wxString_in_helper(obj1
);
8933 if (arg2
== NULL
) SWIG_fail
;
8937 arg3
= (int)SWIG_As_int(obj2
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8970 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxInputStream
*arg1
= 0 ;
8973 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8974 int arg3
= (int) -1 ;
8976 wxPyInputStream
*temp1
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "stream",(char *) "type",(char *) "index", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8987 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8988 arg1
= temp1
->m_wxis
;
8991 PyErr_Clear(); // clear the failure of the wxPyConvert above
8992 arg1
= wxPyCBInputStream_create(obj0
, false);
8994 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9001 arg2
= (long)SWIG_As_long(obj1
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9005 arg3
= (int)SWIG_As_int(obj2
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9030 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxInputStream
*arg1
= 0 ;
9033 wxString
*arg2
= 0 ;
9034 int arg3
= (int) -1 ;
9036 wxPyInputStream
*temp1
;
9038 bool temp2
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9043 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9048 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9049 arg1
= temp1
->m_wxis
;
9052 PyErr_Clear(); // clear the failure of the wxPyConvert above
9053 arg1
= wxPyCBInputStream_create(obj0
, false);
9055 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9062 arg2
= wxString_in_helper(obj1
);
9063 if (arg2
== NULL
) SWIG_fail
;
9067 arg3
= (int)SWIG_As_int(obj2
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9100 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 int arg1
= (int) 0 ;
9103 int arg2
= (int) 0 ;
9104 bool arg3
= (bool) true ;
9106 PyObject
* obj0
= 0 ;
9107 PyObject
* obj1
= 0 ;
9108 PyObject
* obj2
= 0 ;
9110 (char *) "width",(char *) "height",(char *) "clear", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 arg1
= (int)SWIG_As_int(obj0
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 arg2
= (int)SWIG_As_int(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (bool)SWIG_As_bool(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9140 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxBitmap
*arg1
= 0 ;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "bitmap", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9154 PyErr_SetString(PyExc_TypeError
,"null reference");
9158 if (!wxPyCheckForApp()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9172 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9176 unsigned char *arg3
= (unsigned char *) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9182 (char *) "width",(char *) "height",(char *) "data", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9186 arg1
= (int)SWIG_As_int(obj0
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9188 arg2
= (int)SWIG_As_int(obj1
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9206 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxImage
*arg1
= (wxImage
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9215 (char *) "self",(char *) "width",(char *) "height", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 arg2
= (int)SWIG_As_int(obj1
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9223 arg3
= (int)SWIG_As_int(obj2
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->Create(arg2
,arg3
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 Py_INCREF(Py_None
); resultobj
= Py_None
;
9239 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxImage
*arg1
= (wxImage
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 Py_INCREF(Py_None
); resultobj
= Py_None
;
9264 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxImage
*arg1
= (wxImage
*) 0 ;
9269 SwigValueWrapper
< wxImage
> result
;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "self",(char *) "width",(char *) "height", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (int)SWIG_As_int(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg3
= (int)SWIG_As_int(obj2
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (arg1
)->Scale(arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 wxImage
* resultptr
;
9293 resultptr
= new wxImage((wxImage
&) result
);
9294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9302 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxImage
*arg1
= (wxImage
*) 0 ;
9307 SwigValueWrapper
< wxImage
> result
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9312 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 arg2
= (int)SWIG_As_int(obj1
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9320 arg3
= (int)SWIG_As_int(obj2
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 wxImage
* resultptr
;
9331 resultptr
= new wxImage((wxImage
&) result
);
9332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9340 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxImage
*arg1
= (wxImage
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "width",(char *) "height", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (int)SWIG_As_int(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (int)SWIG_As_int(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9364 result
= (wxImage
*) &_result_ref
;
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9377 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxImage
*arg1
= (wxImage
*) 0 ;
9382 unsigned char arg4
;
9383 unsigned char arg5
;
9384 unsigned char arg6
;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9388 PyObject
* obj3
= 0 ;
9389 PyObject
* obj4
= 0 ;
9390 PyObject
* obj5
= 0 ;
9392 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 arg2
= (int)SWIG_As_int(obj1
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9400 arg3
= (int)SWIG_As_int(obj2
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxImage
*arg1
= (wxImage
*) 0 ;
9427 unsigned char result
;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 PyObject
* obj2
= 0 ;
9432 (char *) "self",(char *) "x",(char *) "y", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 arg2
= (int)SWIG_As_int(obj1
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9440 arg3
= (int)SWIG_As_int(obj2
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9456 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxImage
*arg1
= (wxImage
*) 0 ;
9461 unsigned char result
;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9464 PyObject
* obj2
= 0 ;
9466 (char *) "self",(char *) "x",(char *) "y", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 arg2
= (int)SWIG_As_int(obj1
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9474 arg3
= (int)SWIG_As_int(obj2
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9490 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxImage
*arg1
= (wxImage
*) 0 ;
9495 unsigned char result
;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9500 (char *) "self",(char *) "x",(char *) "y", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 arg2
= (int)SWIG_As_int(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9508 arg3
= (int)SWIG_As_int(obj2
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9524 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxImage
*arg1
= (wxImage
*) 0 ;
9529 unsigned char arg4
;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 PyObject
* obj3
= 0 ;
9535 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (int)SWIG_As_int(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9543 arg3
= (int)SWIG_As_int(obj2
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9545 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxImage
*arg1
= (wxImage
*) 0 ;
9566 unsigned char result
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9571 (char *) "self",(char *) "x",(char *) "y", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 arg2
= (int)SWIG_As_int(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9579 arg3
= (int)SWIG_As_int(obj2
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9595 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxImage
*arg1
= (wxImage
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (bool)(arg1
)->HasAlpha();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxImage
*arg1
= (wxImage
*) 0 ;
9626 byte
*arg2
= (byte
*) 0 ;
9627 byte
*arg3
= (byte
*) 0 ;
9628 byte
*arg4
= (byte
*) 0 ;
9629 byte arg5
= (byte
) 0 ;
9630 byte arg6
= (byte
) 0 ;
9631 byte arg7
= (byte
) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 PyObject
* obj2
= 0 ;
9642 PyObject
* obj3
= 0 ;
9644 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9647 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9648 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9649 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9675 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9676 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9677 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9678 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9679 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9680 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9687 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxImage
*arg1
= (wxImage
*) 0 ;
9690 byte arg2
= (byte
) 128 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "threshold", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxImage
*arg1
= (wxImage
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9732 PyObject
* obj3
= 0 ;
9733 PyObject
* obj4
= 0 ;
9735 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9745 PyErr_SetString(PyExc_TypeError
,"null reference");
9748 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9750 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9752 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxString
*arg1
= 0 ;
9774 bool temp1
= false ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "name", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9782 arg1
= wxString_in_helper(obj0
);
9783 if (arg1
== NULL
) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxString
*arg1
= 0 ;
9813 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9815 bool temp1
= false ;
9816 PyObject
* obj0
= 0 ;
9817 PyObject
* obj1
= 0 ;
9819 (char *) "name",(char *) "type", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9824 arg1
= wxString_in_helper(obj0
);
9825 if (arg1
== NULL
) SWIG_fail
;
9829 arg2
= (long)SWIG_As_long(obj1
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int((int)result
);
9854 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxImage
*arg1
= (wxImage
*) 0 ;
9857 wxString
*arg2
= 0 ;
9858 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9859 int arg4
= (int) -1 ;
9861 bool temp2
= false ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9865 PyObject
* obj3
= 0 ;
9867 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9874 arg2
= wxString_in_helper(obj1
);
9875 if (arg2
== NULL
) SWIG_fail
;
9879 arg3
= (long)SWIG_As_long(obj2
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 arg4
= (int)SWIG_As_int(obj3
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9910 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxImage
*arg1
= (wxImage
*) 0 ;
9913 wxString
*arg2
= 0 ;
9914 wxString
*arg3
= 0 ;
9915 int arg4
= (int) -1 ;
9917 bool temp2
= false ;
9918 bool temp3
= false ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9922 PyObject
* obj3
= 0 ;
9924 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 arg2
= wxString_in_helper(obj1
);
9932 if (arg2
== NULL
) SWIG_fail
;
9936 arg3
= wxString_in_helper(obj2
);
9937 if (arg3
== NULL
) SWIG_fail
;
9941 arg4
= (int)SWIG_As_int(obj3
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxImage
*arg1
= (wxImage
*) 0 ;
9979 wxString
*arg2
= 0 ;
9982 bool temp2
= false ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9985 PyObject
* obj2
= 0 ;
9987 (char *) "self",(char *) "name",(char *) "type", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 arg2
= wxString_in_helper(obj1
);
9995 if (arg2
== NULL
) SWIG_fail
;
9998 arg3
= (int)SWIG_As_int(obj2
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10024 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxImage
*arg1
= (wxImage
*) 0 ;
10027 wxString
*arg2
= 0 ;
10028 wxString
*arg3
= 0 ;
10030 bool temp2
= false ;
10031 bool temp3
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 arg2
= wxString_in_helper(obj1
);
10044 if (arg2
== NULL
) SWIG_fail
;
10048 arg3
= wxString_in_helper(obj2
);
10049 if (arg3
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxInputStream
*arg1
= 0 ;
10088 wxPyInputStream
*temp1
;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "stream", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10097 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10098 arg1
= temp1
->m_wxis
;
10101 PyErr_Clear(); // clear the failure of the wxPyConvert above
10102 arg1
= wxPyCBInputStream_create(obj0
, false);
10103 if (arg1
== NULL
) {
10104 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (bool)wxImage::CanRead(*arg1
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImage
*arg1
= (wxImage
*) 0 ;
10137 wxInputStream
*arg2
= 0 ;
10138 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10139 int arg4
= (int) -1 ;
10141 wxPyInputStream
*temp2
;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 PyObject
* obj2
= 0 ;
10146 PyObject
* obj3
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10156 arg2
= temp2
->m_wxis
;
10159 PyErr_Clear(); // clear the failure of the wxPyConvert above
10160 arg2
= wxPyCBInputStream_create(obj1
, false);
10161 if (arg2
== NULL
) {
10162 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10169 arg3
= (long)SWIG_As_long(obj2
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 arg4
= (int)SWIG_As_int(obj3
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10200 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImage
*arg1
= (wxImage
*) 0 ;
10203 wxInputStream
*arg2
= 0 ;
10204 wxString
*arg3
= 0 ;
10205 int arg4
= (int) -1 ;
10207 wxPyInputStream
*temp2
;
10209 bool temp3
= false ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 PyObject
* obj3
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10223 arg2
= temp2
->m_wxis
;
10226 PyErr_Clear(); // clear the failure of the wxPyConvert above
10227 arg2
= wxPyCBInputStream_create(obj1
, false);
10228 if (arg2
== NULL
) {
10229 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10236 arg3
= wxString_in_helper(obj2
);
10237 if (arg3
== NULL
) SWIG_fail
;
10241 arg4
= (int)SWIG_As_int(obj3
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxImage
*arg1
= (wxImage
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (bool)(arg1
)->Ok();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (int)(arg1
)->GetWidth();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_From_int((int)result
);
10330 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxImage
*arg1
= (wxImage
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetHeight();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int((int)result
);
10356 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImage
*arg1
= (wxImage
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= wxImage_GetSize(arg1
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 wxSize
* resultptr
;
10377 resultptr
= new wxSize((wxSize
&) result
);
10378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10386 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10390 SwigValueWrapper
< wxImage
> result
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "rect", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 wxImage
* resultptr
;
10414 resultptr
= new wxImage((wxImage
&) result
);
10415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10423 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImage
*arg1
= (wxImage
*) 0 ;
10426 SwigValueWrapper
< wxImage
> result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (arg1
)->Copy();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 wxImage
* resultptr
;
10444 resultptr
= new wxImage((wxImage
&) result
);
10445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10453 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxImage
*arg1
= (wxImage
*) 0 ;
10456 wxImage
*arg2
= 0 ;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 PyObject
* obj2
= 0 ;
10462 PyObject
* obj3
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10473 if (arg2
== NULL
) {
10474 PyErr_SetString(PyExc_TypeError
,"null reference");
10477 arg3
= (int)SWIG_As_int(obj2
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10479 arg4
= (int)SWIG_As_int(obj3
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxImage
*arg1
= (wxImage
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (PyObject
*)wxImage_GetData(arg1
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= result
;
10521 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxImage
*arg1
= (wxImage
*) 0 ;
10524 PyObject
*arg2
= (PyObject
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "data", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxImage_SetData(arg1
,arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxImage
*arg1
= (wxImage
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
;
10575 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxImage
*arg1
= (wxImage
*) 0 ;
10578 PyObject
*arg2
= (PyObject
*) 0 ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "data", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 wxImage_SetDataBuffer(arg1
,arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxImage
*arg1
= (wxImage
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= result
;
10629 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxImage
*arg1
= (wxImage
*) 0 ;
10632 PyObject
*arg2
= (PyObject
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "data", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 wxImage_SetAlphaData(arg1
,arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 Py_INCREF(Py_None
); resultobj
= Py_None
;
10657 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxImage
*arg1
= (wxImage
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
;
10683 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxImage
*arg1
= (wxImage
*) 0 ;
10686 PyObject
*arg2
= (PyObject
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "data", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxImage_SetAlphaBuffer(arg1
,arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxImage
*arg1
= (wxImage
*) 0 ;
10714 unsigned char arg2
;
10715 unsigned char arg3
;
10716 unsigned char arg4
;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 PyObject
* obj3
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10730 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10732 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxImage
*arg1
= (wxImage
*) 0 ;
10751 unsigned char result
;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (unsigned char)(arg1
)->GetMaskRed();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10774 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxImage
*arg1
= (wxImage
*) 0 ;
10777 unsigned char result
;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (unsigned char)(arg1
)->GetMaskGreen();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10800 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxImage
*arg1
= (wxImage
*) 0 ;
10803 unsigned char result
;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (unsigned char)(arg1
)->GetMaskBlue();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10826 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxImage
*arg1
= (wxImage
*) 0 ;
10829 bool arg2
= (bool) true ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "mask", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (bool)SWIG_As_bool(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetMask(arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxImage
*arg1
= (wxImage
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->HasMask();
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxImage
*arg1
= (wxImage
*) 0 ;
10889 wxPoint
*arg3
= 0 ;
10890 bool arg4
= (bool) true ;
10891 wxPoint
*arg5
= (wxPoint
*) NULL
;
10892 SwigValueWrapper
< wxImage
> result
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 PyObject
* obj3
= 0 ;
10898 PyObject
* obj4
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (double)SWIG_As_double(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10913 arg4
= (bool)SWIG_As_bool(obj3
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 wxImage
* resultptr
;
10929 resultptr
= new wxImage((wxImage
&) result
);
10930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10938 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxImage
*arg1
= (wxImage
*) 0 ;
10941 bool arg2
= (bool) true ;
10942 SwigValueWrapper
< wxImage
> result
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "clockwise", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= (bool)SWIG_As_bool(obj1
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (arg1
)->Rotate90(arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10964 wxImage
* resultptr
;
10965 resultptr
= new wxImage((wxImage
&) result
);
10966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10974 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxImage
*arg1
= (wxImage
*) 0 ;
10977 bool arg2
= (bool) true ;
10978 SwigValueWrapper
< wxImage
> result
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "horizontally", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10989 arg2
= (bool)SWIG_As_bool(obj1
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 result
= (arg1
)->Mirror(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 wxImage
* resultptr
;
11001 resultptr
= new wxImage((wxImage
&) result
);
11002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11010 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxImage
*arg1
= (wxImage
*) 0 ;
11013 unsigned char arg2
;
11014 unsigned char arg3
;
11015 unsigned char arg4
;
11016 unsigned char arg5
;
11017 unsigned char arg6
;
11018 unsigned char arg7
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 PyObject
* obj3
= 0 ;
11023 PyObject
* obj4
= 0 ;
11024 PyObject
* obj5
= 0 ;
11025 PyObject
* obj6
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11033 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11035 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11037 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11039 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11041 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11043 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxImage
*arg1
= (wxImage
*) 0 ;
11062 unsigned char arg2
;
11063 unsigned char arg3
;
11064 unsigned char arg4
;
11065 SwigValueWrapper
< wxImage
> result
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11077 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11079 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11081 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 wxImage
* resultptr
;
11092 resultptr
= new wxImage((wxImage
&) result
);
11093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11101 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxImage
*arg1
= (wxImage
*) 0 ;
11104 wxString
*arg2
= 0 ;
11105 wxString
*arg3
= 0 ;
11106 bool temp2
= false ;
11107 bool temp3
= false ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self",(char *) "name",(char *) "value", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 arg2
= wxString_in_helper(obj1
);
11120 if (arg2
== NULL
) SWIG_fail
;
11124 arg3
= wxString_in_helper(obj2
);
11125 if (arg3
== NULL
) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxImage
*arg1
= (wxImage
*) 0 ;
11161 wxString
*arg2
= 0 ;
11163 bool temp2
= false ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 PyObject
* obj2
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "name",(char *) "value", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= wxString_in_helper(obj1
);
11176 if (arg2
== NULL
) SWIG_fail
;
11179 arg3
= (int)SWIG_As_int(obj2
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxImage
*arg1
= (wxImage
*) 0 ;
11206 wxString
*arg2
= 0 ;
11208 bool temp2
= false ;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self",(char *) "name", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 arg2
= wxString_in_helper(obj1
);
11220 if (arg2
== NULL
) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11251 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxImage
*arg1
= (wxImage
*) 0 ;
11254 wxString
*arg2
= 0 ;
11256 bool temp2
= false ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "name", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_From_int((int)result
);
11293 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxImage
*arg1
= (wxImage
*) 0 ;
11296 wxString
*arg2
= 0 ;
11298 bool temp2
= false ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "name", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 arg2
= wxString_in_helper(obj1
);
11310 if (arg2
== NULL
) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxImage
*arg1
= (wxImage
*) 0 ;
11340 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11341 unsigned long result
;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "stopafter", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11369 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxImage
*arg1
= (wxImage
*) 0 ;
11372 wxImageHistogram
*arg2
= 0 ;
11373 unsigned long result
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "h", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11386 if (arg2
== NULL
) {
11387 PyErr_SetString(PyExc_TypeError
,"null reference");
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11404 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "handler", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 wxImage::AddHandler(arg1
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "handler", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 wxImage::InsertHandler(arg1
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxString
*arg1
= 0 ;
11458 bool temp1
= false ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "name", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11466 arg1
= wxString_in_helper(obj0
);
11467 if (arg1
== NULL
) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11497 char *kwnames
[] = {
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= wxImage::GetImageExtWildcard();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11522 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxImage
*arg1
= (wxImage
*) 0 ;
11525 int arg2
= (int) -1 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "depth", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg2
= (int)SWIG_As_int(obj1
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 if (!wxPyCheckForApp()) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 wxBitmap
* resultptr
;
11550 resultptr
= new wxBitmap((wxBitmap
&) result
);
11551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11559 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxImage
*arg1
= (wxImage
*) 0 ;
11562 unsigned char arg2
;
11563 unsigned char arg3
;
11564 unsigned char arg4
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11577 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11579 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 if (!wxPyCheckForApp()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 wxBitmap
* resultptr
;
11593 resultptr
= new wxBitmap((wxBitmap
&) result
);
11594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11602 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11607 return Py_BuildValue((char *)"");
11609 static int _wrap_NullImage_set(PyObject
*) {
11610 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11615 static PyObject
*_wrap_NullImage_get() {
11618 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11623 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11624 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11629 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11634 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11636 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11643 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11644 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11649 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11654 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11656 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11663 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11664 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11669 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11674 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11676 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11683 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11684 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11689 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11694 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11696 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11703 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11704 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11709 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11714 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11716 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11723 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxBMPHandler
*result
;
11726 char *kwnames
[] = {
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxBMPHandler
*)new wxBMPHandler();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11745 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11748 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11750 return Py_BuildValue((char *)"");
11752 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxICOHandler
*result
;
11755 char *kwnames
[] = {
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (wxICOHandler
*)new wxICOHandler();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11774 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11779 return Py_BuildValue((char *)"");
11781 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxCURHandler
*result
;
11784 char *kwnames
[] = {
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxCURHandler
*)new wxCURHandler();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11803 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11806 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11808 return Py_BuildValue((char *)"");
11810 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxANIHandler
*result
;
11813 char *kwnames
[] = {
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxANIHandler
*)new wxANIHandler();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11832 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11835 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11837 return Py_BuildValue((char *)"");
11839 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxPNGHandler
*result
;
11842 char *kwnames
[] = {
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxPNGHandler
*)new wxPNGHandler();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11861 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11866 return Py_BuildValue((char *)"");
11868 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxGIFHandler
*result
;
11871 char *kwnames
[] = {
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxGIFHandler
*)new wxGIFHandler();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11890 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxPCXHandler
*result
;
11900 char *kwnames
[] = {
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxPCXHandler
*)new wxPCXHandler();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11919 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11922 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11924 return Py_BuildValue((char *)"");
11926 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxJPEGHandler
*result
;
11929 char *kwnames
[] = {
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11948 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11951 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11953 return Py_BuildValue((char *)"");
11955 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxPNMHandler
*result
;
11958 char *kwnames
[] = {
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxPNMHandler
*)new wxPNMHandler();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11977 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11980 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11982 return Py_BuildValue((char *)"");
11984 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxXPMHandler
*result
;
11987 char *kwnames
[] = {
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (wxXPMHandler
*)new wxXPMHandler();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12006 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12009 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12011 return Py_BuildValue((char *)"");
12013 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxTIFFHandler
*result
;
12016 char *kwnames
[] = {
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12035 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12038 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12040 return Py_BuildValue((char *)"");
12042 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxImage
*arg1
= 0 ;
12045 wxImage
*arg2
= 0 ;
12046 int arg3
= (int) 236 ;
12047 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 PyObject
* obj2
= 0 ;
12052 PyObject
* obj3
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12061 if (arg1
== NULL
) {
12062 PyErr_SetString(PyExc_TypeError
,"null reference");
12065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12068 if (arg2
== NULL
) {
12069 PyErr_SetString(PyExc_TypeError
,"null reference");
12073 arg3
= (int)SWIG_As_int(obj2
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 arg4
= (int)SWIG_As_int(obj3
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12099 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12101 return Py_BuildValue((char *)"");
12103 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxEvtHandler
*result
;
12106 char *kwnames
[] = {
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (wxEvtHandler
*)new wxEvtHandler();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12125 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12128 wxEvtHandler
*result
;
12129 PyObject
* obj0
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= wxPyMake_wxObject(result
, 0);
12153 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12156 wxEvtHandler
*result
;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= wxPyMake_wxObject(result
, 0);
12181 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "handler", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetNextHandler(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12213 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "handler", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetPreviousHandler(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12267 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "enabled", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 arg2
= (bool)SWIG_As_bool(obj1
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetEvtHandlerEnabled(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12296 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12299 wxEvent
*arg2
= 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "event", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12313 if (arg2
== NULL
) {
12314 PyErr_SetString(PyExc_TypeError
,"null reference");
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12336 wxEvent
*arg2
= 0 ;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self",(char *) "event", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12349 if (arg2
== NULL
) {
12350 PyErr_SetString(PyExc_TypeError
,"null reference");
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->AddPendingEvent(*arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->ProcessPendingEvents();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12398 PyObject
*arg5
= (PyObject
*) 0 ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 PyObject
* obj3
= 0 ;
12403 PyObject
* obj4
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 arg2
= (int)SWIG_As_int(obj1
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12413 arg3
= (int)SWIG_As_int(obj2
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12415 arg4
= (int)SWIG_As_int(obj3
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12436 int arg3
= (int) -1 ;
12437 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 PyObject
* obj2
= 0 ;
12442 PyObject
* obj3
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= (int)SWIG_As_int(obj1
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 arg3
= (int)SWIG_As_int(obj2
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12476 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12479 PyObject
*arg2
= (PyObject
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "_self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 wxEvtHandler__setOORInfo(arg1
,arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12507 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12509 return Py_BuildValue((char *)"");
12511 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEventType result
;
12514 char *kwnames
[] = {
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (wxEventType
)wxNewEventType();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_From_int((int)result
);
12533 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxEvent
*arg1
= (wxEvent
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxEvent
*arg1
= (wxEvent
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "typ", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->SetEventType(arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxEvent
*arg1
= (wxEvent
*) 0 ;
12590 wxEventType result
;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_From_int((int)result
);
12613 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxEvent
*arg1
= (wxEvent
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= wxPyMake_wxObject(result
, 0);
12641 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxEvent
*arg1
= (wxEvent
*) 0 ;
12644 wxObject
*arg2
= (wxObject
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "obj", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetEventObject(arg2
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxEvent
*arg1
= (wxEvent
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_From_long((long)result
);
12696 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxEvent
*arg1
= (wxEvent
*) 0 ;
12699 long arg2
= (long) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "ts", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= (long)SWIG_As_long(obj1
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->SetTimestamp(arg2
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxEvent
*arg1
= (wxEvent
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (int)((wxEvent
const *)arg1
)->GetId();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_From_int((int)result
);
12753 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxEvent
*arg1
= (wxEvent
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "Id", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 arg2
= (int)SWIG_As_int(obj1
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->SetId(arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 Py_INCREF(Py_None
); resultobj
= Py_None
;
12782 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxEvent
*arg1
= (wxEvent
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12810 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxEvent
*arg1
= (wxEvent
*) 0 ;
12813 bool arg2
= (bool) true ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "skip", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 arg2
= (bool)SWIG_As_bool(obj1
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 (arg1
)->Skip(arg2
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxEvent
*arg1
= (wxEvent
*) 0 ;
12845 PyObject
* obj0
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12869 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxEvent
*arg1
= (wxEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxEvent
*arg1
= (wxEvent
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (int)(arg1
)->StopPropagation();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_From_int((int)result
);
12923 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxEvent
*arg1
= (wxEvent
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "propagationLevel", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 arg2
= (int)SWIG_As_int(obj1
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->ResumePropagation(arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxEvent
*arg1
= (wxEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxEvent
*)(arg1
)->Clone();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12978 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12981 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12983 return Py_BuildValue((char *)"");
12985 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxEvent
*arg1
= 0 ;
12988 wxPropagationDisabler
*result
;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "event", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12998 if (arg1
== NULL
) {
12999 PyErr_SetString(PyExc_TypeError
,"null reference");
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13016 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13046 return Py_BuildValue((char *)"");
13048 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxEvent
*arg1
= 0 ;
13051 wxPropagateOnce
*result
;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "event", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13061 if (arg1
== NULL
) {
13062 PyErr_SetString(PyExc_TypeError
,"null reference");
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13079 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13107 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13109 return Py_BuildValue((char *)"");
13111 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13114 int arg2
= (int) 0 ;
13115 wxCommandEvent
*result
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "commandType",(char *) "winid", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg2
= (int)SWIG_As_int(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13145 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_From_int((int)result
);
13171 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13174 wxString
*arg2
= 0 ;
13175 bool temp2
= false ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "s", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 arg2
= wxString_in_helper(obj1
);
13187 if (arg2
== NULL
) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->SetString((wxString
const &)*arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13244 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13300 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "extraLong", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 arg2
= (long)SWIG_As_long(obj1
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->SetExtraLong(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_From_long((long)result
);
13355 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "i", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (int)SWIG_As_int(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetInt(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_From_long((long)result
);
13410 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13436 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13441 return Py_BuildValue((char *)"");
13443 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13446 int arg2
= (int) 0 ;
13447 wxNotifyEvent
*result
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "commandType",(char *) "winid", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 arg2
= (int)SWIG_As_int(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13477 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)(arg1
)->IsAllowed();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13555 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13558 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13560 return Py_BuildValue((char *)"");
13562 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13565 int arg2
= (int) 0 ;
13566 int arg3
= (int) 0 ;
13567 int arg4
= (int) 0 ;
13568 wxScrollEvent
*result
;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 PyObject
* obj3
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13579 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 arg2
= (int)SWIG_As_int(obj1
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 arg3
= (int)SWIG_As_int(obj2
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 arg4
= (int)SWIG_As_int(obj3
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13608 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_From_int((int)result
);
13634 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_From_int((int)result
);
13660 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char *kwnames
[] = {
13667 (char *) "self",(char *) "orient", NULL
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 arg2
= (int)SWIG_As_int(obj1
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->SetOrientation(arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "pos", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13702 arg2
= (int)SWIG_As_int(obj1
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetPosition(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 Py_INCREF(Py_None
); resultobj
= Py_None
;
13718 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13721 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13723 return Py_BuildValue((char *)"");
13725 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13728 int arg2
= (int) 0 ;
13729 int arg3
= (int) 0 ;
13730 wxScrollWinEvent
*result
;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13740 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13744 arg2
= (int)SWIG_As_int(obj1
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 arg3
= (int)SWIG_As_int(obj2
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13765 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_From_int((int)result
);
13791 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_From_int((int)result
);
13817 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self",(char *) "orient", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 arg2
= (int)SWIG_As_int(obj1
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->SetOrientation(arg2
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "pos", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 arg2
= (int)SWIG_As_int(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->SetPosition(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13878 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13880 return Py_BuildValue((char *)"");
13882 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13885 wxMouseEvent
*result
;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "mouseType", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13893 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= wxPyMake_wxObject(result
, 1);
13912 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13940 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 int arg2
= (int) wxMOUSE_BTN_ANY
;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "but", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 arg2
= (int)SWIG_As_int(obj1
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13977 int arg2
= (int) wxMOUSE_BTN_ANY
;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "but", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 arg2
= (int)SWIG_As_int(obj1
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14008 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14011 int arg2
= (int) wxMOUSE_BTN_ANY
;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "but", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 arg2
= (int)SWIG_As_int(obj1
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14042 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "but", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 arg2
= (int)SWIG_As_int(obj1
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "but", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 arg2
= (int)SWIG_As_int(obj1
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14106 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_From_int((int)result
);
14132 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14216 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14300 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14328 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14440 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14524 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (bool)(arg1
)->LeftIsDown();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (bool)(arg1
)->MiddleIsDown();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14580 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)(arg1
)->RightIsDown();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14720 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (arg1
)->GetPosition();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 wxPoint
* resultptr
;
14741 resultptr
= new wxPoint((wxPoint
&) result
);
14742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14750 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14753 long *arg2
= (long *) 0 ;
14754 long *arg3
= (long *) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self", NULL
14764 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14765 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 (arg1
)->GetPosition(arg2
,arg3
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 Py_INCREF(Py_None
); resultobj
= Py_None
;
14777 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14778 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14779 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14780 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14787 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self",(char *) "dc", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14804 if (arg2
== NULL
) {
14805 PyErr_SetString(PyExc_TypeError
,"null reference");
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 wxPoint
* resultptr
;
14817 resultptr
= new wxPoint((wxPoint
&) result
);
14818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14826 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_From_int((int)result
);
14852 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_From_int((int)result
);
14878 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_From_int((int)result
);
14904 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_From_int((int)result
);
14930 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_From_int((int)result
);
14956 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "m_x", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 arg2
= (int)SWIG_As_int(obj1
);
14998 if (PyErr_Occurred()) SWIG_fail
;
14999 if (arg1
) (arg1
)->m_x
= arg2
;
15001 Py_INCREF(Py_None
); resultobj
= Py_None
;
15008 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 result
= (int) ((arg1
)->m_x
);
15022 resultobj
= SWIG_From_int((int)result
);
15029 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self",(char *) "m_y", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15042 arg2
= (int)SWIG_As_int(obj1
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15044 if (arg1
) (arg1
)->m_y
= arg2
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 result
= (int) ((arg1
)->m_y
);
15067 resultobj
= SWIG_From_int((int)result
);
15074 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self",(char *) "m_leftDown", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (bool)SWIG_As_bool(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15089 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 result
= (bool) ((arg1
)->m_leftDown
);
15113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15121 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "m_middleDown", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 arg2
= (bool)SWIG_As_bool(obj1
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15136 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 result
= (bool) ((arg1
)->m_middleDown
);
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "m_rightDown", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 arg2
= (bool)SWIG_As_bool(obj1
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15183 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 result
= (bool) ((arg1
)->m_rightDown
);
15207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15215 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "m_controlDown", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 arg2
= (bool)SWIG_As_bool(obj1
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15230 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 result
= (bool) ((arg1
)->m_controlDown
);
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "m_shiftDown", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= (bool)SWIG_As_bool(obj1
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15277 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15279 Py_INCREF(Py_None
); resultobj
= Py_None
;
15286 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 result
= (bool) ((arg1
)->m_shiftDown
);
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "m_altDown", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 arg2
= (bool)SWIG_As_bool(obj1
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15324 if (arg1
) (arg1
)->m_altDown
= arg2
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 result
= (bool) ((arg1
)->m_altDown
);
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "m_metaDown", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 arg2
= (bool)SWIG_As_bool(obj1
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15371 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15373 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 result
= (bool) ((arg1
)->m_metaDown
);
15395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15403 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "m_wheelRotation", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 arg2
= (int)SWIG_As_int(obj1
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15418 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15420 Py_INCREF(Py_None
); resultobj
= Py_None
;
15427 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 result
= (int) ((arg1
)->m_wheelRotation
);
15441 resultobj
= SWIG_From_int((int)result
);
15448 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "m_wheelDelta", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg2
= (int)SWIG_As_int(obj1
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15463 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15465 Py_INCREF(Py_None
); resultobj
= Py_None
;
15472 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 result
= (int) ((arg1
)->m_wheelDelta
);
15486 resultobj
= SWIG_From_int((int)result
);
15493 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "m_linesPerAction", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 arg2
= (int)SWIG_As_int(obj1
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15508 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15510 Py_INCREF(Py_None
); resultobj
= Py_None
;
15517 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 result
= (int) ((arg1
)->m_linesPerAction
);
15531 resultobj
= SWIG_From_int((int)result
);
15538 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15541 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15543 return Py_BuildValue((char *)"");
15545 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 int arg1
= (int) 0 ;
15548 int arg2
= (int) 0 ;
15549 wxSetCursorEvent
*result
;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "x",(char *) "y", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15558 arg1
= (int)SWIG_As_int(obj0
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 arg2
= (int)SWIG_As_int(obj1
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15579 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_From_int((int)result
);
15605 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)result
);
15631 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15634 wxCursor
*arg2
= 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "cursor", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15647 if (arg2
== NULL
) {
15648 PyErr_SetString(PyExc_TypeError
,"null reference");
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15681 result
= (wxCursor
*) &_result_ref
;
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 wxCursor
* resultptr
= new wxCursor(*result
);
15689 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15697 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15728 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15730 return Py_BuildValue((char *)"");
15732 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15735 wxKeyEvent
*result
;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "keyType", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15743 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15760 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15788 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15816 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15844 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15872 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15900 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15928 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_From_int((int)result
);
15954 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_From_int((int)result
);
15980 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15983 unsigned int result
;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16006 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16009 unsigned int result
;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16032 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (arg1
)->GetPosition();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 wxPoint
* resultptr
;
16053 resultptr
= new wxPoint((wxPoint
&) result
);
16054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16062 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16065 long *arg2
= (long *) 0 ;
16066 long *arg3
= (long *) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16077 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 (arg1
)->GetPosition(arg2
,arg3
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16090 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16091 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16092 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16099 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= SWIG_From_int((int)result
);
16125 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= SWIG_From_int((int)result
);
16151 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "m_x", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 arg2
= (int)SWIG_As_int(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16166 if (arg1
) (arg1
)->m_x
= arg2
;
16168 Py_INCREF(Py_None
); resultobj
= Py_None
;
16175 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 result
= (int) ((arg1
)->m_x
);
16189 resultobj
= SWIG_From_int((int)result
);
16196 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "m_y", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 arg2
= (int)SWIG_As_int(obj1
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16211 if (arg1
) (arg1
)->m_y
= arg2
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16220 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16224 PyObject
* obj0
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 result
= (int) ((arg1
)->m_y
);
16234 resultobj
= SWIG_From_int((int)result
);
16241 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self",(char *) "m_keyCode", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 arg2
= (long)SWIG_As_long(obj1
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16256 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16265 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 result
= (long) ((arg1
)->m_keyCode
);
16279 resultobj
= SWIG_From_long((long)result
);
16286 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "m_controlDown", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 arg2
= (bool)SWIG_As_bool(obj1
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16301 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16322 result
= (bool) ((arg1
)->m_controlDown
);
16325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16333 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "m_shiftDown", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16346 arg2
= (bool)SWIG_As_bool(obj1
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16348 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 result
= (bool) ((arg1
)->m_shiftDown
);
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "m_altDown", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 arg2
= (bool)SWIG_As_bool(obj1
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16395 if (arg1
) (arg1
)->m_altDown
= arg2
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 result
= (bool) ((arg1
)->m_altDown
);
16419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16427 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self",(char *) "m_metaDown", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16440 arg2
= (bool)SWIG_As_bool(obj1
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16442 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16463 result
= (bool) ((arg1
)->m_metaDown
);
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "m_scanCode", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 arg2
= (bool)SWIG_As_bool(obj1
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16489 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 result
= (bool) ((arg1
)->m_scanCode
);
16513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16521 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16524 unsigned int arg2
;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "m_rawCode", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16534 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16536 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16548 unsigned int result
;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 result
= (unsigned int) ((arg1
)->m_rawCode
);
16559 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16566 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16569 unsigned int arg2
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "m_rawFlags", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16581 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16593 unsigned int result
;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16604 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16611 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16616 return Py_BuildValue((char *)"");
16618 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16621 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16622 int arg2
= (int) 0 ;
16623 wxSizeEvent
*result
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "sz",(char *) "winid", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16639 arg2
= (int)SWIG_As_int(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16656 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 wxSize
* resultptr
;
16677 resultptr
= new wxSize((wxSize
&) result
);
16678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16686 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 wxRect
* resultptr
;
16707 resultptr
= new wxRect((wxRect
&) result
);
16708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16716 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "rect", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16731 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetRect(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "size", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16762 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 wxSizeEvent_SetSize(arg1
,arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16781 wxSize
*arg2
= (wxSize
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "m_size", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if (arg1
) (arg1
)->m_size
= *arg2
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 result
= (wxSize
*)& ((arg1
)->m_size
);
16816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16823 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16826 wxRect
*arg2
= (wxRect
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "m_rect", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if (arg1
) (arg1
)->m_rect
= *arg2
;
16840 Py_INCREF(Py_None
); resultobj
= Py_None
;
16847 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 result
= (wxRect
*)& ((arg1
)->m_rect
);
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16868 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16873 return Py_BuildValue((char *)"");
16875 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16878 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16879 int arg2
= (int) 0 ;
16880 wxMoveEvent
*result
;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "pos",(char *) "winid", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16896 arg2
= (int)SWIG_As_int(obj1
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16913 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 wxPoint
* resultptr
;
16934 resultptr
= new wxPoint((wxPoint
&) result
);
16935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16943 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 wxRect
* resultptr
;
16964 resultptr
= new wxRect((wxRect
&) result
);
16965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16973 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "rect", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16988 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->SetRect(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "pos", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17018 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17019 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 wxMoveEvent_SetPosition(arg1
,arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17038 wxPoint
*arg2
= (wxPoint
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "m_pos", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if (arg1
) (arg1
)->m_pos
= *arg2
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17059 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17063 PyObject
* obj0
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17080 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17083 wxRect
*arg2
= (wxRect
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self",(char *) "m_rect", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 if (arg1
) (arg1
)->m_rect
= *arg2
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 result
= (wxRect
*)& ((arg1
)->m_rect
);
17118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17125 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17128 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17130 return Py_BuildValue((char *)"");
17132 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 int arg1
= (int) 0 ;
17135 wxPaintEvent
*result
;
17136 PyObject
* obj0
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "Id", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17143 arg1
= (int)SWIG_As_int(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17160 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17165 return Py_BuildValue((char *)"");
17167 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 int arg1
= (int) 0 ;
17170 wxNcPaintEvent
*result
;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "winid", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17178 arg1
= (int)SWIG_As_int(obj0
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17195 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17198 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17200 return Py_BuildValue((char *)"");
17202 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 int arg1
= (int) 0 ;
17205 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17206 wxEraseEvent
*result
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "Id",(char *) "dc", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 arg1
= (int)SWIG_As_int(obj0
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17236 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= wxPyMake_wxObject(result
, 0);
17264 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17267 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17269 return Py_BuildValue((char *)"");
17271 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17274 int arg2
= (int) 0 ;
17275 wxFocusEvent
*result
;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "type",(char *) "winid", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 arg2
= (int)SWIG_As_int(obj1
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17305 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= wxPyMake_wxObject(result
, 0);
17333 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17336 wxWindow
*arg2
= (wxWindow
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "win", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetWindow(arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17365 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17367 return Py_BuildValue((char *)"");
17369 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxWindow
*arg1
= (wxWindow
*) NULL
;
17372 wxChildFocusEvent
*result
;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "win", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17397 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= wxPyMake_wxObject(result
, 0);
17425 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17430 return Py_BuildValue((char *)"");
17432 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17435 bool arg2
= (bool) true ;
17436 int arg3
= (int) 0 ;
17437 wxActivateEvent
*result
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "type",(char *) "active",(char *) "Id", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17447 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 arg2
= (bool)SWIG_As_bool(obj1
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 arg3
= (int)SWIG_As_int(obj2
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17472 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17500 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17505 return Py_BuildValue((char *)"");
17507 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 int arg1
= (int) 0 ;
17510 wxInitDialogEvent
*result
;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "Id", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17518 arg1
= (int)SWIG_As_int(obj0
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17535 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17538 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17540 return Py_BuildValue((char *)"");
17542 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17545 int arg2
= (int) 0 ;
17546 wxMenu
*arg3
= (wxMenu
*) NULL
;
17547 wxMenuEvent
*result
;
17548 PyObject
* obj0
= 0 ;
17549 PyObject
* obj1
= 0 ;
17550 PyObject
* obj2
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "type",(char *) "winid",(char *) "menu", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17557 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 arg2
= (int)SWIG_As_int(obj1
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17582 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17586 PyObject
* obj0
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_From_int((int)result
);
17608 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17636 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= wxPyMake_wxObject(result
, 0);
17664 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17667 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17669 return Py_BuildValue((char *)"");
17671 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17674 int arg2
= (int) 0 ;
17675 wxCloseEvent
*result
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "type",(char *) "winid", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 arg2
= (int)SWIG_As_int(obj1
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17705 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "logOff", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 arg2
= (bool)SWIG_As_bool(obj1
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->SetLoggingOff(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17762 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17765 bool arg2
= (bool) true ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "veto", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 arg2
= (bool)SWIG_As_bool(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->Veto(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "canVeto", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 arg2
= (bool)SWIG_As_bool(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 (arg1
)->SetCanVeto(arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17850 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17883 return Py_BuildValue((char *)"");
17885 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 int arg1
= (int) 0 ;
17888 bool arg2
= (bool) false ;
17889 wxShowEvent
*result
;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "winid",(char *) "show", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 arg1
= (int)SWIG_As_int(obj0
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 arg2
= (bool)SWIG_As_bool(obj1
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17919 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "show", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (bool)SWIG_As_bool(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetShow(arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17976 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17981 return Py_BuildValue((char *)"");
17983 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 int arg1
= (int) 0 ;
17986 bool arg2
= (bool) true ;
17987 wxIconizeEvent
*result
;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "id",(char *) "iconized", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 arg1
= (int)SWIG_As_int(obj0
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 arg2
= (bool)SWIG_As_bool(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18017 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)(arg1
)->Iconized();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18045 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18048 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18050 return Py_BuildValue((char *)"");
18052 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 int arg1
= (int) 0 ;
18055 wxMaximizeEvent
*result
;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "id", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18063 arg1
= (int)SWIG_As_int(obj0
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18080 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18083 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18085 return Py_BuildValue((char *)"");
18087 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetPosition();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxPoint
* resultptr
;
18108 resultptr
= new wxPoint((wxPoint
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18117 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)(arg1
)->GetNumberOfFiles();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_From_int((int)result
);
18143 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
;
18169 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18174 return Py_BuildValue((char *)"");
18176 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 int arg1
= (int) 0 ;
18179 wxUpdateUIEvent
*result
;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "commandId", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18187 arg1
= (int)SWIG_As_int(obj0
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18204 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18232 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18260 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18292 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18320 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18348 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18376 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "check", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 arg2
= (bool)SWIG_As_bool(obj1
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->Check(arg2
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 Py_INCREF(Py_None
); resultobj
= Py_None
;
18405 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "enable", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 arg2
= (bool)SWIG_As_bool(obj1
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->Enable(arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18437 wxString
*arg2
= 0 ;
18438 bool temp2
= false ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "text", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= wxString_in_helper(obj1
);
18450 if (arg2
== NULL
) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetText((wxString
const &)*arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18475 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "updateInterval", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18484 arg1
= (long)SWIG_As_long(obj0
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 Py_INCREF(Py_None
); resultobj
= Py_None
;
18500 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18503 char *kwnames
[] = {
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_From_long((long)result
);
18522 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxWindow
*arg1
= (wxWindow
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "win", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18550 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 char *kwnames
[] = {
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 wxUpdateUIEvent::ResetUpdateTime();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "mode", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18580 arg1
= (int)SWIG_As_int(obj0
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 Py_INCREF(Py_None
); resultobj
= Py_None
;
18596 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18599 char *kwnames
[] = {
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (int)wxUpdateUIEvent::GetMode();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_From_int((int)result
);
18618 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18621 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18623 return Py_BuildValue((char *)"");
18625 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxSysColourChangedEvent
*result
;
18628 char *kwnames
[] = {
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18647 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18650 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18652 return Py_BuildValue((char *)"");
18654 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 int arg1
= (int) 0 ;
18657 wxWindow
*arg2
= (wxWindow
*) NULL
;
18658 wxMouseCaptureChangedEvent
*result
;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "winid",(char *) "gainedCapture", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18667 arg1
= (int)SWIG_As_int(obj0
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18688 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= wxPyMake_wxObject(result
, 0);
18716 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18719 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18721 return Py_BuildValue((char *)"");
18723 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDisplayChangedEvent
*result
;
18726 char *kwnames
[] = {
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18745 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18748 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18750 return Py_BuildValue((char *)"");
18752 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 int arg1
= (int) 0 ;
18755 wxPaletteChangedEvent
*result
;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "id", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18763 arg1
= (int)SWIG_As_int(obj0
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18780 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18783 wxWindow
*arg2
= (wxWindow
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "win", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 (arg1
)->SetChangedWindow(arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 Py_INCREF(Py_None
); resultobj
= Py_None
;
18809 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= wxPyMake_wxObject(result
, 0);
18837 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18842 return Py_BuildValue((char *)"");
18844 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 int arg1
= (int) 0 ;
18847 wxQueryNewPaletteEvent
*result
;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "winid", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18855 arg1
= (int)SWIG_As_int(obj0
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18872 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "realized", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 arg2
= (bool)SWIG_As_bool(obj1
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->SetPaletteRealized(arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18929 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxNavigationKeyEvent
*result
;
18939 char *kwnames
[] = {
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18958 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "forward", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 arg2
= (bool)SWIG_As_bool(obj1
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetDirection(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19043 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "ischange", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= (bool)SWIG_As_bool(obj1
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetWindowChange(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "flags", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 arg2
= (long)SWIG_As_long(obj1
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetFlags(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19101 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= wxPyMake_wxObject(result
, 0);
19129 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19132 wxWindow
*arg2
= (wxWindow
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "win", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->SetCurrentFocus(arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19161 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19163 return Py_BuildValue((char *)"");
19165 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxWindow
*arg1
= (wxWindow
*) NULL
;
19168 wxWindowCreateEvent
*result
;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "win", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19193 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19197 PyObject
* obj0
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= wxPyMake_wxObject(result
, 0);
19221 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19224 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19226 return Py_BuildValue((char *)"");
19228 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxWindow
*arg1
= (wxWindow
*) NULL
;
19231 wxWindowDestroyEvent
*result
;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "win", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19256 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= wxPyMake_wxObject(result
, 0);
19284 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19287 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19289 return Py_BuildValue((char *)"");
19291 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19294 int arg2
= (int) 0 ;
19295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19297 wxContextMenuEvent
*result
;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "type",(char *) "winid",(char *) "pt", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19308 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 arg2
= (int)SWIG_As_int(obj1
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19335 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19351 result
= (wxPoint
*) &_result_ref
;
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19364 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19367 wxPoint
*arg2
= 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "pos", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19399 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19401 return Py_BuildValue((char *)"");
19403 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxIdleEvent
*result
;
19406 char *kwnames
[] = {
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (wxIdleEvent
*)new wxIdleEvent();
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19425 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19428 bool arg2
= (bool) true ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "needMore", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 arg2
= (bool)SWIG_As_bool(obj1
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->RequestMore(arg2
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19484 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "mode", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19493 arg1
= (int)SWIG_As_int(obj0
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19512 char *kwnames
[] = {
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (int)wxIdleEvent::GetMode();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_From_int((int)result
);
19531 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxWindow
*arg1
= (wxWindow
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "win", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (bool)wxIdleEvent::CanSend(arg1
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19559 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19562 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19564 return Py_BuildValue((char *)"");
19566 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 int arg1
= (int) 0 ;
19569 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "winid",(char *) "commandType", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 arg1
= (int)SWIG_As_int(obj0
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19600 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 Py_INCREF(Py_None
); resultobj
= Py_None
;
19625 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19628 PyObject
*arg2
= (PyObject
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetSelf(arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (PyObject
*)(arg1
)->GetSelf();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= result
;
19679 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19684 return Py_BuildValue((char *)"");
19686 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19689 int arg2
= (int) 0 ;
19690 wxPyCommandEvent
*result
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "commandType",(char *) "id", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 arg2
= (int)SWIG_As_int(obj1
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19720 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 Py_INCREF(Py_None
); resultobj
= Py_None
;
19745 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19748 PyObject
*arg2
= (PyObject
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self",(char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->SetSelf(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (PyObject
*)(arg1
)->GetSelf();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= result
;
19799 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19802 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19804 return Py_BuildValue((char *)"");
19806 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19809 char *kwnames
[] = {
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxPyApp
*)new_wxPyApp();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19828 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19856 PyObject
*arg2
= (PyObject
*) 0 ;
19857 PyObject
*arg3
= (PyObject
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 PyObject
* obj2
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "self",(char *) "_class", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19916 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19919 wxString
*arg2
= 0 ;
19920 bool temp2
= false ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self",(char *) "name", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 arg2
= wxString_in_helper(obj1
);
19932 if (arg2
== NULL
) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 (arg1
)->SetAppName((wxString
const &)*arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19989 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19992 wxString
*arg2
= 0 ;
19993 bool temp2
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "name", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 arg2
= wxString_in_helper(obj1
);
20005 if (arg2
== NULL
) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->SetClassName((wxString
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 Py_INCREF(Py_None
); resultobj
= Py_None
;
20030 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20046 result
= (wxString
*) &_result_ref
;
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20065 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20068 wxString
*arg2
= 0 ;
20069 bool temp2
= false ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "name", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20080 arg2
= wxString_in_helper(obj1
);
20081 if (arg2
== NULL
) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20109 wxAppTraits
*result
;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20132 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->ProcessPendingEvents();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20157 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20160 bool arg2
= (bool) false ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "onlyIfNeeded", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 arg2
= (bool)SWIG_As_bool(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (bool)(arg1
)->Yield(arg2
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20191 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->WakeUpIdle();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20219 char *kwnames
[] = {
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (bool)wxPyApp::IsMainLoopRunning();
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20240 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (int)(arg1
)->MainLoop();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_From_int((int)result
);
20266 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->ExitMainLoop();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)(arg1
)->Pending();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)(arg1
)->Dispatch();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)(arg1
)->ProcessIdle();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20403 wxWindow
*arg2
= (wxWindow
*) 0 ;
20404 wxIdleEvent
*arg3
= 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 PyObject
* obj2
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "win",(char *) "event", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20421 if (arg3
== NULL
) {
20422 PyErr_SetString(PyExc_TypeError
,"null reference");
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20472 wxWindow
*arg2
= (wxWindow
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "win", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 (arg1
)->SetTopWindow(arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= wxPyMake_wxObject(result
, 0);
20526 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "flag", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 arg2
= (bool)SWIG_As_bool(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetExitOnFrameDelete(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20583 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "flag", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 arg2
= (bool)SWIG_As_bool(obj1
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->SetUseBestVisual(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 Py_INCREF(Py_None
); resultobj
= Py_None
;
20612 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "mode", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 arg2
= (int)SWIG_As_int(obj1
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->SetPrintMode(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_From_int((int)result
);
20695 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self",(char *) "mode", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 arg2
= (int)SWIG_As_int(obj1
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetAssertMode(arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= (int)(arg1
)->GetAssertMode();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_From_int((int)result
);
20750 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20753 char *kwnames
[] = {
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20774 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20777 char *kwnames
[] = {
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_From_long((long)result
);
20796 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20799 char *kwnames
[] = {
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_From_long((long)result
);
20818 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20821 char *kwnames
[] = {
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (long)wxPyApp::GetMacExitMenuItemId();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_From_long((long)result
);
20840 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20843 char *kwnames
[] = {
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= wxPyApp::GetMacHelpMenuTitleName();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20868 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "val", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20877 arg1
= (bool)SWIG_As_bool(obj0
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 Py_INCREF(Py_None
); resultobj
= Py_None
;
20893 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "val", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20902 arg1
= (long)SWIG_As_long(obj0
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 wxPyApp::SetMacAboutMenuItemId(arg1
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 Py_INCREF(Py_None
); resultobj
= Py_None
;
20918 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "val", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20927 arg1
= (long)SWIG_As_long(obj0
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 Py_INCREF(Py_None
); resultobj
= Py_None
;
20943 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "val", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20952 arg1
= (long)SWIG_As_long(obj0
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 wxPyApp::SetMacExitMenuItemId(arg1
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxString
*arg1
= 0 ;
20971 bool temp1
= false ;
20972 PyObject
* obj0
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "val", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20979 arg1
= wxString_in_helper(obj0
);
20980 if (arg1
== NULL
) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21005 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 (arg1
)->_BootstrapApp();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 Py_INCREF(Py_None
); resultobj
= Py_None
;
21030 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21033 char *kwnames
[] = {
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (int)wxPyApp::GetComCtl32Version();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_From_int((int)result
);
21052 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21055 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21057 return Py_BuildValue((char *)"");
21059 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 char *kwnames
[] = {
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21080 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21083 char *kwnames
[] = {
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (bool)wxYield();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21104 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21107 char *kwnames
[] = {
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (bool)wxYieldIfNeeded();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21128 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxWindow
*arg1
= (wxWindow
*) NULL
;
21131 bool arg2
= (bool) false ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "win",(char *) "onlyIfNeeded", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 arg2
= (bool)SWIG_As_bool(obj1
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (bool)wxSafeYield(arg1
,arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21164 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 char *kwnames
[] = {
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 Py_INCREF(Py_None
); resultobj
= Py_None
;
21185 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21188 wxEvent
*arg2
= 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "dest",(char *) "event", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21201 if (arg2
== NULL
) {
21202 PyErr_SetString(PyExc_TypeError
,"null reference");
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 wxPostEvent(arg1
,*arg2
);
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 Py_INCREF(Py_None
); resultobj
= Py_None
;
21219 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 char *kwnames
[] = {
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 Py_INCREF(Py_None
); resultobj
= Py_None
;
21240 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21243 char *kwnames
[] = {
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxPyApp
*)wxPyGetApp();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= wxPyMake_wxObject(result
, 0);
21264 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxEventLoop
*result
;
21267 char *kwnames
[] = {
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (wxEventLoop
*)new wxEventLoop();
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21286 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 Py_INCREF(Py_None
); resultobj
= Py_None
;
21311 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (int)(arg1
)->Run();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_From_int((int)result
);
21337 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21340 int arg2
= (int) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "rc", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 arg2
= (int)SWIG_As_int(obj1
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->Exit(arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 Py_INCREF(Py_None
); resultobj
= Py_None
;
21368 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21400 PyObject
* obj0
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (bool)(arg1
)->Dispatch();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21424 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxEventLoop
*result
;
21455 char *kwnames
[] = {
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21474 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21477 PyObject
* obj0
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "loop", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 wxEventLoop::SetActive(arg1
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 Py_INCREF(Py_None
); resultobj
= Py_None
;
21499 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21502 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21504 return Py_BuildValue((char *)"");
21506 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 int arg1
= (int) 0 ;
21509 int arg2
= (int) 0 ;
21510 int arg3
= (int) 0 ;
21511 wxAcceleratorEntry
*result
;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 PyObject
* obj2
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21521 arg1
= (int)SWIG_As_int(obj0
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 arg2
= (int)SWIG_As_int(obj1
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 arg3
= (int)SWIG_As_int(obj2
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21546 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 PyObject
* obj2
= 0 ;
21580 PyObject
* obj3
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 arg2
= (int)SWIG_As_int(obj1
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21590 arg3
= (int)SWIG_As_int(obj2
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21592 arg4
= (int)SWIG_As_int(obj3
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 (arg1
)->Set(arg2
,arg3
,arg4
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 Py_INCREF(Py_None
); resultobj
= Py_None
;
21608 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (int)(arg1
)->GetFlags();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_From_int((int)result
);
21634 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
;
21636 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (int)(arg1
)->GetKeyCode();
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_From_int((int)result
);
21660 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (int)(arg1
)->GetCommand();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_From_int((int)result
);
21686 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21689 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21691 return Py_BuildValue((char *)"");
21693 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21696 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21697 wxAcceleratorTable
*result
;
21698 PyObject
* obj0
= 0 ;
21699 char *kwnames
[] = {
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21705 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21706 if (arg2
) arg1
= PyList_Size(obj0
);
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21729 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 Py_INCREF(Py_None
); resultobj
= Py_None
;
21754 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21782 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21785 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21787 return Py_BuildValue((char *)"");
21789 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21790 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21795 static PyObject
*_wrap_NullAcceleratorTable_get() {
21798 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21803 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxString
*arg1
= 0 ;
21806 wxAcceleratorEntry
*result
;
21807 bool temp1
= false ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "label", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21815 arg1
= wxString_in_helper(obj0
);
21816 if (arg1
== NULL
) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21841 static int _wrap_PanelNameStr_set(PyObject
*) {
21842 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21847 static PyObject
*_wrap_PanelNameStr_get() {
21852 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21854 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21861 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxVisualAttributes
*result
;
21864 char *kwnames
[] = {
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21883 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 delete_wxVisualAttributes(arg1
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21911 wxFont
*arg2
= (wxFont
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "font", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 if (arg1
) (arg1
)->font
= *arg2
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 result
= (wxFont
*)& ((arg1
)->font
);
21946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21953 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21956 wxColour
*arg2
= (wxColour
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "colFg", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 if (arg1
) (arg1
)->colFg
= *arg2
;
21970 Py_INCREF(Py_None
); resultobj
= Py_None
;
21977 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 result
= (wxColour
*)& ((arg1
)->colFg
);
21991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21998 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22001 wxColour
*arg2
= (wxColour
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "colBg", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 if (arg1
) (arg1
)->colBg
= *arg2
;
22015 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 result
= (wxColour
*)& ((arg1
)->colBg
);
22036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22043 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22046 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22048 return Py_BuildValue((char *)"");
22050 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22053 int arg2
= (int) (int)-1 ;
22054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22058 long arg5
= (long) 0 ;
22059 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22064 bool temp6
= false ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 PyObject
* obj3
= 0 ;
22069 PyObject
* obj4
= 0 ;
22070 PyObject
* obj5
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 arg2
= (int)SWIG_As_int(obj1
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22095 arg5
= (long)SWIG_As_long(obj4
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22100 arg6
= wxString_in_helper(obj5
);
22101 if (arg6
== NULL
) SWIG_fail
;
22106 if (!wxPyCheckForApp()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22128 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22131 char *kwnames
[] = {
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22137 if (!wxPyCheckForApp()) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (wxWindow
*)new wxWindow();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22151 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
;
22153 wxWindow
*arg1
= (wxWindow
*) 0 ;
22154 wxWindow
*arg2
= (wxWindow
*) 0 ;
22155 int arg3
= (int) (int)-1 ;
22156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22160 long arg6
= (long) 0 ;
22161 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22166 bool temp7
= false ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 PyObject
* obj2
= 0 ;
22170 PyObject
* obj3
= 0 ;
22171 PyObject
* obj4
= 0 ;
22172 PyObject
* obj5
= 0 ;
22173 PyObject
* obj6
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 arg3
= (int)SWIG_As_int(obj2
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22200 arg6
= (long)SWIG_As_long(obj5
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22205 arg7
= wxString_in_helper(obj6
);
22206 if (arg7
== NULL
) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22234 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxWindow
*arg1
= (wxWindow
*) 0 ;
22237 bool arg2
= (bool) false ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "force", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 arg2
= (bool)SWIG_As_bool(obj1
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (bool)(arg1
)->Close(arg2
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22268 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxWindow
*arg1
= (wxWindow
*) 0 ;
22272 PyObject
* obj0
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (bool)(arg1
)->Destroy();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22296 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxWindow
*arg1
= (wxWindow
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (bool)(arg1
)->DestroyChildren();
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22324 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxWindow
*arg1
= (wxWindow
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22352 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 wxString
*arg2
= 0 ;
22356 bool temp2
= false ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "title", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= wxString_in_helper(obj1
);
22368 if (arg2
== NULL
) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetTitle((wxString
const &)*arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22393 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxWindow
*arg1
= (wxWindow
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= ((wxWindow
const *)arg1
)->GetTitle();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22425 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxWindow
*arg1
= (wxWindow
*) 0 ;
22428 wxString
*arg2
= 0 ;
22429 bool temp2
= false ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "label", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 arg2
= wxString_in_helper(obj1
);
22441 if (arg2
== NULL
) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->SetLabel((wxString
const &)*arg2
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxWindow
*arg1
= (wxWindow
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= ((wxWindow
const *)arg1
)->GetLabel();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22498 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxWindow
*arg1
= (wxWindow
*) 0 ;
22501 wxString
*arg2
= 0 ;
22502 bool temp2
= false ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "name", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 arg2
= wxString_in_helper(obj1
);
22514 if (arg2
== NULL
) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->SetName((wxString
const &)*arg2
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 Py_INCREF(Py_None
); resultobj
= Py_None
;
22539 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxWindow
*arg1
= (wxWindow
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= ((wxWindow
const *)arg1
)->GetName();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22571 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxWindow
*arg1
= (wxWindow
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "variant", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 arg2
= (int)SWIG_As_int(obj1
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 Py_INCREF(Py_None
); resultobj
= Py_None
;
22600 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxWindow
*arg1
= (wxWindow
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_From_int((int)result
);
22626 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxWindow
*arg1
= (wxWindow
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self",(char *) "winid", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 arg2
= (int)SWIG_As_int(obj1
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 (arg1
)->SetId(arg2
);
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 Py_INCREF(Py_None
); resultobj
= Py_None
;
22655 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxWindow
*arg1
= (wxWindow
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (int)((wxWindow
const *)arg1
)->GetId();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_From_int((int)result
);
22681 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22684 char *kwnames
[] = {
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (int)wxWindow::NewControlId();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 resultobj
= SWIG_From_int((int)result
);
22703 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "winid", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22713 arg1
= (int)SWIG_As_int(obj0
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (int)wxWindow::NextControlId(arg1
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_From_int((int)result
);
22729 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22733 PyObject
* obj0
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "winid", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22739 arg1
= (int)SWIG_As_int(obj0
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (int)wxWindow::PrevControlId(arg1
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_From_int((int)result
);
22755 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
;
22757 wxWindow
*arg1
= (wxWindow
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "size", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 (arg1
)->SetSize((wxSize
const &)*arg2
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 Py_INCREF(Py_None
); resultobj
= Py_None
;
22787 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxWindow
*arg1
= (wxWindow
*) 0 ;
22794 int arg6
= (int) wxSIZE_AUTO
;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 PyObject
* obj2
= 0 ;
22798 PyObject
* obj3
= 0 ;
22799 PyObject
* obj4
= 0 ;
22800 PyObject
* obj5
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 arg2
= (int)SWIG_As_int(obj1
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22810 arg3
= (int)SWIG_As_int(obj2
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22812 arg4
= (int)SWIG_As_int(obj3
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22814 arg5
= (int)SWIG_As_int(obj4
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 arg6
= (int)SWIG_As_int(obj5
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 Py_INCREF(Py_None
); resultobj
= Py_None
;
22834 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxWindow
*arg1
= (wxWindow
*) 0 ;
22838 int arg3
= (int) wxSIZE_AUTO
;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 PyObject
* obj2
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22855 arg3
= (int)SWIG_As_int(obj2
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 Py_INCREF(Py_None
); resultobj
= Py_None
;
22872 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxWindow
*arg1
= (wxWindow
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 PyObject
* obj2
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "width",(char *) "height", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (int)SWIG_As_int(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22889 arg3
= (int)SWIG_As_int(obj2
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 (arg1
)->SetSize(arg2
,arg3
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxWindow
*arg1
= (wxWindow
*) 0 ;
22908 wxPoint
*arg2
= 0 ;
22909 int arg3
= (int) wxSIZE_USE_EXISTING
;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "pt",(char *) "flags", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22926 arg3
= (int)SWIG_As_int(obj2
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxWindow
*arg1
= (wxWindow
*) 0 ;
22948 int arg4
= (int) wxSIZE_USE_EXISTING
;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 PyObject
* obj2
= 0 ;
22952 PyObject
* obj3
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 arg2
= (int)SWIG_As_int(obj1
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22962 arg3
= (int)SWIG_As_int(obj2
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 arg4
= (int)SWIG_As_int(obj3
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 (arg1
)->Move(arg2
,arg3
,arg4
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 Py_INCREF(Py_None
); resultobj
= Py_None
;
22982 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxWindow
*arg1
= (wxWindow
*) 0 ;
22985 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22986 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "size", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 Py_INCREF(Py_None
); resultobj
= Py_None
;
23017 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxWindow
*arg1
= (wxWindow
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 Py_INCREF(Py_None
); resultobj
= Py_None
;
23042 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxWindow
*arg1
= (wxWindow
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxWindow
*arg1
= (wxWindow
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "size", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 Py_INCREF(Py_None
); resultobj
= Py_None
;
23099 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxWindow
*arg1
= (wxWindow
*) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 PyObject
* obj2
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "width",(char *) "height", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 arg2
= (int)SWIG_As_int(obj1
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23116 arg3
= (int)SWIG_As_int(obj2
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->SetClientSize(arg2
,arg3
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxWindow
*arg1
= (wxWindow
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self",(char *) "rect", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 Py_INCREF(Py_None
); resultobj
= Py_None
;
23164 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxWindow
*arg1
= (wxWindow
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (arg1
)->GetPosition();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 wxPoint
* resultptr
;
23185 resultptr
= new wxPoint((wxPoint
&) result
);
23186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23194 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxWindow
*arg1
= (wxWindow
*) 0 ;
23197 int *arg2
= (int *) 0 ;
23198 int *arg3
= (int *) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 (arg1
)->GetPosition(arg2
,arg3
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 Py_INCREF(Py_None
); resultobj
= Py_None
;
23221 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23222 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23231 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxWindow
*arg1
= (wxWindow
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= ((wxWindow
const *)arg1
)->GetSize();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 wxSize
* resultptr
;
23252 resultptr
= new wxSize((wxSize
&) result
);
23253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23261 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxWindow
*arg1
= (wxWindow
*) 0 ;
23264 int *arg2
= (int *) 0 ;
23265 int *arg3
= (int *) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23276 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 Py_INCREF(Py_None
); resultobj
= Py_None
;
23288 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23289 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23298 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxWindow
*arg1
= (wxWindow
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= ((wxWindow
const *)arg1
)->GetRect();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 wxRect
* resultptr
;
23319 resultptr
= new wxRect((wxRect
&) result
);
23320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23328 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxWindow
*arg1
= (wxWindow
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23348 wxSize
* resultptr
;
23349 resultptr
= new wxSize((wxSize
&) result
);
23350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23358 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxWindow
*arg1
= (wxWindow
*) 0 ;
23361 int *arg2
= (int *) 0 ;
23362 int *arg3
= (int *) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23395 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 wxPoint
* resultptr
;
23416 resultptr
= new wxPoint((wxPoint
&) result
);
23417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23425 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxWindow
*arg1
= (wxWindow
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23445 wxRect
* resultptr
;
23446 resultptr
= new wxRect((wxRect
&) result
);
23447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23455 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 wxSize
* resultptr
;
23476 resultptr
= new wxSize((wxSize
&) result
);
23477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23485 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxWindow
*arg1
= (wxWindow
*) 0 ;
23488 int *arg2
= (int *) 0 ;
23489 int *arg3
= (int *) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23500 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23513 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23522 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 (arg1
)->InvalidateBestSize();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 Py_INCREF(Py_None
); resultobj
= Py_None
;
23547 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxWindow
*arg1
= (wxWindow
*) 0 ;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "self", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 wxSize
* resultptr
;
23568 resultptr
= new wxSize((wxSize
&) result
);
23569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23577 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxWindow
*arg1
= (wxWindow
*) 0 ;
23581 PyObject
* obj0
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23597 wxSize
* resultptr
;
23598 resultptr
= new wxSize((wxSize
&) result
);
23599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23607 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxWindow
*arg1
= (wxWindow
*) 0 ;
23610 int arg2
= (int) wxBOTH
;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "direction", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 arg2
= (int)SWIG_As_int(obj1
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->Center(arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxWindow
*arg1
= (wxWindow
*) 0 ;
23641 int arg2
= (int) wxBOTH
;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self",(char *) "dir", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23652 arg2
= (int)SWIG_As_int(obj1
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->CenterOnScreen(arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxWindow
*arg1
= (wxWindow
*) 0 ;
23672 int arg2
= (int) wxBOTH
;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 char *kwnames
[] = {
23676 (char *) "self",(char *) "dir", NULL
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23683 arg2
= (int)SWIG_As_int(obj1
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 (arg1
)->CenterOnParent(arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 Py_INCREF(Py_None
); resultobj
= Py_None
;
23700 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxWindow
*arg1
= (wxWindow
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->FitInside();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 int arg4
= (int) -1 ;
23756 int arg5
= (int) -1 ;
23757 int arg6
= (int) -1 ;
23758 int arg7
= (int) -1 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 PyObject
* obj3
= 0 ;
23763 PyObject
* obj4
= 0 ;
23764 PyObject
* obj5
= 0 ;
23765 PyObject
* obj6
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 arg2
= (int)SWIG_As_int(obj1
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23775 arg3
= (int)SWIG_As_int(obj2
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 arg4
= (int)SWIG_As_int(obj3
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 arg5
= (int)SWIG_As_int(obj4
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23786 arg6
= (int)SWIG_As_int(obj5
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23790 arg7
= (int)SWIG_As_int(obj6
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 Py_INCREF(Py_None
); resultobj
= Py_None
;
23807 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23812 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 PyObject
* obj2
= 0 ;
23821 PyObject
* obj3
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23836 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23842 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxWindow
*arg1
= (wxWindow
*) 0 ;
23864 int arg4
= (int) -1 ;
23865 int arg5
= (int) -1 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 PyObject
* obj2
= 0 ;
23869 PyObject
* obj3
= 0 ;
23870 PyObject
* obj4
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23878 arg2
= (int)SWIG_As_int(obj1
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23880 arg3
= (int)SWIG_As_int(obj2
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 arg4
= (int)SWIG_As_int(obj3
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 arg5
= (int)SWIG_As_int(obj4
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 Py_INCREF(Py_None
); resultobj
= Py_None
;
23904 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxWindow
*arg1
= (wxWindow
*) 0 ;
23908 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23909 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 PyObject
* obj2
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 Py_INCREF(Py_None
); resultobj
= Py_None
;
23946 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxWindow
*arg1
= (wxWindow
*) 0 ;
23950 PyObject
* obj0
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 wxSize
* resultptr
;
23967 resultptr
= new wxSize((wxSize
&) result
);
23968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23976 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxWindow
*arg1
= (wxWindow
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 wxSize
* resultptr
;
23997 resultptr
= new wxSize((wxSize
&) result
);
23998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24006 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxWindow
*arg1
= (wxWindow
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 char *kwnames
[] = {
24014 (char *) "self",(char *) "minSize", NULL
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 Py_INCREF(Py_None
); resultobj
= Py_None
;
24038 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxWindow
*arg1
= (wxWindow
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "maxSize", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_From_int((int)result
);
24096 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxWindow
*arg1
= (wxWindow
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_From_int((int)result
);
24122 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxWindow
*arg1
= (wxWindow
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_From_int((int)result
);
24148 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxWindow
*arg1
= (wxWindow
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_From_int((int)result
);
24174 static PyObject
*_wrap_Window_SetVirtualSize(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 *) "size", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",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
)->SetVirtualSize((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_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 PyObject
* obj2
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "w",(char *) "h", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg2
= (int)SWIG_As_int(obj1
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24223 arg3
= (int)SWIG_As_int(obj2
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->SetVirtualSize(arg2
,arg3
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxWindow
*arg1
= (wxWindow
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24259 wxSize
* resultptr
;
24260 resultptr
= new wxSize((wxSize
&) result
);
24261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24269 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxWindow
*arg1
= (wxWindow
*) 0 ;
24272 int *arg2
= (int *) 0 ;
24273 int *arg3
= (int *) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self", NULL
24283 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24284 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24297 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24298 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24299 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24306 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 wxSize
* resultptr
;
24327 resultptr
= new wxSize((wxSize
&) result
);
24328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24336 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxWindow
*arg1
= (wxWindow
*) 0 ;
24339 bool arg2
= (bool) true ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "show", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 arg2
= (bool)SWIG_As_bool(obj1
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (bool)(arg1
)->Show(arg2
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24370 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxWindow
*arg1
= (wxWindow
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)(arg1
)->Hide();
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxWindow
*arg1
= (wxWindow
*) 0 ;
24401 bool arg2
= (bool) true ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "enable", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 arg2
= (bool)SWIG_As_bool(obj1
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (bool)(arg1
)->Enable(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24432 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxWindow
*arg1
= (wxWindow
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (bool)(arg1
)->Disable();
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24460 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxWindow
*arg1
= (wxWindow
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24488 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxWindow
*arg1
= (wxWindow
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24516 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxWindow
*arg1
= (wxWindow
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "style", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 arg2
= (long)SWIG_As_long(obj1
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 (arg1
)->SetWindowStyleFlag(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 Py_INCREF(Py_None
); resultobj
= Py_None
;
24545 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxWindow
*arg1
= (wxWindow
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_From_long((long)result
);
24571 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxWindow
*arg1
= (wxWindow
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "flag", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 arg2
= (int)SWIG_As_int(obj1
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24603 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24631 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "exStyle", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 arg2
= (long)SWIG_As_long(obj1
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetExtraStyle(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxWindow
*arg1
= (wxWindow
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_From_long((long)result
);
24686 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxWindow
*arg1
= (wxWindow
*) 0 ;
24689 bool arg2
= (bool) true ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "modal", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24700 arg2
= (bool)SWIG_As_bool(obj1
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->MakeModal(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 Py_INCREF(Py_None
); resultobj
= Py_None
;
24717 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxWindow
*arg1
= (wxWindow
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "enableTheme", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 arg2
= (bool)SWIG_As_bool(obj1
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->SetThemeEnabled(arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24774 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 (arg1
)->SetFocus();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 Py_INCREF(Py_None
); resultobj
= Py_None
;
24799 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxWindow
*arg1
= (wxWindow
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 (arg1
)->SetFocusFromKbd();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 Py_INCREF(Py_None
); resultobj
= Py_None
;
24824 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24827 char *kwnames
[] = {
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24833 if (!wxPyCheckForApp()) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (wxWindow
*)wxWindow::FindFocus();
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= wxPyMake_wxObject(result
, 0);
24849 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxWindow
*arg1
= (wxWindow
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24877 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxWindow
*arg1
= (wxWindow
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24905 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxWindow
*arg1
= (wxWindow
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= wxPyMake_wxObject(result
, 0);
24933 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxWindow
*arg1
= (wxWindow
*) 0 ;
24936 wxWindow
*arg2
= (wxWindow
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 PyObject
* obj1
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self",(char *) "child", NULL
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= wxPyMake_wxObject(result
, 0);
24965 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxWindow
*arg1
= (wxWindow
*) 0 ;
24968 wxWindow
*arg2
= (wxWindow
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "win", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetTmpDefaultItem(arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
24994 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "flags", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25009 arg2
= (int)SWIG_As_int(obj1
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)(arg1
)->Navigate(arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25028 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxWindow
*arg1
= (wxWindow
*) 0 ;
25031 wxWindow
*arg2
= (wxWindow
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "win", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 (arg1
)->MoveAfterInTabOrder(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 Py_INCREF(Py_None
); resultobj
= Py_None
;
25057 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxWindow
*arg1
= (wxWindow
*) 0 ;
25060 wxWindow
*arg2
= (wxWindow
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "win", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 (arg1
)->MoveBeforeInTabOrder(arg2
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 Py_INCREF(Py_None
); resultobj
= Py_None
;
25086 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxWindow
*arg1
= (wxWindow
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= result
;
25112 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxWindow
*arg1
= (wxWindow
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= wxPyMake_wxObject(result
, 0);
25140 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxWindow
*arg1
= (wxWindow
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= wxPyMake_wxObject(result
, 0);
25168 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxWindow
*arg1
= (wxWindow
*) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 wxWindow
*arg2
= (wxWindow
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "newParent", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (bool)(arg1
)->Reparent(arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25228 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxWindow
*arg1
= (wxWindow
*) 0 ;
25231 wxWindow
*arg2
= (wxWindow
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "child", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->AddChild(arg2
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxWindow
*arg1
= (wxWindow
*) 0 ;
25260 wxWindow
*arg2
= (wxWindow
*) 0 ;
25261 PyObject
* obj0
= 0 ;
25262 PyObject
* obj1
= 0 ;
25263 char *kwnames
[] = {
25264 (char *) "self",(char *) "child", NULL
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 (arg1
)->RemoveChild(arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxWindow
*arg1
= (wxWindow
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "winid", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 arg2
= (long)SWIG_As_long(obj1
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= wxPyMake_wxObject(result
, 0);
25318 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxWindow
*arg1
= (wxWindow
*) 0 ;
25321 wxString
*arg2
= 0 ;
25323 bool temp2
= false ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self",(char *) "name", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 arg2
= wxString_in_helper(obj1
);
25335 if (arg2
== NULL
) SWIG_fail
;
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= wxPyMake_wxObject(result
, 0);
25362 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 wxEvtHandler
*result
;
25366 PyObject
* obj0
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= wxPyMake_wxObject(result
, 0);
25390 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxWindow
*arg1
= (wxWindow
*) 0 ;
25393 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "self",(char *) "handler", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 (arg1
)->SetEventHandler(arg2
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 Py_INCREF(Py_None
); resultobj
= Py_None
;
25419 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxWindow
*arg1
= (wxWindow
*) 0 ;
25422 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "handler", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->PushEventHandler(arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 Py_INCREF(Py_None
); resultobj
= Py_None
;
25448 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxWindow
*arg1
= (wxWindow
*) 0 ;
25451 bool arg2
= (bool) false ;
25452 wxEvtHandler
*result
;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "deleteHandler", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 arg2
= (bool)SWIG_As_bool(obj1
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= wxPyMake_wxObject(result
, 0);
25482 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxWindow
*arg1
= (wxWindow
*) 0 ;
25485 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 char *kwnames
[] = {
25490 (char *) "self",(char *) "handler", NULL
25493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25514 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 wxValidator
*arg2
= 0 ;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "validator", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25530 if (arg2
== NULL
) {
25531 PyErr_SetString(PyExc_TypeError
,"null reference");
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25548 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxWindow
*arg1
= (wxWindow
*) 0 ;
25551 wxValidator
*result
;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (wxValidator
*)(arg1
)->GetValidator();
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= wxPyMake_wxObject(result
, 0);
25576 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxWindow
*arg1
= (wxWindow
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (bool)(arg1
)->Validate();
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25604 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxWindow
*arg1
= (wxWindow
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= (bool)(arg1
)->TransferDataToWindow();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25632 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxWindow
*arg1
= (wxWindow
*) 0 ;
25636 PyObject
* obj0
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (bool)(arg1
)->TransferDataFromWindow();
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25660 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxWindow
*arg1
= (wxWindow
*) 0 ;
25663 PyObject
* obj0
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 (arg1
)->InitDialog();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 Py_INCREF(Py_None
); resultobj
= Py_None
;
25685 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxWindow
*arg1
= (wxWindow
*) 0 ;
25688 wxAcceleratorTable
*arg2
= 0 ;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "accel", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25701 if (arg2
== NULL
) {
25702 PyErr_SetString(PyExc_TypeError
,"null reference");
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 Py_INCREF(Py_None
); resultobj
= Py_None
;
25719 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxWindow
*arg1
= (wxWindow
*) 0 ;
25722 wxAcceleratorTable
*result
;
25723 PyObject
* obj0
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25745 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxWindow
*arg1
= (wxWindow
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 PyObject
* obj3
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 arg2
= (int)SWIG_As_int(obj1
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25765 arg3
= (int)SWIG_As_int(obj2
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25767 arg4
= (int)SWIG_As_int(obj3
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25785 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxWindow
*arg1
= (wxWindow
*) 0 ;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self",(char *) "hotkeyId", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25799 arg2
= (int)SWIG_As_int(obj1
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25817 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 wxPoint
*arg2
= 0 ;
25823 PyObject
* obj0
= 0 ;
25824 PyObject
* obj1
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "self",(char *) "pt", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 wxPoint
* resultptr
;
25845 resultptr
= new wxPoint((wxPoint
&) result
);
25846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25854 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxWindow
*arg1
= (wxWindow
*) 0 ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "sz", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 wxSize
* resultptr
;
25882 resultptr
= new wxSize((wxSize
&) result
);
25883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25891 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxWindow
*arg1
= (wxWindow
*) 0 ;
25894 wxPoint
*arg2
= 0 ;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "pt", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 wxPoint
* resultptr
;
25919 resultptr
= new wxPoint((wxPoint
&) result
);
25920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25928 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxWindow
*arg1
= (wxWindow
*) 0 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self",(char *) "sz", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 wxSize
* resultptr
;
25956 resultptr
= new wxSize((wxSize
&) result
);
25957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25965 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxWindow
*arg1
= (wxWindow
*) 0 ;
25968 wxPoint
*arg2
= 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "pt", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25992 wxPoint
* resultptr
;
25993 resultptr
= new wxPoint((wxPoint
&) result
);
25994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26002 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxWindow
*arg1
= (wxWindow
*) 0 ;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self",(char *) "sz", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26029 wxSize
* resultptr
;
26030 resultptr
= new wxSize((wxSize
&) result
);
26031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26039 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
;
26041 wxWindow
*arg1
= (wxWindow
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 PyObject
* obj2
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self",(char *) "x",(char *) "y", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26054 arg2
= (int)SWIG_As_int(obj1
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26056 arg3
= (int)SWIG_As_int(obj2
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->WarpPointer(arg2
,arg3
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 Py_INCREF(Py_None
); resultobj
= Py_None
;
26072 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxWindow
*arg1
= (wxWindow
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->CaptureMouse();
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 Py_INCREF(Py_None
); resultobj
= Py_None
;
26097 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxWindow
*arg1
= (wxWindow
*) 0 ;
26100 PyObject
* obj0
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 (arg1
)->ReleaseMouse();
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 Py_INCREF(Py_None
); resultobj
= Py_None
;
26122 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26125 char *kwnames
[] = {
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26131 if (!wxPyCheckForApp()) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (wxWindow
*)wxWindow::GetCapture();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= wxPyMake_wxObject(result
, 0);
26147 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26175 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxWindow
*arg1
= (wxWindow
*) 0 ;
26178 bool arg2
= (bool) true ;
26179 wxRect
*arg3
= (wxRect
*) NULL
;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26191 arg2
= (bool)SWIG_As_bool(obj1
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxWindow
*arg1
= (wxWindow
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "rect", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxWindow
*arg1
= (wxWindow
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxWindow
*arg1
= (wxWindow
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self", NULL
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->ClearBackground();
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxWindow
*arg1
= (wxWindow
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 Py_INCREF(Py_None
); resultobj
= Py_None
;
26319 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 Py_INCREF(Py_None
); resultobj
= Py_None
;
26344 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxWindow
*arg1
= (wxWindow
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "dc", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26360 if (arg2
== NULL
) {
26361 PyErr_SetString(PyExc_TypeError
,"null reference");
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->PrepareDC(*arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 Py_INCREF(Py_None
); resultobj
= Py_None
;
26378 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxWindow
*arg1
= (wxWindow
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26394 result
= (wxRegion
*) &_result_ref
;
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26407 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxWindow
*arg1
= (wxWindow
*) 0 ;
26411 PyObject
* obj0
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 wxRect
* resultptr
;
26428 resultptr
= new wxRect((wxRect
&) result
);
26429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26437 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 int arg4
= (int) 1 ;
26443 int arg5
= (int) 1 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 PyObject
* obj2
= 0 ;
26448 PyObject
* obj3
= 0 ;
26449 PyObject
* obj4
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 arg2
= (int)SWIG_As_int(obj1
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26459 arg3
= (int)SWIG_As_int(obj2
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 arg4
= (int)SWIG_As_int(obj3
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26466 arg5
= (int)SWIG_As_int(obj4
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26485 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26488 wxPoint
*arg2
= 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self",(char *) "pt", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26520 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxWindow
*arg1
= (wxWindow
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self",(char *) "rect", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26555 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26558 wxVisualAttributes result
;
26559 PyObject
* obj0
= 0 ;
26560 char *kwnames
[] = {
26561 (char *) "self", NULL
26564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 wxVisualAttributes
* resultptr
;
26576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26585 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26588 wxVisualAttributes result
;
26589 PyObject
* obj0
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "variant", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26596 arg1
= (int)SWIG_As_int(obj0
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26600 if (!wxPyCheckForApp()) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 wxVisualAttributes
* resultptr
;
26609 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26618 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxWindow
*arg1
= (wxWindow
*) 0 ;
26621 wxColour
*arg2
= 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "self",(char *) "colour", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26653 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxWindow
*arg1
= (wxWindow
*) 0 ;
26656 wxColour
*arg2
= 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "colour", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 Py_INCREF(Py_None
); resultobj
= Py_None
;
26685 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
;
26687 wxWindow
*arg1
= (wxWindow
*) 0 ;
26688 wxColour
*arg2
= 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self",(char *) "colour", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26720 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxWindow
*arg1
= (wxWindow
*) 0 ;
26723 wxColour
*arg2
= 0 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "colour", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxWindow
*arg1
= (wxWindow
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26772 wxColour
* resultptr
;
26773 resultptr
= new wxColour((wxColour
&) result
);
26774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26782 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
;
26784 wxWindow
*arg1
= (wxWindow
*) 0 ;
26786 PyObject
* obj0
= 0 ;
26787 char *kwnames
[] = {
26788 (char *) "self", NULL
26791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 wxColour
* resultptr
;
26803 resultptr
= new wxColour((wxColour
&) result
);
26804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26812 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxWindow
*arg1
= (wxWindow
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 char *kwnames
[] = {
26820 (char *) "self",(char *) "style", NULL
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26826 arg2
= (int)SWIG_As_int(obj1
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26844 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxWindow
*arg1
= (wxWindow
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_From_int((int)result
);
26870 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
;
26872 wxWindow
*arg1
= (wxWindow
*) 0 ;
26873 wxCursor
*arg2
= 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "cursor", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26887 if (arg2
== NULL
) {
26888 PyErr_SetString(PyExc_TypeError
,"null reference");
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26907 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxWindow
*arg1
= (wxWindow
*) 0 ;
26911 PyObject
* obj0
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (arg1
)->GetCursor();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 wxCursor
* resultptr
;
26928 resultptr
= new wxCursor((wxCursor
&) result
);
26929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26937 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxWindow
*arg1
= (wxWindow
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "font", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26954 if (arg2
== NULL
) {
26955 PyErr_SetString(PyExc_TypeError
,"null reference");
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "font", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26990 if (arg2
== NULL
) {
26991 PyErr_SetString(PyExc_TypeError
,"null reference");
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 Py_INCREF(Py_None
); resultobj
= Py_None
;
27008 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxWindow
*arg1
= (wxWindow
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (arg1
)->GetFont();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 wxFont
* resultptr
;
27029 resultptr
= new wxFont((wxFont
&) result
);
27030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27038 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxWindow
*arg1
= (wxWindow
*) 0 ;
27041 wxCaret
*arg2
= (wxCaret
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "caret", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 (arg1
)->SetCaret(arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 Py_INCREF(Py_None
); resultobj
= Py_None
;
27067 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27093 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxWindow
*arg1
= (wxWindow
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_From_int((int)result
);
27119 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxWindow
*arg1
= (wxWindow
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_From_int((int)result
);
27145 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 wxString
*arg2
= 0 ;
27149 int *arg3
= (int *) 0 ;
27150 int *arg4
= (int *) 0 ;
27151 bool temp2
= false ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "string", NULL
27162 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27163 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27168 arg2
= wxString_in_helper(obj1
);
27169 if (arg2
== NULL
) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27181 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27182 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27183 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27198 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxWindow
*arg1
= (wxWindow
*) 0 ;
27201 wxString
*arg2
= 0 ;
27202 int *arg3
= (int *) 0 ;
27203 int *arg4
= (int *) 0 ;
27204 int *arg5
= (int *) 0 ;
27205 int *arg6
= (int *) 0 ;
27206 wxFont
*arg7
= (wxFont
*) NULL
;
27207 bool temp2
= false ;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 PyObject
* obj2
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self",(char *) "string",(char *) "font", NULL
27223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27224 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27225 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27226 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 arg2
= wxString_in_helper(obj1
);
27232 if (arg2
== NULL
) SWIG_fail
;
27236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27247 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27248 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27249 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27250 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27251 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27252 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27253 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27254 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27269 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxWindow
*arg1
= (wxWindow
*) 0 ;
27272 int *arg2
= (int *) 0 ;
27273 int *arg3
= (int *) 0 ;
27278 PyObject
* obj0
= 0 ;
27279 PyObject
* obj1
= 0 ;
27280 PyObject
* obj2
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self",(char *) "x",(char *) "y", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27289 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27290 temp2
= SWIG_As_int(obj1
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 res2
= SWIG_NEWOBJ
;
27297 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27298 temp3
= SWIG_As_int(obj2
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 res3
= SWIG_NEWOBJ
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 Py_INCREF(Py_None
); resultobj
= Py_None
;
27312 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27313 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27314 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27315 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27322 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxWindow
*arg1
= (wxWindow
*) 0 ;
27325 int *arg2
= (int *) 0 ;
27326 int *arg3
= (int *) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "x",(char *) "y", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27342 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27343 temp2
= SWIG_As_int(obj1
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 res2
= SWIG_NEWOBJ
;
27350 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27351 temp3
= SWIG_As_int(obj2
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 res3
= SWIG_NEWOBJ
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27366 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27367 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27368 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27375 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxWindow
*arg1
= (wxWindow
*) 0 ;
27378 wxPoint
*arg2
= 0 ;
27381 PyObject
* obj0
= 0 ;
27382 PyObject
* obj1
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self",(char *) "pt", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 wxPoint
* resultptr
;
27403 resultptr
= new wxPoint((wxPoint
&) result
);
27404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27412 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxWindow
*arg1
= (wxWindow
*) 0 ;
27415 wxPoint
*arg2
= 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self",(char *) "pt", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 wxPoint
* resultptr
;
27440 resultptr
= new wxPoint((wxPoint
&) result
);
27441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27449 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxWindow
*arg1
= (wxWindow
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 PyObject
* obj2
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "x",(char *) "y", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 arg2
= (int)SWIG_As_int(obj1
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27467 arg3
= (int)SWIG_As_int(obj2
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_From_int((int)result
);
27483 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxWindow
*arg1
= (wxWindow
*) 0 ;
27486 wxPoint
*arg2
= 0 ;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self",(char *) "pt", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= SWIG_From_int((int)result
);
27516 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27517 PyObject
*resultobj
;
27518 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27524 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 arg2
= (long)SWIG_As_long(obj1
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 resultobj
= SWIG_From_int((int)result
);
27543 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27544 PyObject
*resultobj
;
27545 wxWindow
*arg1
= (wxWindow
*) 0 ;
27547 PyObject
* obj0
= 0 ;
27549 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_From_int((int)result
);
27566 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27571 argc
= PyObject_Length(args
);
27572 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27573 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27579 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27587 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27594 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27602 _v
= SWIG_Check_long(argv
[1]);
27604 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27609 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27614 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxWindow
*arg1
= (wxWindow
*) 0 ;
27617 long arg2
= (long) wxUPDATE_UI_NONE
;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "flags", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27628 arg2
= (long)SWIG_As_long(obj1
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 (arg1
)->UpdateWindowUI(arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxWindow
*arg1
= (wxWindow
*) 0 ;
27648 wxMenu
*arg2
= (wxMenu
*) 0 ;
27649 int arg3
= (int) -1 ;
27650 int arg4
= (int) -1 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 PyObject
* obj2
= 0 ;
27655 PyObject
* obj3
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 arg3
= (int)SWIG_As_int(obj2
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 arg4
= (int)SWIG_As_int(obj3
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27689 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
;
27691 wxWindow
*arg1
= (wxWindow
*) 0 ;
27692 wxMenu
*arg2
= (wxMenu
*) 0 ;
27693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 PyObject
* obj2
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "menu",(char *) "pos", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27731 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxWindow
*arg1
= (wxWindow
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (long)wxWindow_GetHandle(arg1
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= SWIG_From_long((long)result
);
27757 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self",(char *) "handle", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 arg2
= (long)SWIG_As_long(obj1
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 wxWindow_AssociateHandle(arg1
,arg2
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 Py_INCREF(Py_None
); resultobj
= Py_None
;
27786 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->DissociateHandle();
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxWindow
*arg1
= (wxWindow
*) 0 ;
27814 wxPaintEvent
*arg2
= 0 ;
27815 PyObject
* obj0
= 0 ;
27816 PyObject
* obj1
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self",(char *) "event", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27827 if (arg2
== NULL
) {
27828 PyErr_SetString(PyExc_TypeError
,"null reference");
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 (arg1
)->OnPaint(*arg2
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 Py_INCREF(Py_None
); resultobj
= Py_None
;
27845 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "orient", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 arg2
= (int)SWIG_As_int(obj1
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27877 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxWindow
*arg1
= (wxWindow
*) 0 ;
27884 bool arg6
= (bool) true ;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 PyObject
* obj2
= 0 ;
27888 PyObject
* obj3
= 0 ;
27889 PyObject
* obj4
= 0 ;
27890 PyObject
* obj5
= 0 ;
27891 char *kwnames
[] = {
27892 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27898 arg2
= (int)SWIG_As_int(obj1
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27900 arg3
= (int)SWIG_As_int(obj2
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27902 arg4
= (int)SWIG_As_int(obj3
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27904 arg5
= (int)SWIG_As_int(obj4
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27907 arg6
= (bool)SWIG_As_bool(obj5
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 Py_INCREF(Py_None
); resultobj
= Py_None
;
27924 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
;
27926 wxWindow
*arg1
= (wxWindow
*) 0 ;
27929 bool arg4
= (bool) true ;
27930 PyObject
* obj0
= 0 ;
27931 PyObject
* obj1
= 0 ;
27932 PyObject
* obj2
= 0 ;
27933 PyObject
* obj3
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27941 arg2
= (int)SWIG_As_int(obj1
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27943 arg3
= (int)SWIG_As_int(obj2
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 arg4
= (bool)SWIG_As_bool(obj3
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self",(char *) "orientation", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 arg2
= (int)SWIG_As_int(obj1
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_From_int((int)result
);
27993 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "orientation", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 arg2
= (int)SWIG_As_int(obj1
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_From_int((int)result
);
28023 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxWindow
*arg1
= (wxWindow
*) 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "orientation", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 arg2
= (int)SWIG_As_int(obj1
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_From_int((int)result
);
28053 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxWindow
*arg1
= (wxWindow
*) 0 ;
28058 wxRect
*arg4
= (wxRect
*) NULL
;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 PyObject
* obj2
= 0 ;
28062 PyObject
* obj3
= 0 ;
28063 char *kwnames
[] = {
28064 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 arg2
= (int)SWIG_As_int(obj1
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28072 arg3
= (int)SWIG_As_int(obj2
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 Py_INCREF(Py_None
); resultobj
= Py_None
;
28092 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxWindow
*arg1
= (wxWindow
*) 0 ;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self",(char *) "lines", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28106 arg2
= (int)SWIG_As_int(obj1
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (bool)(arg1
)->ScrollLines(arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28124 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "self",(char *) "pages", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28138 arg2
= (int)SWIG_As_int(obj1
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (bool)(arg1
)->ScrollPages(arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28156 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxWindow
*arg1
= (wxWindow
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 char *kwnames
[] = {
28162 (char *) "self", NULL
28165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 result
= (bool)(arg1
)->LineUp();
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28184 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxWindow
*arg1
= (wxWindow
*) 0 ;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (bool)(arg1
)->LineDown();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28212 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxWindow
*arg1
= (wxWindow
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (bool)(arg1
)->PageUp();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28240 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
;
28242 wxWindow
*arg1
= (wxWindow
*) 0 ;
28244 PyObject
* obj0
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (bool)(arg1
)->PageDown();
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28268 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxWindow
*arg1
= (wxWindow
*) 0 ;
28271 wxString
*arg2
= 0 ;
28272 bool temp2
= false ;
28273 PyObject
* obj0
= 0 ;
28274 PyObject
* obj1
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self",(char *) "text", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28283 arg2
= wxString_in_helper(obj1
);
28284 if (arg2
== NULL
) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 Py_INCREF(Py_None
); resultobj
= Py_None
;
28309 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxWindow
*arg1
= (wxWindow
*) 0 ;
28312 wxString
*arg2
= 0 ;
28313 bool temp2
= false ;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "text", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28324 arg2
= wxString_in_helper(obj1
);
28325 if (arg2
== NULL
) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxWindow
*arg1
= (wxWindow
*) 0 ;
28354 PyObject
* obj0
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28382 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxWindow
*arg1
= (wxWindow
*) 0 ;
28385 wxString
*arg2
= 0 ;
28386 bool temp2
= false ;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self",(char *) "tip", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 arg2
= wxString_in_helper(obj1
);
28398 if (arg2
== NULL
) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28423 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxWindow
*arg1
= (wxWindow
*) 0 ;
28426 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char *kwnames
[] = {
28430 (char *) "self",(char *) "tip", NULL
28433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 (arg1
)->SetToolTip(arg2
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 Py_INCREF(Py_None
); resultobj
= Py_None
;
28452 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
;
28454 wxWindow
*arg1
= (wxWindow
*) 0 ;
28456 PyObject
* obj0
= 0 ;
28457 char *kwnames
[] = {
28458 (char *) "self", NULL
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= wxPyMake_wxObject(result
, 0);
28480 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxWindow
*arg1
= (wxWindow
*) 0 ;
28483 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self",(char *) "dropTarget", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28494 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 (arg1
)->SetDropTarget(arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 Py_INCREF(Py_None
); resultobj
= Py_None
;
28509 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxWindow
*arg1
= (wxWindow
*) 0 ;
28512 wxPyDropTarget
*result
;
28513 PyObject
* obj0
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28535 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxWindow
*arg1
= (wxWindow
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 char *kwnames
[] = {
28542 (char *) "self",(char *) "accept", NULL
28545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28548 arg2
= (bool)SWIG_As_bool(obj1
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 (arg1
)->DragAcceptFiles(arg2
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 Py_INCREF(Py_None
); resultobj
= Py_None
;
28564 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "constraints", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->SetConstraints(arg2
);
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 Py_INCREF(Py_None
); resultobj
= Py_None
;
28593 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxWindow
*arg1
= (wxWindow
*) 0 ;
28596 wxLayoutConstraints
*result
;
28597 PyObject
* obj0
= 0 ;
28598 char *kwnames
[] = {
28599 (char *) "self", NULL
28602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28619 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "autoLayout", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 arg2
= (bool)SWIG_As_bool(obj1
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 (arg1
)->SetAutoLayout(arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 Py_INCREF(Py_None
); resultobj
= Py_None
;
28648 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxWindow
*arg1
= (wxWindow
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28676 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxWindow
*arg1
= (wxWindow
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (bool)(arg1
)->Layout();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28704 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxWindow
*arg1
= (wxWindow
*) 0 ;
28707 wxSizer
*arg2
= (wxSizer
*) 0 ;
28708 bool arg3
= (bool) true ;
28709 PyObject
* obj0
= 0 ;
28710 PyObject
* obj1
= 0 ;
28711 PyObject
* obj2
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28722 arg3
= (bool)SWIG_As_bool(obj2
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->SetSizer(arg2
,arg3
);
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 Py_INCREF(Py_None
); resultobj
= Py_None
;
28739 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
;
28741 wxWindow
*arg1
= (wxWindow
*) 0 ;
28742 wxSizer
*arg2
= (wxSizer
*) 0 ;
28743 bool arg3
= (bool) true ;
28744 PyObject
* obj0
= 0 ;
28745 PyObject
* obj1
= 0 ;
28746 PyObject
* obj2
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28757 arg3
= (bool)SWIG_As_bool(obj2
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 Py_INCREF(Py_None
); resultobj
= Py_None
;
28774 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxWindow
*arg1
= (wxWindow
*) 0 ;
28778 PyObject
* obj0
= 0 ;
28779 char *kwnames
[] = {
28780 (char *) "self", NULL
28783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= wxPyMake_wxSizer(result
, 0);
28802 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxWindow
*arg1
= (wxWindow
*) 0 ;
28805 wxSizer
*arg2
= (wxSizer
*) 0 ;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "sizer", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 (arg1
)->SetContainingSizer(arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 Py_INCREF(Py_None
); resultobj
= Py_None
;
28831 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxWindow
*arg1
= (wxWindow
*) 0 ;
28835 PyObject
* obj0
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= wxPyMake_wxSizer(result
, 0);
28859 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxWindow
*arg1
= (wxWindow
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 (arg1
)->InheritAttributes();
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 Py_INCREF(Py_None
); resultobj
= Py_None
;
28884 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
;
28886 wxWindow
*arg1
= (wxWindow
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28912 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28915 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28917 return Py_BuildValue((char *)"");
28919 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28922 wxWindow
*arg2
= (wxWindow
*) NULL
;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "id",(char *) "parent", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28931 arg1
= (long)SWIG_As_long(obj0
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28938 if (!wxPyCheckForApp()) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= wxPyMake_wxObject(result
, 0);
28954 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
;
28956 wxString
*arg1
= 0 ;
28957 wxWindow
*arg2
= (wxWindow
*) NULL
;
28959 bool temp1
= false ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "name",(char *) "parent", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28968 arg1
= wxString_in_helper(obj0
);
28969 if (arg1
== NULL
) SWIG_fail
;
28973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 if (!wxPyCheckForApp()) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= wxPyMake_wxObject(result
, 0);
29001 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxString
*arg1
= 0 ;
29004 wxWindow
*arg2
= (wxWindow
*) NULL
;
29006 bool temp1
= false ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "label",(char *) "parent", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29015 arg1
= wxString_in_helper(obj0
);
29016 if (arg1
== NULL
) SWIG_fail
;
29020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29024 if (!wxPyCheckForApp()) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= wxPyMake_wxObject(result
, 0);
29048 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxWindow
*arg1
= (wxWindow
*) 0 ;
29051 unsigned long arg2
;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "parent",(char *) "_hWnd", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29062 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= wxPyMake_wxObject(result
, 0);
29080 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxValidator
*result
;
29083 char *kwnames
[] = {
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (wxValidator
*)new wxValidator();
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29102 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxValidator
*arg1
= (wxValidator
*) 0 ;
29105 wxValidator
*result
;
29106 PyObject
* obj0
= 0 ;
29107 char *kwnames
[] = {
29108 (char *) "self", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 result
= (wxValidator
*)(arg1
)->Clone();
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= wxPyMake_wxObject(result
, 0);
29130 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxValidator
*arg1
= (wxValidator
*) 0 ;
29133 wxWindow
*arg2
= (wxWindow
*) 0 ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self",(char *) "parent", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= (bool)(arg1
)->Validate(arg2
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29162 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxValidator
*arg1
= (wxValidator
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 char *kwnames
[] = {
29168 (char *) "self", NULL
29171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (bool)(arg1
)->TransferToWindow();
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29190 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxValidator
*arg1
= (wxValidator
*) 0 ;
29194 PyObject
* obj0
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "self", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->TransferFromWindow();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29218 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxValidator
*arg1
= (wxValidator
*) 0 ;
29222 PyObject
* obj0
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (wxWindow
*)(arg1
)->GetWindow();
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= wxPyMake_wxObject(result
, 0);
29246 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxValidator
*arg1
= (wxValidator
*) 0 ;
29249 wxWindow
*arg2
= (wxWindow
*) 0 ;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 char *kwnames
[] = {
29253 (char *) "self",(char *) "window", NULL
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 (arg1
)->SetWindow(arg2
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 Py_INCREF(Py_None
); resultobj
= Py_None
;
29275 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29278 char *kwnames
[] = {
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= (bool)wxValidator::IsSilent();
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29299 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 int arg1
= (int) true ;
29302 PyObject
* obj0
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "doIt", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29309 arg1
= (int)SWIG_As_int(obj0
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 wxValidator::SetBellOnError(arg1
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 Py_INCREF(Py_None
); resultobj
= Py_None
;
29326 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29329 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29331 return Py_BuildValue((char *)"");
29333 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxPyValidator
*result
;
29336 char *kwnames
[] = {
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (wxPyValidator
*)new wxPyValidator();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29355 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29358 PyObject
*arg2
= (PyObject
*) 0 ;
29359 PyObject
*arg3
= (PyObject
*) 0 ;
29360 int arg4
= (int) true ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 PyObject
* obj2
= 0 ;
29364 PyObject
* obj3
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 arg4
= (int)SWIG_As_int(obj3
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 Py_INCREF(Py_None
); resultobj
= Py_None
;
29392 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29395 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29397 return Py_BuildValue((char *)"");
29399 static int _wrap_DefaultValidator_set(PyObject
*) {
29400 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29405 static PyObject
*_wrap_DefaultValidator_get() {
29408 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29413 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29417 long arg2
= (long) 0 ;
29419 bool temp1
= false ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "title",(char *) "style", NULL
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29429 arg1
= wxString_in_helper(obj0
);
29430 if (arg1
== NULL
) SWIG_fail
;
29435 arg2
= (long)SWIG_As_long(obj1
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29439 if (!wxPyCheckForApp()) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29461 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxMenu
*arg1
= (wxMenu
*) 0 ;
29465 wxString
*arg3
= 0 ;
29466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29468 int arg5
= (int) wxITEM_NORMAL
;
29469 wxMenuItem
*result
;
29470 bool temp3
= false ;
29471 bool temp4
= false ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 PyObject
* obj3
= 0 ;
29476 PyObject
* obj4
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 arg2
= (int)SWIG_As_int(obj1
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 arg3
= wxString_in_helper(obj2
);
29488 if (arg3
== NULL
) SWIG_fail
;
29493 arg4
= wxString_in_helper(obj3
);
29494 if (arg4
== NULL
) SWIG_fail
;
29499 arg5
= (int)SWIG_As_int(obj4
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29506 wxPyEndAllowThreads(__tstate
);
29507 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= wxPyMake_wxObject(result
, 0);
29534 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxMenu
*arg1
= (wxMenu
*) 0 ;
29537 wxMenuItem
*result
;
29538 PyObject
* obj0
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= wxPyMake_wxObject(result
, 0);
29562 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxMenu
*arg1
= (wxMenu
*) 0 ;
29566 wxString
*arg3
= 0 ;
29567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29569 wxMenuItem
*result
;
29570 bool temp3
= false ;
29571 bool temp4
= false ;
29572 PyObject
* obj0
= 0 ;
29573 PyObject
* obj1
= 0 ;
29574 PyObject
* obj2
= 0 ;
29575 PyObject
* obj3
= 0 ;
29576 char *kwnames
[] = {
29577 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29583 arg2
= (int)SWIG_As_int(obj1
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29586 arg3
= wxString_in_helper(obj2
);
29587 if (arg3
== NULL
) SWIG_fail
;
29592 arg4
= wxString_in_helper(obj3
);
29593 if (arg4
== NULL
) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= wxPyMake_wxObject(result
, 0);
29629 static PyObject
*_wrap_Menu_AppendRadioItem(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 wxMenuItem
*result
;
29637 bool temp3
= false ;
29638 bool temp4
= false ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 PyObject
* obj2
= 0 ;
29642 PyObject
* obj3
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 arg2
= (int)SWIG_As_int(obj1
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 arg3
= wxString_in_helper(obj2
);
29654 if (arg3
== NULL
) SWIG_fail
;
29659 arg4
= wxString_in_helper(obj3
);
29660 if (arg4
== NULL
) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= wxPyMake_wxObject(result
, 0);
29696 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxMenu
*arg1
= (wxMenu
*) 0 ;
29700 wxString
*arg3
= 0 ;
29701 wxMenu
*arg4
= (wxMenu
*) 0 ;
29702 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29703 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29704 wxMenuItem
*result
;
29705 bool temp3
= false ;
29706 bool temp5
= false ;
29707 PyObject
* obj0
= 0 ;
29708 PyObject
* obj1
= 0 ;
29709 PyObject
* obj2
= 0 ;
29710 PyObject
* obj3
= 0 ;
29711 PyObject
* obj4
= 0 ;
29712 char *kwnames
[] = {
29713 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29719 arg2
= (int)SWIG_As_int(obj1
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 arg3
= wxString_in_helper(obj2
);
29723 if (arg3
== NULL
) SWIG_fail
;
29726 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29730 arg5
= wxString_in_helper(obj4
);
29731 if (arg5
== NULL
) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= wxPyMake_wxObject(result
, 0);
29767 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxMenu
*arg1
= (wxMenu
*) 0 ;
29770 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29771 wxMenuItem
*result
;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 char *kwnames
[] = {
29775 (char *) "self",(char *) "item", NULL
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= wxPyMake_wxObject(result
, 0);
29799 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxMenu
*arg1
= (wxMenu
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 Py_INCREF(Py_None
); resultobj
= Py_None
;
29824 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
;
29826 wxMenu
*arg1
= (wxMenu
*) 0 ;
29828 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29829 wxMenuItem
*result
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 PyObject
* obj2
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "pos",(char *) "item", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29842 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= wxPyMake_wxObject(result
, 0);
29860 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxMenu
*arg1
= (wxMenu
*) 0 ;
29865 wxString
*arg4
= 0 ;
29866 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29867 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29868 int arg6
= (int) wxITEM_NORMAL
;
29869 wxMenuItem
*result
;
29870 bool temp4
= false ;
29871 bool temp5
= false ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 PyObject
* obj3
= 0 ;
29876 PyObject
* obj4
= 0 ;
29877 PyObject
* obj5
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29887 arg3
= (int)SWIG_As_int(obj2
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 arg4
= wxString_in_helper(obj3
);
29891 if (arg4
== NULL
) SWIG_fail
;
29896 arg5
= wxString_in_helper(obj4
);
29897 if (arg5
== NULL
) SWIG_fail
;
29902 arg6
= (int)SWIG_As_int(obj5
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= wxPyMake_wxObject(result
, 0);
29937 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxMenu
*arg1
= (wxMenu
*) 0 ;
29941 wxMenuItem
*result
;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "pos", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29951 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= wxPyMake_wxObject(result
, 0);
29969 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxMenu
*arg1
= (wxMenu
*) 0 ;
29974 wxString
*arg4
= 0 ;
29975 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29976 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29977 wxMenuItem
*result
;
29978 bool temp4
= false ;
29979 bool temp5
= false ;
29980 PyObject
* obj0
= 0 ;
29981 PyObject
* obj1
= 0 ;
29982 PyObject
* obj2
= 0 ;
29983 PyObject
* obj3
= 0 ;
29984 PyObject
* obj4
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29992 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29994 arg3
= (int)SWIG_As_int(obj2
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 arg4
= wxString_in_helper(obj3
);
29998 if (arg4
== NULL
) SWIG_fail
;
30003 arg5
= wxString_in_helper(obj4
);
30004 if (arg5
== NULL
) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= wxPyMake_wxObject(result
, 0);
30040 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxMenu
*arg1
= (wxMenu
*) 0 ;
30045 wxString
*arg4
= 0 ;
30046 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30047 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30048 wxMenuItem
*result
;
30049 bool temp4
= false ;
30050 bool temp5
= false ;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 PyObject
* obj2
= 0 ;
30054 PyObject
* obj3
= 0 ;
30055 PyObject
* obj4
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30065 arg3
= (int)SWIG_As_int(obj2
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 arg4
= wxString_in_helper(obj3
);
30069 if (arg4
== NULL
) SWIG_fail
;
30074 arg5
= wxString_in_helper(obj4
);
30075 if (arg5
== NULL
) SWIG_fail
;
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= wxPyMake_wxObject(result
, 0);
30111 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxMenu
*arg1
= (wxMenu
*) 0 ;
30116 wxString
*arg4
= 0 ;
30117 wxMenu
*arg5
= (wxMenu
*) 0 ;
30118 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30119 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30120 wxMenuItem
*result
;
30121 bool temp4
= false ;
30122 bool temp6
= false ;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 PyObject
* obj2
= 0 ;
30126 PyObject
* obj3
= 0 ;
30127 PyObject
* obj4
= 0 ;
30128 PyObject
* obj5
= 0 ;
30129 char *kwnames
[] = {
30130 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30138 arg3
= (int)SWIG_As_int(obj2
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 arg4
= wxString_in_helper(obj3
);
30142 if (arg4
== NULL
) SWIG_fail
;
30145 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 arg6
= wxString_in_helper(obj5
);
30150 if (arg6
== NULL
) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= wxPyMake_wxObject(result
, 0);
30186 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxMenu
*arg1
= (wxMenu
*) 0 ;
30189 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30190 wxMenuItem
*result
;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self",(char *) "item", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= wxPyMake_wxObject(result
, 0);
30218 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
;
30220 wxMenu
*arg1
= (wxMenu
*) 0 ;
30222 wxString
*arg3
= 0 ;
30223 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30224 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30225 int arg5
= (int) wxITEM_NORMAL
;
30226 wxMenuItem
*result
;
30227 bool temp3
= false ;
30228 bool temp4
= false ;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 PyObject
* obj2
= 0 ;
30232 PyObject
* obj3
= 0 ;
30233 PyObject
* obj4
= 0 ;
30234 char *kwnames
[] = {
30235 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30241 arg2
= (int)SWIG_As_int(obj1
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 arg3
= wxString_in_helper(obj2
);
30245 if (arg3
== NULL
) SWIG_fail
;
30250 arg4
= wxString_in_helper(obj3
);
30251 if (arg4
== NULL
) SWIG_fail
;
30256 arg5
= (int)SWIG_As_int(obj4
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= wxPyMake_wxObject(result
, 0);
30291 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
;
30293 wxMenu
*arg1
= (wxMenu
*) 0 ;
30294 wxMenuItem
*result
;
30295 PyObject
* obj0
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= wxPyMake_wxObject(result
, 0);
30319 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
;
30321 wxMenu
*arg1
= (wxMenu
*) 0 ;
30323 wxString
*arg3
= 0 ;
30324 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30326 wxMenuItem
*result
;
30327 bool temp3
= false ;
30328 bool temp4
= false ;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 PyObject
* obj2
= 0 ;
30332 PyObject
* obj3
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30340 arg2
= (int)SWIG_As_int(obj1
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 arg3
= wxString_in_helper(obj2
);
30344 if (arg3
== NULL
) SWIG_fail
;
30349 arg4
= wxString_in_helper(obj3
);
30350 if (arg4
== NULL
) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30362 resultobj
= wxPyMake_wxObject(result
, 0);
30386 static PyObject
*_wrap_Menu_PrependRadioItem(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 wxMenuItem
*result
;
30394 bool temp3
= false ;
30395 bool temp4
= false ;
30396 PyObject
* obj0
= 0 ;
30397 PyObject
* obj1
= 0 ;
30398 PyObject
* obj2
= 0 ;
30399 PyObject
* obj3
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30407 arg2
= (int)SWIG_As_int(obj1
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 arg3
= wxString_in_helper(obj2
);
30411 if (arg3
== NULL
) SWIG_fail
;
30416 arg4
= wxString_in_helper(obj3
);
30417 if (arg4
== NULL
) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= wxPyMake_wxObject(result
, 0);
30453 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
;
30455 wxMenu
*arg1
= (wxMenu
*) 0 ;
30457 wxString
*arg3
= 0 ;
30458 wxMenu
*arg4
= (wxMenu
*) 0 ;
30459 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30460 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30461 wxMenuItem
*result
;
30462 bool temp3
= false ;
30463 bool temp5
= false ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 PyObject
* obj2
= 0 ;
30467 PyObject
* obj3
= 0 ;
30468 PyObject
* obj4
= 0 ;
30469 char *kwnames
[] = {
30470 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30476 arg2
= (int)SWIG_As_int(obj1
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 arg3
= wxString_in_helper(obj2
);
30480 if (arg3
== NULL
) SWIG_fail
;
30483 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30487 arg5
= wxString_in_helper(obj4
);
30488 if (arg5
== NULL
) SWIG_fail
;
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= wxPyMake_wxObject(result
, 0);
30524 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxMenu
*arg1
= (wxMenu
*) 0 ;
30528 wxMenuItem
*result
;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "id", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 arg2
= (int)SWIG_As_int(obj1
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= wxPyMake_wxObject(result
, 0);
30556 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxMenu
*arg1
= (wxMenu
*) 0 ;
30559 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30560 wxMenuItem
*result
;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "item", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= wxPyMake_wxObject(result
, 0);
30588 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30589 PyObject
*resultobj
;
30590 wxMenu
*arg1
= (wxMenu
*) 0 ;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self",(char *) "id", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30602 arg2
= (int)SWIG_As_int(obj1
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (bool)(arg1
)->Delete(arg2
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30620 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxMenu
*arg1
= (wxMenu
*) 0 ;
30623 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "item", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 result
= (bool)(arg1
)->Delete(arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30652 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxMenu
*arg1
= (wxMenu
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 wxMenu_Destroy(arg1
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 Py_INCREF(Py_None
); resultobj
= Py_None
;
30677 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxMenu
*arg1
= (wxMenu
*) 0 ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "id", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30691 arg2
= (int)SWIG_As_int(obj1
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= (bool)(arg1
)->Destroy(arg2
);
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30709 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxMenu
*arg1
= (wxMenu
*) 0 ;
30712 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self",(char *) "item", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (bool)(arg1
)->Destroy(arg2
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30741 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30742 PyObject
*resultobj
;
30743 wxMenu
*arg1
= (wxMenu
*) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 char *kwnames
[] = {
30747 (char *) "self", NULL
30750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30767 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxMenu
*arg1
= (wxMenu
*) 0 ;
30771 PyObject
* obj0
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= result
;
30793 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxMenu
*arg1
= (wxMenu
*) 0 ;
30796 wxString
*arg2
= 0 ;
30798 bool temp2
= false ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 char *kwnames
[] = {
30802 (char *) "self",(char *) "item", NULL
30805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 arg2
= wxString_in_helper(obj1
);
30810 if (arg2
== NULL
) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_From_int((int)result
);
30835 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxMenu
*arg1
= (wxMenu
*) 0 ;
30839 wxMenuItem
*result
;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "id", NULL
30846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30849 arg2
= (int)SWIG_As_int(obj1
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= wxPyMake_wxObject(result
, 0);
30867 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxMenu
*arg1
= (wxMenu
*) 0 ;
30871 wxMenuItem
*result
;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self",(char *) "position", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30881 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30887 wxPyEndAllowThreads(__tstate
);
30888 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= wxPyMake_wxObject(result
, 0);
30899 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxMenu
*arg1
= (wxMenu
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 PyObject
* obj1
= 0 ;
30906 PyObject
* obj2
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self",(char *) "id",(char *) "enable", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 arg2
= (int)SWIG_As_int(obj1
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30916 arg3
= (bool)SWIG_As_bool(obj2
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->Enable(arg2
,arg3
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 Py_INCREF(Py_None
); resultobj
= Py_None
;
30932 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxMenu
*arg1
= (wxMenu
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "id", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30946 arg2
= (int)SWIG_As_int(obj1
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30964 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxMenu
*arg1
= (wxMenu
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 PyObject
* obj2
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "id",(char *) "check", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30979 arg2
= (int)SWIG_As_int(obj1
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30981 arg3
= (bool)SWIG_As_bool(obj2
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 (arg1
)->Check(arg2
,arg3
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 Py_INCREF(Py_None
); resultobj
= Py_None
;
30997 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxMenu
*arg1
= (wxMenu
*) 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self",(char *) "id", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31011 arg2
= (int)SWIG_As_int(obj1
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31029 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31031 wxMenu
*arg1
= (wxMenu
*) 0 ;
31033 wxString
*arg3
= 0 ;
31034 bool temp3
= false ;
31035 PyObject
* obj0
= 0 ;
31036 PyObject
* obj1
= 0 ;
31037 PyObject
* obj2
= 0 ;
31038 char *kwnames
[] = {
31039 (char *) "self",(char *) "id",(char *) "label", NULL
31042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31045 arg2
= (int)SWIG_As_int(obj1
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 arg3
= wxString_in_helper(obj2
);
31049 if (arg3
== NULL
) SWIG_fail
;
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 Py_INCREF(Py_None
); resultobj
= Py_None
;
31074 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
;
31076 wxMenu
*arg1
= (wxMenu
*) 0 ;
31079 PyObject
* obj0
= 0 ;
31080 PyObject
* obj1
= 0 ;
31081 char *kwnames
[] = {
31082 (char *) "self",(char *) "id", NULL
31085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31088 arg2
= (int)SWIG_As_int(obj1
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31110 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
;
31112 wxMenu
*arg1
= (wxMenu
*) 0 ;
31114 wxString
*arg3
= 0 ;
31115 bool temp3
= false ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 PyObject
* obj2
= 0 ;
31119 char *kwnames
[] = {
31120 (char *) "self",(char *) "id",(char *) "helpString", NULL
31123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31126 arg2
= (int)SWIG_As_int(obj1
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 arg3
= wxString_in_helper(obj2
);
31130 if (arg3
== NULL
) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 Py_INCREF(Py_None
); resultobj
= Py_None
;
31155 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxMenu
*arg1
= (wxMenu
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self",(char *) "id", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31169 arg2
= (int)SWIG_As_int(obj1
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31191 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 wxMenu
*arg1
= (wxMenu
*) 0 ;
31194 wxString
*arg2
= 0 ;
31195 bool temp2
= false ;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 char *kwnames
[] = {
31199 (char *) "self",(char *) "title", NULL
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31206 arg2
= wxString_in_helper(obj1
);
31207 if (arg2
== NULL
) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 (arg1
)->SetTitle((wxString
const &)*arg2
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 Py_INCREF(Py_None
); resultobj
= Py_None
;
31232 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxMenu
*arg1
= (wxMenu
*) 0 ;
31236 PyObject
* obj0
= 0 ;
31237 char *kwnames
[] = {
31238 (char *) "self", NULL
31241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= ((wxMenu
const *)arg1
)->GetTitle();
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31264 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxMenu
*arg1
= (wxMenu
*) 0 ;
31267 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31268 PyObject
* obj0
= 0 ;
31269 PyObject
* obj1
= 0 ;
31270 char *kwnames
[] = {
31271 (char *) "self",(char *) "handler", NULL
31274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 (arg1
)->SetEventHandler(arg2
);
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 Py_INCREF(Py_None
); resultobj
= Py_None
;
31293 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
;
31295 wxMenu
*arg1
= (wxMenu
*) 0 ;
31296 wxEvtHandler
*result
;
31297 PyObject
* obj0
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= wxPyMake_wxObject(result
, 0);
31321 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
;
31323 wxMenu
*arg1
= (wxMenu
*) 0 ;
31324 wxWindow
*arg2
= (wxWindow
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "win", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->SetInvokingWindow(arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 Py_INCREF(Py_None
); resultobj
= Py_None
;
31350 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxMenu
*arg1
= (wxMenu
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= wxPyMake_wxObject(result
, 0);
31378 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxMenu
*arg1
= (wxMenu
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_From_long((long)result
);
31404 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
;
31406 wxMenu
*arg1
= (wxMenu
*) 0 ;
31407 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "source", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 (arg1
)->UpdateUI(arg2
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 Py_INCREF(Py_None
); resultobj
= Py_None
;
31435 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxMenu
*arg1
= (wxMenu
*) 0 ;
31439 PyObject
* obj0
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= wxPyMake_wxObject(result
, 0);
31463 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxMenu
*arg1
= (wxMenu
*) 0 ;
31466 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 PyObject
* obj1
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self",(char *) "menubar", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->Attach(arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31492 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
;
31494 wxMenu
*arg1
= (wxMenu
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31517 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxMenu
*arg1
= (wxMenu
*) 0 ;
31521 PyObject
* obj0
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31545 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
;
31547 wxMenu
*arg1
= (wxMenu
*) 0 ;
31548 wxMenu
*arg2
= (wxMenu
*) 0 ;
31549 PyObject
* obj0
= 0 ;
31550 PyObject
* obj1
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "self",(char *) "parent", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 (arg1
)->SetParent(arg2
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 Py_INCREF(Py_None
); resultobj
= Py_None
;
31574 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
;
31576 wxMenu
*arg1
= (wxMenu
*) 0 ;
31578 PyObject
* obj0
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31594 resultobj
= wxPyMake_wxObject(result
, 0);
31602 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31605 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31607 return Py_BuildValue((char *)"");
31609 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 long arg1
= (long) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 char *kwnames
[] = {
31615 (char *) "style", NULL
31618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31620 arg1
= (long)SWIG_As_long(obj0
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31624 if (!wxPyCheckForApp()) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31638 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31641 wxMenu
*arg2
= (wxMenu
*) 0 ;
31642 wxString
*arg3
= 0 ;
31644 bool temp3
= false ;
31645 PyObject
* obj0
= 0 ;
31646 PyObject
* obj1
= 0 ;
31647 PyObject
* obj2
= 0 ;
31648 char *kwnames
[] = {
31649 (char *) "self",(char *) "menu",(char *) "title", NULL
31652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31658 arg3
= wxString_in_helper(obj2
);
31659 if (arg3
== NULL
) SWIG_fail
;
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31686 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
;
31688 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31690 wxMenu
*arg3
= (wxMenu
*) 0 ;
31691 wxString
*arg4
= 0 ;
31693 bool temp4
= false ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 PyObject
* obj2
= 0 ;
31697 PyObject
* obj3
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31705 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31707 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31710 arg4
= wxString_in_helper(obj3
);
31711 if (arg4
== NULL
) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31738 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
;
31740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31742 PyObject
* obj0
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31764 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
;
31766 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 char *kwnames
[] = {
31772 (char *) "self",(char *) "pos", NULL
31775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31778 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= wxPyMake_wxObject(result
, 0);
31796 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
;
31798 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31800 wxMenu
*arg3
= (wxMenu
*) 0 ;
31801 wxString
*arg4
= 0 ;
31803 bool temp4
= false ;
31804 PyObject
* obj0
= 0 ;
31805 PyObject
* obj1
= 0 ;
31806 PyObject
* obj2
= 0 ;
31807 PyObject
* obj3
= 0 ;
31808 char *kwnames
[] = {
31809 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31815 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31817 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 arg4
= wxString_in_helper(obj3
);
31821 if (arg4
== NULL
) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= wxPyMake_wxObject(result
, 0);
31848 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
;
31850 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self",(char *) "pos", NULL
31859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31862 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31866 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31872 resultobj
= wxPyMake_wxObject(result
, 0);
31880 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31881 PyObject
*resultobj
;
31882 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 PyObject
* obj2
= 0 ;
31888 char *kwnames
[] = {
31889 (char *) "self",(char *) "pos",(char *) "enable", NULL
31892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31895 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31897 arg3
= (bool)SWIG_As_bool(obj2
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 (arg1
)->EnableTop(arg2
,arg3
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 Py_INCREF(Py_None
); resultobj
= Py_None
;
31913 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 char *kwnames
[] = {
31921 (char *) "self",(char *) "pos", NULL
31924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31927 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31945 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31949 wxString
*arg3
= 0 ;
31950 bool temp3
= false ;
31951 PyObject
* obj0
= 0 ;
31952 PyObject
* obj1
= 0 ;
31953 PyObject
* obj2
= 0 ;
31954 char *kwnames
[] = {
31955 (char *) "self",(char *) "pos",(char *) "label", NULL
31958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31961 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 arg3
= wxString_in_helper(obj2
);
31965 if (arg3
== NULL
) SWIG_fail
;
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 Py_INCREF(Py_None
); resultobj
= Py_None
;
31990 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
;
31992 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 char *kwnames
[] = {
31998 (char *) "self",(char *) "pos", NULL
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32004 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32026 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32029 wxString
*arg2
= 0 ;
32030 wxString
*arg3
= 0 ;
32032 bool temp2
= false ;
32033 bool temp3
= false ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 PyObject
* obj2
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self",(char *) "menu",(char *) "item", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32045 arg2
= wxString_in_helper(obj1
);
32046 if (arg2
== NULL
) SWIG_fail
;
32050 arg3
= wxString_in_helper(obj2
);
32051 if (arg3
== NULL
) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32061 resultobj
= SWIG_From_int((int)result
);
32084 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32088 wxMenuItem
*result
;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 char *kwnames
[] = {
32092 (char *) "self",(char *) "id", NULL
32095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32098 arg2
= (int)SWIG_As_int(obj1
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32102 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32104 wxPyEndAllowThreads(__tstate
);
32105 if (PyErr_Occurred()) SWIG_fail
;
32108 resultobj
= wxPyMake_wxObject(result
, 0);
32116 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32117 PyObject
*resultobj
;
32118 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32119 wxString
*arg2
= 0 ;
32121 bool temp2
= false ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "title", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32132 arg2
= wxString_in_helper(obj1
);
32133 if (arg2
== NULL
) SWIG_fail
;
32137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32138 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_From_int((int)result
);
32158 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
;
32160 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32163 PyObject
* obj0
= 0 ;
32164 PyObject
* obj1
= 0 ;
32165 PyObject
* obj2
= 0 ;
32166 char *kwnames
[] = {
32167 (char *) "self",(char *) "id",(char *) "enable", NULL
32170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32173 arg2
= (int)SWIG_As_int(obj1
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32175 arg3
= (bool)SWIG_As_bool(obj2
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 (arg1
)->Enable(arg2
,arg3
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 Py_INCREF(Py_None
); resultobj
= Py_None
;
32191 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
;
32193 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 PyObject
* obj1
= 0 ;
32198 PyObject
* obj2
= 0 ;
32199 char *kwnames
[] = {
32200 (char *) "self",(char *) "id",(char *) "check", NULL
32203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32206 arg2
= (int)SWIG_As_int(obj1
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32208 arg3
= (bool)SWIG_As_bool(obj2
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 (arg1
)->Check(arg2
,arg3
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 Py_INCREF(Py_None
); resultobj
= Py_None
;
32224 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
;
32226 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self",(char *) "id", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32238 arg2
= (int)SWIG_As_int(obj1
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32242 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32244 wxPyEndAllowThreads(__tstate
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32256 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32257 PyObject
*resultobj
;
32258 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self",(char *) "id", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32270 arg2
= (int)SWIG_As_int(obj1
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32288 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
;
32290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32292 wxString
*arg3
= 0 ;
32293 bool temp3
= false ;
32294 PyObject
* obj0
= 0 ;
32295 PyObject
* obj1
= 0 ;
32296 PyObject
* obj2
= 0 ;
32297 char *kwnames
[] = {
32298 (char *) "self",(char *) "id",(char *) "label", NULL
32301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32304 arg2
= (int)SWIG_As_int(obj1
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 arg3
= wxString_in_helper(obj2
);
32308 if (arg3
== NULL
) SWIG_fail
;
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 Py_INCREF(Py_None
); resultobj
= Py_None
;
32333 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32334 PyObject
*resultobj
;
32335 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 char *kwnames
[] = {
32341 (char *) "self",(char *) "id", NULL
32344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32347 arg2
= (int)SWIG_As_int(obj1
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32369 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32373 wxString
*arg3
= 0 ;
32374 bool temp3
= false ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 PyObject
* obj2
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self",(char *) "id",(char *) "helpString", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32385 arg2
= (int)SWIG_As_int(obj1
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 arg3
= wxString_in_helper(obj2
);
32389 if (arg3
== NULL
) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32399 Py_INCREF(Py_None
); resultobj
= Py_None
;
32414 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32415 PyObject
*resultobj
;
32416 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 PyObject
* obj1
= 0 ;
32421 char *kwnames
[] = {
32422 (char *) "self",(char *) "id", NULL
32425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32428 arg2
= (int)SWIG_As_int(obj1
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32434 wxPyEndAllowThreads(__tstate
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32450 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32454 PyObject
* obj0
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= wxPyMake_wxObject(result
, 0);
32478 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
;
32480 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 char *kwnames
[] = {
32484 (char *) "self", NULL
32487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32506 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32509 wxFrame
*arg2
= (wxFrame
*) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 PyObject
* obj1
= 0 ;
32512 char *kwnames
[] = {
32513 (char *) "self",(char *) "frame", NULL
32516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 (arg1
)->Attach(arg2
);
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 Py_INCREF(Py_None
); resultobj
= Py_None
;
32535 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32536 PyObject
*resultobj
;
32537 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32538 PyObject
* obj0
= 0 ;
32539 char *kwnames
[] = {
32540 (char *) "self", NULL
32543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32550 wxPyEndAllowThreads(__tstate
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32553 Py_INCREF(Py_None
); resultobj
= Py_None
;
32560 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32563 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32565 return Py_BuildValue((char *)"");
32567 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxMenu
*arg1
= (wxMenu
*) NULL
;
32570 int arg2
= (int) wxID_ANY
;
32571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32575 int arg5
= (int) wxITEM_NORMAL
;
32576 wxMenu
*arg6
= (wxMenu
*) NULL
;
32577 wxMenuItem
*result
;
32578 bool temp3
= false ;
32579 bool temp4
= false ;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 PyObject
* obj2
= 0 ;
32583 PyObject
* obj3
= 0 ;
32584 PyObject
* obj4
= 0 ;
32585 PyObject
* obj5
= 0 ;
32586 char *kwnames
[] = {
32587 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32596 arg2
= (int)SWIG_As_int(obj1
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32601 arg3
= wxString_in_helper(obj2
);
32602 if (arg3
== NULL
) SWIG_fail
;
32608 arg4
= wxString_in_helper(obj3
);
32609 if (arg4
== NULL
) SWIG_fail
;
32614 arg5
= (int)SWIG_As_int(obj4
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32618 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= wxPyMake_wxObject(result
, 1);
32653 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32657 PyObject
* obj0
= 0 ;
32658 char *kwnames
[] = {
32659 (char *) "self", NULL
32662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32669 wxPyEndAllowThreads(__tstate
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= wxPyMake_wxObject(result
, 0);
32681 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32682 PyObject
*resultobj
;
32683 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32684 wxMenu
*arg2
= (wxMenu
*) 0 ;
32685 PyObject
* obj0
= 0 ;
32686 PyObject
* obj1
= 0 ;
32687 char *kwnames
[] = {
32688 (char *) "self",(char *) "menu", NULL
32691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 (arg1
)->SetMenu(arg2
);
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 Py_INCREF(Py_None
); resultobj
= Py_None
;
32710 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32711 PyObject
*resultobj
;
32712 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32714 PyObject
* obj0
= 0 ;
32715 PyObject
* obj1
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "self",(char *) "id", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32723 arg2
= (int)SWIG_As_int(obj1
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->SetId(arg2
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 Py_INCREF(Py_None
); resultobj
= Py_None
;
32739 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= SWIG_From_int((int)result
);
32765 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
;
32767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32769 PyObject
* obj0
= 0 ;
32770 char *kwnames
[] = {
32771 (char *) "self", NULL
32774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32793 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
;
32795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32796 wxString
*arg2
= 0 ;
32797 bool temp2
= false ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "str", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32808 arg2
= wxString_in_helper(obj1
);
32809 if (arg2
== NULL
) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 (arg1
)->SetText((wxString
const &)*arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 Py_INCREF(Py_None
); resultobj
= Py_None
;
32834 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
;
32836 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32838 PyObject
* obj0
= 0 ;
32839 char *kwnames
[] = {
32840 (char *) "self", NULL
32843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32850 wxPyEndAllowThreads(__tstate
);
32851 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32866 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
;
32868 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32870 PyObject
* obj0
= 0 ;
32871 char *kwnames
[] = {
32872 (char *) "self", NULL
32875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32882 result
= (wxString
*) &_result_ref
;
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32901 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
;
32903 wxString
*arg1
= 0 ;
32905 bool temp1
= false ;
32906 PyObject
* obj0
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "text", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32913 arg1
= wxString_in_helper(obj0
);
32914 if (arg1
== NULL
) SWIG_fail
;
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32921 wxPyEndAllowThreads(__tstate
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32945 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
;
32947 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32949 PyObject
* obj0
= 0 ;
32950 char *kwnames
[] = {
32951 (char *) "self", NULL
32954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32959 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_From_int((int)result
);
32971 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
;
32973 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32975 PyObject
* obj0
= 0 ;
32976 PyObject
* obj1
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self",(char *) "kind", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32984 arg2
= (int)SWIG_As_int(obj1
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 (arg1
)->SetKind((wxItemKind
)arg2
);
32990 wxPyEndAllowThreads(__tstate
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32993 Py_INCREF(Py_None
); resultobj
= Py_None
;
33000 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "checkable", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33013 arg2
= (bool)SWIG_As_bool(obj1
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 (arg1
)->SetCheckable(arg2
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 Py_INCREF(Py_None
); resultobj
= Py_None
;
33029 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
;
33031 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33033 PyObject
* obj0
= 0 ;
33034 char *kwnames
[] = {
33035 (char *) "self", NULL
33038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33057 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33061 PyObject
* obj0
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33071 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33085 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
;
33087 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33088 wxMenu
*arg2
= (wxMenu
*) 0 ;
33089 PyObject
* obj0
= 0 ;
33090 PyObject
* obj1
= 0 ;
33091 char *kwnames
[] = {
33092 (char *) "self",(char *) "menu", NULL
33095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 (arg1
)->SetSubMenu(arg2
);
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 Py_INCREF(Py_None
); resultobj
= Py_None
;
33114 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33118 PyObject
* obj0
= 0 ;
33119 char *kwnames
[] = {
33120 (char *) "self", NULL
33123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= wxPyMake_wxObject(result
, 0);
33142 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
;
33144 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33145 bool arg2
= (bool) true ;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 char *kwnames
[] = {
33149 (char *) "self",(char *) "enable", NULL
33152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33156 arg2
= (bool)SWIG_As_bool(obj1
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 (arg1
)->Enable(arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 Py_INCREF(Py_None
); resultobj
= Py_None
;
33173 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 char *kwnames
[] = {
33179 (char *) "self", NULL
33182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33201 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33202 PyObject
*resultobj
;
33203 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33204 bool arg2
= (bool) true ;
33205 PyObject
* obj0
= 0 ;
33206 PyObject
* obj1
= 0 ;
33207 char *kwnames
[] = {
33208 (char *) "self",(char *) "check", NULL
33211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33215 arg2
= (bool)SWIG_As_bool(obj1
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 (arg1
)->Check(arg2
);
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33225 Py_INCREF(Py_None
); resultobj
= Py_None
;
33232 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33233 PyObject
*resultobj
;
33234 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33236 PyObject
* obj0
= 0 ;
33237 char *kwnames
[] = {
33238 (char *) "self", NULL
33241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33260 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33261 PyObject
*resultobj
;
33262 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33263 PyObject
* obj0
= 0 ;
33264 char *kwnames
[] = {
33265 (char *) "self", NULL
33268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 Py_INCREF(Py_None
); resultobj
= Py_None
;
33285 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
;
33287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33288 wxString
*arg2
= 0 ;
33289 bool temp2
= false ;
33290 PyObject
* obj0
= 0 ;
33291 PyObject
* obj1
= 0 ;
33292 char *kwnames
[] = {
33293 (char *) "self",(char *) "str", NULL
33296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33300 arg2
= wxString_in_helper(obj1
);
33301 if (arg2
== NULL
) SWIG_fail
;
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 (arg1
)->SetHelp((wxString
const &)*arg2
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 Py_INCREF(Py_None
); resultobj
= Py_None
;
33326 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
;
33328 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33330 PyObject
* obj0
= 0 ;
33331 char *kwnames
[] = {
33332 (char *) "self", NULL
33335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33342 result
= (wxString
*) &_result_ref
;
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33352 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33361 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
;
33363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33364 wxAcceleratorEntry
*result
;
33365 PyObject
* obj0
= 0 ;
33366 char *kwnames
[] = {
33367 (char *) "self", NULL
33370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33387 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33390 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char *kwnames
[] = {
33394 (char *) "self",(char *) "accel", NULL
33397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 (arg1
)->SetAccel(arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33409 Py_INCREF(Py_None
); resultobj
= Py_None
;
33416 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33417 PyObject
*resultobj
;
33418 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self",(char *) "font", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33432 if (arg2
== NULL
) {
33433 PyErr_SetString(PyExc_TypeError
,"null reference");
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 (arg1
)->SetFont((wxFont
const &)*arg2
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 Py_INCREF(Py_None
); resultobj
= Py_None
;
33450 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33454 PyObject
* obj0
= 0 ;
33455 char *kwnames
[] = {
33456 (char *) "self", NULL
33459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 result
= (arg1
)->GetFont();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33470 wxFont
* resultptr
;
33471 resultptr
= new wxFont((wxFont
&) result
);
33472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33480 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
;
33482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33483 wxColour
*arg2
= 0 ;
33485 PyObject
* obj0
= 0 ;
33486 PyObject
* obj1
= 0 ;
33487 char *kwnames
[] = {
33488 (char *) "self",(char *) "colText", NULL
33491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33496 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 Py_INCREF(Py_None
); resultobj
= Py_None
;
33512 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33514 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33516 PyObject
* obj0
= 0 ;
33517 char *kwnames
[] = {
33518 (char *) "self", NULL
33521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 result
= (arg1
)->GetTextColour();
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33532 wxColour
* resultptr
;
33533 resultptr
= new wxColour((wxColour
&) result
);
33534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33542 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33543 PyObject
*resultobj
;
33544 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33545 wxColour
*arg2
= 0 ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self",(char *) "colBack", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 Py_INCREF(Py_None
); resultobj
= Py_None
;
33574 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33575 PyObject
*resultobj
;
33576 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33578 PyObject
* obj0
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (arg1
)->GetBackgroundColour();
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33594 wxColour
* resultptr
;
33595 resultptr
= new wxColour((wxColour
&) result
);
33596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33604 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33605 PyObject
*resultobj
;
33606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33607 wxBitmap
*arg2
= 0 ;
33608 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33609 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33610 PyObject
* obj0
= 0 ;
33611 PyObject
* obj1
= 0 ;
33612 PyObject
* obj2
= 0 ;
33613 char *kwnames
[] = {
33614 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33623 if (arg2
== NULL
) {
33624 PyErr_SetString(PyExc_TypeError
,"null reference");
33628 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33631 if (arg3
== NULL
) {
33632 PyErr_SetString(PyExc_TypeError
,"null reference");
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33643 Py_INCREF(Py_None
); resultobj
= Py_None
;
33650 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33651 PyObject
*resultobj
;
33652 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33653 wxBitmap
*arg2
= 0 ;
33654 PyObject
* obj0
= 0 ;
33655 PyObject
* obj1
= 0 ;
33656 char *kwnames
[] = {
33657 (char *) "self",(char *) "bmpDisabled", NULL
33660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33666 if (arg2
== NULL
) {
33667 PyErr_SetString(PyExc_TypeError
,"null reference");
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33684 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33685 PyObject
*resultobj
;
33686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33688 PyObject
* obj0
= 0 ;
33689 char *kwnames
[] = {
33690 (char *) "self", NULL
33693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33699 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33700 result
= (wxBitmap
*) &_result_ref
;
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 wxBitmap
* resultptr
= new wxBitmap(*result
);
33708 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33716 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33717 PyObject
*resultobj
;
33718 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33720 PyObject
* obj0
= 0 ;
33721 PyObject
* obj1
= 0 ;
33722 char *kwnames
[] = {
33723 (char *) "self",(char *) "nWidth", NULL
33726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33729 arg2
= (int)SWIG_As_int(obj1
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 (arg1
)->SetMarginWidth(arg2
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 Py_INCREF(Py_None
); resultobj
= Py_None
;
33745 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33749 PyObject
* obj0
= 0 ;
33750 char *kwnames
[] = {
33751 (char *) "self", NULL
33754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (int)(arg1
)->GetMarginWidth();
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_From_int((int)result
);
33771 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33772 PyObject
*resultobj
;
33774 char *kwnames
[] = {
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_From_int((int)result
);
33793 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33797 PyObject
* obj0
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (bool)(arg1
)->IsOwnerDrawn();
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33821 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33822 PyObject
*resultobj
;
33823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33824 bool arg2
= (bool) true ;
33825 PyObject
* obj0
= 0 ;
33826 PyObject
* obj1
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "ownerDrawn", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33835 arg2
= (bool)SWIG_As_bool(obj1
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 (arg1
)->SetOwnerDrawn(arg2
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 Py_INCREF(Py_None
); resultobj
= Py_None
;
33852 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33853 PyObject
*resultobj
;
33854 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33855 PyObject
* obj0
= 0 ;
33856 char *kwnames
[] = {
33857 (char *) "self", NULL
33860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 (arg1
)->ResetOwnerDrawn();
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 Py_INCREF(Py_None
); resultobj
= Py_None
;
33877 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
;
33879 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33880 wxBitmap
*arg2
= 0 ;
33881 PyObject
* obj0
= 0 ;
33882 PyObject
* obj1
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self",(char *) "bitmap", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33893 if (arg2
== NULL
) {
33894 PyErr_SetString(PyExc_TypeError
,"null reference");
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 Py_INCREF(Py_None
); resultobj
= Py_None
;
33911 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
;
33913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 char *kwnames
[] = {
33917 (char *) "self", NULL
33920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33927 result
= (wxBitmap
*) &_result_ref
;
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33934 wxBitmap
* resultptr
= new wxBitmap(*result
);
33935 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33943 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33946 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33948 return Py_BuildValue((char *)"");
33950 static int _wrap_ControlNameStr_set(PyObject
*) {
33951 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33956 static PyObject
*_wrap_ControlNameStr_get() {
33961 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33963 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33970 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33971 PyObject
*resultobj
;
33972 wxWindow
*arg1
= (wxWindow
*) 0 ;
33973 int arg2
= (int) -1 ;
33974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33978 long arg5
= (long) 0 ;
33979 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33980 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33981 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33986 bool temp7
= false ;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 PyObject
* obj2
= 0 ;
33990 PyObject
* obj3
= 0 ;
33991 PyObject
* obj4
= 0 ;
33992 PyObject
* obj5
= 0 ;
33993 PyObject
* obj6
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34002 arg2
= (int)SWIG_As_int(obj1
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34014 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34018 arg5
= (long)SWIG_As_long(obj4
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34022 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34025 if (arg6
== NULL
) {
34026 PyErr_SetString(PyExc_TypeError
,"null reference");
34032 arg7
= wxString_in_helper(obj6
);
34033 if (arg7
== NULL
) SWIG_fail
;
34038 if (!wxPyCheckForApp()) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34060 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34061 PyObject
*resultobj
;
34063 char *kwnames
[] = {
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34069 if (!wxPyCheckForApp()) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (wxControl
*)new wxControl();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34083 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxControl
*arg1
= (wxControl
*) 0 ;
34086 wxWindow
*arg2
= (wxWindow
*) 0 ;
34087 int arg3
= (int) -1 ;
34088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34092 long arg6
= (long) 0 ;
34093 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34094 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34095 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34096 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34100 bool temp8
= false ;
34101 PyObject
* obj0
= 0 ;
34102 PyObject
* obj1
= 0 ;
34103 PyObject
* obj2
= 0 ;
34104 PyObject
* obj3
= 0 ;
34105 PyObject
* obj4
= 0 ;
34106 PyObject
* obj5
= 0 ;
34107 PyObject
* obj6
= 0 ;
34108 PyObject
* obj7
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34119 arg3
= (int)SWIG_As_int(obj2
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34135 arg6
= (long)SWIG_As_long(obj5
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34139 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34142 if (arg7
== NULL
) {
34143 PyErr_SetString(PyExc_TypeError
,"null reference");
34149 arg8
= wxString_in_helper(obj7
);
34150 if (arg8
== NULL
) SWIG_fail
;
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34178 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
;
34180 wxControl
*arg1
= (wxControl
*) 0 ;
34181 wxCommandEvent
*arg2
= 0 ;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 char *kwnames
[] = {
34185 (char *) "self",(char *) "event", NULL
34188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34194 if (arg2
== NULL
) {
34195 PyErr_SetString(PyExc_TypeError
,"null reference");
34199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34200 (arg1
)->Command(*arg2
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 Py_INCREF(Py_None
); resultobj
= Py_None
;
34212 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
;
34214 wxControl
*arg1
= (wxControl
*) 0 ;
34216 PyObject
* obj0
= 0 ;
34217 char *kwnames
[] = {
34218 (char *) "self", NULL
34221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 result
= (arg1
)->GetLabel();
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34244 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxControl
*arg1
= (wxControl
*) 0 ;
34247 wxString
*arg2
= 0 ;
34248 bool temp2
= false ;
34249 PyObject
* obj0
= 0 ;
34250 PyObject
* obj1
= 0 ;
34251 char *kwnames
[] = {
34252 (char *) "self",(char *) "label", NULL
34255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34259 arg2
= wxString_in_helper(obj1
);
34260 if (arg2
== NULL
) SWIG_fail
;
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->SetLabel((wxString
const &)*arg2
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 Py_INCREF(Py_None
); resultobj
= Py_None
;
34285 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34288 wxVisualAttributes result
;
34289 PyObject
* obj0
= 0 ;
34290 char *kwnames
[] = {
34291 (char *) "variant", NULL
34294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34296 arg1
= (int)SWIG_As_int(obj0
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34300 if (!wxPyCheckForApp()) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 wxVisualAttributes
* resultptr
;
34309 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34318 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34321 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34323 return Py_BuildValue((char *)"");
34325 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
;
34327 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34328 wxString
*arg2
= 0 ;
34329 PyObject
*arg3
= (PyObject
*) NULL
;
34331 bool temp2
= false ;
34332 PyObject
* obj0
= 0 ;
34333 PyObject
* obj1
= 0 ;
34334 PyObject
* obj2
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "item",(char *) "clientData", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34343 arg2
= wxString_in_helper(obj1
);
34344 if (arg2
== NULL
) SWIG_fail
;
34351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_From_int((int)result
);
34372 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34375 wxArrayString
*arg2
= 0 ;
34376 bool temp2
= false ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char *kwnames
[] = {
34380 (char *) "self",(char *) "strings", NULL
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34387 if (! PySequence_Check(obj1
)) {
34388 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34391 arg2
= new wxArrayString
;
34393 int i
, len
=PySequence_Length(obj1
);
34394 for (i
=0; i
<len
; i
++) {
34395 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34397 PyObject
* str
= PyObject_Unicode(item
);
34399 PyObject
* str
= PyObject_Str(item
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34402 arg2
->Add(Py2wxString(str
));
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 (arg1
)->Append((wxArrayString
const &)*arg2
);
34411 wxPyEndAllowThreads(__tstate
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34414 Py_INCREF(Py_None
); resultobj
= Py_None
;
34416 if (temp2
) delete arg2
;
34421 if (temp2
) delete arg2
;
34427 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
;
34429 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34430 wxString
*arg2
= 0 ;
34432 PyObject
*arg4
= (PyObject
*) NULL
;
34434 bool temp2
= false ;
34435 PyObject
* obj0
= 0 ;
34436 PyObject
* obj1
= 0 ;
34437 PyObject
* obj2
= 0 ;
34438 PyObject
* obj3
= 0 ;
34439 char *kwnames
[] = {
34440 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34447 arg2
= wxString_in_helper(obj1
);
34448 if (arg2
== NULL
) SWIG_fail
;
34451 arg3
= (int)SWIG_As_int(obj2
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34458 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= SWIG_From_int((int)result
);
34478 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34481 PyObject
* obj0
= 0 ;
34482 char *kwnames
[] = {
34483 (char *) "self", NULL
34486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 Py_INCREF(Py_None
); resultobj
= Py_None
;
34503 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34507 PyObject
* obj0
= 0 ;
34508 PyObject
* obj1
= 0 ;
34509 char *kwnames
[] = {
34510 (char *) "self",(char *) "n", NULL
34513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34516 arg2
= (int)SWIG_As_int(obj1
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 (arg1
)->Delete(arg2
);
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34525 Py_INCREF(Py_None
); resultobj
= Py_None
;
34532 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 char *kwnames
[] = {
34538 (char *) "self", NULL
34541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 resultobj
= SWIG_From_int((int)result
);
34558 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34586 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 char *kwnames
[] = {
34594 (char *) "self",(char *) "n", NULL
34597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34600 arg2
= (int)SWIG_As_int(obj1
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34622 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34623 PyObject
*resultobj
;
34624 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34625 wxArrayString result
;
34626 PyObject
* obj0
= 0 ;
34627 char *kwnames
[] = {
34628 (char *) "self", NULL
34631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= wxArrayString2PyList_helper(result
);
34650 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
;
34652 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34654 wxString
*arg3
= 0 ;
34655 bool temp3
= false ;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 PyObject
* obj2
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self",(char *) "n",(char *) "s", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34666 arg2
= (int)SWIG_As_int(obj1
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 arg3
= wxString_in_helper(obj2
);
34670 if (arg3
== NULL
) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 Py_INCREF(Py_None
); resultobj
= Py_None
;
34695 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34696 PyObject
*resultobj
;
34697 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34698 wxString
*arg2
= 0 ;
34700 bool temp2
= false ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self",(char *) "s", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34711 arg2
= wxString_in_helper(obj1
);
34712 if (arg2
== NULL
) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_From_int((int)result
);
34737 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34738 PyObject
*resultobj
;
34739 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34741 PyObject
* obj0
= 0 ;
34742 PyObject
* obj1
= 0 ;
34743 char *kwnames
[] = {
34744 (char *) "self",(char *) "n", NULL
34747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34750 arg2
= (int)SWIG_As_int(obj1
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 (arg1
)->Select(arg2
);
34756 wxPyEndAllowThreads(__tstate
);
34757 if (PyErr_Occurred()) SWIG_fail
;
34759 Py_INCREF(Py_None
); resultobj
= Py_None
;
34766 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34767 PyObject
*resultobj
;
34768 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34770 PyObject
* obj0
= 0 ;
34771 char *kwnames
[] = {
34772 (char *) "self", NULL
34775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34780 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34785 resultobj
= SWIG_From_int((int)result
);
34792 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34796 PyObject
* obj0
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34806 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34824 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34825 PyObject
*resultobj
;
34826 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 char *kwnames
[] = {
34832 (char *) "self",(char *) "n", NULL
34835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34838 arg2
= (int)SWIG_As_int(obj1
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= result
;
34854 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34855 PyObject
*resultobj
;
34856 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34858 PyObject
*arg3
= (PyObject
*) 0 ;
34859 PyObject
* obj0
= 0 ;
34860 PyObject
* obj1
= 0 ;
34861 PyObject
* obj2
= 0 ;
34862 char *kwnames
[] = {
34863 (char *) "self",(char *) "n",(char *) "clientData", NULL
34866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34869 arg2
= (int)SWIG_As_int(obj1
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 Py_INCREF(Py_None
); resultobj
= Py_None
;
34886 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34889 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34891 return Py_BuildValue((char *)"");
34893 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34896 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34898 return Py_BuildValue((char *)"");
34900 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
;
34902 wxSizerItem
*result
;
34903 char *kwnames
[] = {
34907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 result
= (wxSizerItem
*)new wxSizerItem();
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34922 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
;
34924 wxWindow
*arg1
= (wxWindow
*) 0 ;
34928 PyObject
*arg5
= (PyObject
*) NULL
;
34929 wxSizerItem
*result
;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 PyObject
* obj2
= 0 ;
34933 PyObject
* obj3
= 0 ;
34934 PyObject
* obj4
= 0 ;
34935 char *kwnames
[] = {
34936 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34942 arg2
= (int)SWIG_As_int(obj1
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34944 arg3
= (int)SWIG_As_int(obj2
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34946 arg4
= (int)SWIG_As_int(obj3
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34965 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34966 PyObject
*resultobj
;
34972 PyObject
*arg6
= (PyObject
*) NULL
;
34973 wxSizerItem
*result
;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 PyObject
* obj3
= 0 ;
34978 PyObject
* obj4
= 0 ;
34979 PyObject
* obj5
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34985 arg1
= (int)SWIG_As_int(obj0
);
34986 if (PyErr_Occurred()) SWIG_fail
;
34987 arg2
= (int)SWIG_As_int(obj1
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34989 arg3
= (int)SWIG_As_int(obj2
);
34990 if (PyErr_Occurred()) SWIG_fail
;
34991 arg4
= (int)SWIG_As_int(obj3
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34993 arg5
= (int)SWIG_As_int(obj4
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35012 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
;
35014 wxSizer
*arg1
= (wxSizer
*) 0 ;
35018 PyObject
*arg5
= (PyObject
*) NULL
;
35019 wxSizerItem
*result
;
35020 PyObject
* obj0
= 0 ;
35021 PyObject
* obj1
= 0 ;
35022 PyObject
* obj2
= 0 ;
35023 PyObject
* obj3
= 0 ;
35024 PyObject
* obj4
= 0 ;
35025 char *kwnames
[] = {
35026 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35032 arg2
= (int)SWIG_As_int(obj1
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35034 arg3
= (int)SWIG_As_int(obj2
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35036 arg4
= (int)SWIG_As_int(obj3
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35045 wxPyEndAllowThreads(__tstate
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35055 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35056 PyObject
*resultobj
;
35057 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35058 PyObject
* obj0
= 0 ;
35059 char *kwnames
[] = {
35060 (char *) "self", NULL
35063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 (arg1
)->DeleteWindows();
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 Py_INCREF(Py_None
); resultobj
= Py_None
;
35080 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
;
35082 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35083 PyObject
* obj0
= 0 ;
35084 char *kwnames
[] = {
35085 (char *) "self", NULL
35088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 (arg1
)->DetachSizer();
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 Py_INCREF(Py_None
); resultobj
= Py_None
;
35105 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= (arg1
)->GetSize();
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35125 wxSize
* resultptr
;
35126 resultptr
= new wxSize((wxSize
&) result
);
35127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35135 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
;
35137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35139 PyObject
* obj0
= 0 ;
35140 char *kwnames
[] = {
35141 (char *) "self", NULL
35144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 result
= (arg1
)->CalcMin();
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35155 wxSize
* resultptr
;
35156 resultptr
= new wxSize((wxSize
&) result
);
35157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35165 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35166 PyObject
*resultobj
;
35167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 PyObject
* obj2
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "pos",(char *) "size", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35182 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35183 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35185 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35186 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 (arg1
)->SetDimension(arg2
,arg3
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 Py_INCREF(Py_None
); resultobj
= Py_None
;
35202 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 char *kwnames
[] = {
35208 (char *) "self", NULL
35211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 result
= (arg1
)->GetMinSize();
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35222 wxSize
* resultptr
;
35223 resultptr
= new wxSize((wxSize
&) result
);
35224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35232 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
;
35234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35252 wxSize
* resultptr
;
35253 resultptr
= new wxSize((wxSize
&) result
);
35254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35262 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
;
35264 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35267 PyObject
* obj0
= 0 ;
35268 PyObject
* obj1
= 0 ;
35269 PyObject
* obj2
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self",(char *) "x",(char *) "y", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35277 arg2
= (int)SWIG_As_int(obj1
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35279 arg3
= (int)SWIG_As_int(obj2
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 (arg1
)->SetInitSize(arg2
,arg3
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 Py_INCREF(Py_None
); resultobj
= Py_None
;
35295 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 PyObject
* obj2
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self",(char *) "width",(char *) "height", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35310 arg2
= (int)SWIG_As_int(obj1
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35312 arg3
= (int)SWIG_As_int(obj2
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 (arg1
)->SetRatio(arg2
,arg3
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 Py_INCREF(Py_None
); resultobj
= Py_None
;
35328 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self",(char *) "size", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35342 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35343 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 (arg1
)->SetRatio(arg2
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 Py_INCREF(Py_None
); resultobj
= Py_None
;
35359 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "self",(char *) "ratio", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35372 arg2
= (float)SWIG_As_float(obj1
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 (arg1
)->SetRatio(arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 Py_INCREF(Py_None
); resultobj
= Py_None
;
35388 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
;
35390 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35392 PyObject
* obj0
= 0 ;
35393 char *kwnames
[] = {
35394 (char *) "self", NULL
35397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 result
= (float)(arg1
)->GetRatio();
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35407 resultobj
= SWIG_From_float((float)result
);
35414 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
;
35416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35418 PyObject
* obj0
= 0 ;
35419 char *kwnames
[] = {
35420 (char *) "self", NULL
35423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35428 result
= (bool)(arg1
)->IsWindow();
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35442 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
;
35444 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35446 PyObject
* obj0
= 0 ;
35447 char *kwnames
[] = {
35448 (char *) "self", NULL
35451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 result
= (bool)(arg1
)->IsSizer();
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35470 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35474 PyObject
* obj0
= 0 ;
35475 char *kwnames
[] = {
35476 (char *) "self", NULL
35479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 result
= (bool)(arg1
)->IsSpacer();
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35498 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35499 PyObject
*resultobj
;
35500 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char *kwnames
[] = {
35505 (char *) "self",(char *) "proportion", NULL
35508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35511 arg2
= (int)SWIG_As_int(obj1
);
35512 if (PyErr_Occurred()) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->SetProportion(arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 Py_INCREF(Py_None
); resultobj
= Py_None
;
35527 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 char *kwnames
[] = {
35533 (char *) "self", NULL
35536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 result
= (int)(arg1
)->GetProportion();
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 resultobj
= SWIG_From_int((int)result
);
35553 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 char *kwnames
[] = {
35560 (char *) "self",(char *) "flag", NULL
35563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35566 arg2
= (int)SWIG_As_int(obj1
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35570 (arg1
)->SetFlag(arg2
);
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 Py_INCREF(Py_None
); resultobj
= Py_None
;
35582 static PyObject
*_wrap_SizerItem_GetFlag(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_GetFlag",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
= (int)(arg1
)->GetFlag();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_From_int((int)result
);
35608 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
;
35610 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35612 PyObject
* obj0
= 0 ;
35613 PyObject
* obj1
= 0 ;
35614 char *kwnames
[] = {
35615 (char *) "self",(char *) "border", NULL
35618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35621 arg2
= (int)SWIG_As_int(obj1
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35625 (arg1
)->SetBorder(arg2
);
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35630 Py_INCREF(Py_None
); resultobj
= Py_None
;
35637 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35641 PyObject
* obj0
= 0 ;
35642 char *kwnames
[] = {
35643 (char *) "self", NULL
35646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35651 result
= (int)(arg1
)->GetBorder();
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_From_int((int)result
);
35663 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35667 PyObject
* obj0
= 0 ;
35668 char *kwnames
[] = {
35669 (char *) "self", NULL
35672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= (wxWindow
*)(arg1
)->GetWindow();
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35683 resultobj
= wxPyMake_wxObject(result
, 0);
35691 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
;
35693 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35694 wxWindow
*arg2
= (wxWindow
*) 0 ;
35695 PyObject
* obj0
= 0 ;
35696 PyObject
* obj1
= 0 ;
35697 char *kwnames
[] = {
35698 (char *) "self",(char *) "window", NULL
35701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 (arg1
)->SetWindow(arg2
);
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 Py_INCREF(Py_None
); resultobj
= Py_None
;
35720 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
;
35722 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35724 PyObject
* obj0
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35734 result
= (wxSizer
*)(arg1
)->GetSizer();
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= wxPyMake_wxSizer(result
, 0);
35748 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35751 wxSizer
*arg2
= (wxSizer
*) 0 ;
35752 PyObject
* obj0
= 0 ;
35753 PyObject
* obj1
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self",(char *) "sizer", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 (arg1
)->SetSizer(arg2
);
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 Py_INCREF(Py_None
); resultobj
= Py_None
;
35777 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
;
35779 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35781 PyObject
* obj0
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35793 result
= (wxSize
*) &_result_ref
;
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35806 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35811 PyObject
* obj0
= 0 ;
35812 PyObject
* obj1
= 0 ;
35813 char *kwnames
[] = {
35814 (char *) "self",(char *) "size", NULL
35817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35822 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 Py_INCREF(Py_None
); resultobj
= Py_None
;
35838 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self",(char *) "show", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35851 arg2
= (bool)SWIG_As_bool(obj1
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 (arg1
)->Show(arg2
);
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 Py_INCREF(Py_None
); resultobj
= Py_None
;
35867 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
;
35869 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35871 PyObject
* obj0
= 0 ;
35872 char *kwnames
[] = {
35873 (char *) "self", NULL
35876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35881 result
= (bool)(arg1
)->IsShown();
35883 wxPyEndAllowThreads(__tstate
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35895 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35896 PyObject
*resultobj
;
35897 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35899 PyObject
* obj0
= 0 ;
35900 char *kwnames
[] = {
35901 (char *) "self", NULL
35904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= (arg1
)->GetPosition();
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35915 wxPoint
* resultptr
;
35916 resultptr
= new wxPoint((wxPoint
&) result
);
35917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35925 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
;
35927 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 char *kwnames
[] = {
35931 (char *) "self", NULL
35934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= result
;
35951 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35954 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35956 return Py_BuildValue((char *)"");
35958 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35959 PyObject
*resultobj
;
35960 wxSizer
*arg1
= (wxSizer
*) 0 ;
35961 PyObject
*arg2
= (PyObject
*) 0 ;
35962 PyObject
* obj0
= 0 ;
35963 PyObject
* obj1
= 0 ;
35964 char *kwnames
[] = {
35965 (char *) "self",(char *) "_self", NULL
35968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35974 wxSizer__setOORInfo(arg1
,arg2
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 Py_INCREF(Py_None
); resultobj
= Py_None
;
35986 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35987 PyObject
*resultobj
;
35988 wxSizer
*arg1
= (wxSizer
*) 0 ;
35989 PyObject
*arg2
= (PyObject
*) 0 ;
35990 int arg3
= (int) 0 ;
35991 int arg4
= (int) 0 ;
35992 int arg5
= (int) 0 ;
35993 PyObject
*arg6
= (PyObject
*) NULL
;
35994 PyObject
* obj0
= 0 ;
35995 PyObject
* obj1
= 0 ;
35996 PyObject
* obj2
= 0 ;
35997 PyObject
* obj3
= 0 ;
35998 PyObject
* obj4
= 0 ;
35999 PyObject
* obj5
= 0 ;
36000 char *kwnames
[] = {
36001 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36009 arg3
= (int)SWIG_As_int(obj2
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36013 arg4
= (int)SWIG_As_int(obj3
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36017 arg5
= (int)SWIG_As_int(obj4
);
36018 if (PyErr_Occurred()) SWIG_fail
;
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 Py_INCREF(Py_None
); resultobj
= Py_None
;
36037 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36038 PyObject
*resultobj
;
36039 wxSizer
*arg1
= (wxSizer
*) 0 ;
36041 PyObject
*arg3
= (PyObject
*) 0 ;
36042 int arg4
= (int) 0 ;
36043 int arg5
= (int) 0 ;
36044 int arg6
= (int) 0 ;
36045 PyObject
*arg7
= (PyObject
*) NULL
;
36046 PyObject
* obj0
= 0 ;
36047 PyObject
* obj1
= 0 ;
36048 PyObject
* obj2
= 0 ;
36049 PyObject
* obj3
= 0 ;
36050 PyObject
* obj4
= 0 ;
36051 PyObject
* obj5
= 0 ;
36052 PyObject
* obj6
= 0 ;
36053 char *kwnames
[] = {
36054 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36060 arg2
= (int)SWIG_As_int(obj1
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36064 arg4
= (int)SWIG_As_int(obj3
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36068 arg5
= (int)SWIG_As_int(obj4
);
36069 if (PyErr_Occurred()) SWIG_fail
;
36072 arg6
= (int)SWIG_As_int(obj5
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 Py_INCREF(Py_None
); resultobj
= Py_None
;
36092 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
;
36094 wxSizer
*arg1
= (wxSizer
*) 0 ;
36095 PyObject
*arg2
= (PyObject
*) 0 ;
36096 int arg3
= (int) 0 ;
36097 int arg4
= (int) 0 ;
36098 int arg5
= (int) 0 ;
36099 PyObject
*arg6
= (PyObject
*) NULL
;
36100 PyObject
* obj0
= 0 ;
36101 PyObject
* obj1
= 0 ;
36102 PyObject
* obj2
= 0 ;
36103 PyObject
* obj3
= 0 ;
36104 PyObject
* obj4
= 0 ;
36105 PyObject
* obj5
= 0 ;
36106 char *kwnames
[] = {
36107 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36115 arg3
= (int)SWIG_As_int(obj2
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36119 arg4
= (int)SWIG_As_int(obj3
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36123 arg5
= (int)SWIG_As_int(obj4
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 Py_INCREF(Py_None
); resultobj
= Py_None
;
36143 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
;
36145 wxSizer
*arg1
= (wxSizer
*) 0 ;
36146 PyObject
*arg2
= (PyObject
*) 0 ;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char *kwnames
[] = {
36151 (char *) "self",(char *) "item", NULL
36154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36174 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
;
36176 wxSizer
*arg1
= (wxSizer
*) 0 ;
36177 PyObject
*arg2
= (PyObject
*) 0 ;
36179 PyObject
* obj0
= 0 ;
36180 PyObject
* obj1
= 0 ;
36181 char *kwnames
[] = {
36182 (char *) "self",(char *) "item", NULL
36185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36191 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36205 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36206 PyObject
*resultobj
;
36207 wxSizer
*arg1
= (wxSizer
*) 0 ;
36208 PyObject
*arg2
= (PyObject
*) 0 ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 PyObject
* obj2
= 0 ;
36214 char *kwnames
[] = {
36215 (char *) "self",(char *) "item",(char *) "size", NULL
36218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36224 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36228 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36230 wxPyEndAllowThreads(__tstate
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 Py_INCREF(Py_None
); resultobj
= Py_None
;
36240 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36241 PyObject
*resultobj
;
36242 wxSizer
*arg1
= (wxSizer
*) 0 ;
36243 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36244 PyObject
* obj0
= 0 ;
36245 PyObject
* obj1
= 0 ;
36246 char *kwnames
[] = {
36247 (char *) "self",(char *) "item", NULL
36250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 Py_INCREF(Py_None
); resultobj
= Py_None
;
36269 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36270 PyObject
*resultobj
;
36271 wxSizer
*arg1
= (wxSizer
*) 0 ;
36273 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 char *kwnames
[] = {
36278 (char *) "self",(char *) "index",(char *) "item", NULL
36281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36284 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 (arg1
)->Insert(arg2
,arg3
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 Py_INCREF(Py_None
); resultobj
= Py_None
;
36302 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
;
36304 wxSizer
*arg1
= (wxSizer
*) 0 ;
36305 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36306 PyObject
* obj0
= 0 ;
36307 PyObject
* obj1
= 0 ;
36308 char *kwnames
[] = {
36309 (char *) "self",(char *) "item", NULL
36312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 (arg1
)->Prepend(arg2
);
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36324 Py_INCREF(Py_None
); resultobj
= Py_None
;
36331 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36332 PyObject
*resultobj
;
36333 wxSizer
*arg1
= (wxSizer
*) 0 ;
36338 PyObject
* obj0
= 0 ;
36339 PyObject
* obj1
= 0 ;
36340 PyObject
* obj2
= 0 ;
36341 PyObject
* obj3
= 0 ;
36342 PyObject
* obj4
= 0 ;
36343 char *kwnames
[] = {
36344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36350 arg2
= (int)SWIG_As_int(obj1
);
36351 if (PyErr_Occurred()) SWIG_fail
;
36352 arg3
= (int)SWIG_As_int(obj2
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36354 arg4
= (int)SWIG_As_int(obj3
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36356 arg5
= (int)SWIG_As_int(obj4
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 Py_INCREF(Py_None
); resultobj
= Py_None
;
36372 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
;
36374 wxSizer
*arg1
= (wxSizer
*) 0 ;
36377 PyObject
* obj0
= 0 ;
36378 PyObject
* obj1
= 0 ;
36379 char *kwnames
[] = {
36380 (char *) "self",(char *) "size", NULL
36383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 Py_INCREF(Py_None
); resultobj
= Py_None
;
36404 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
;
36406 wxSizer
*arg1
= (wxSizer
*) 0 ;
36408 PyObject
* obj0
= 0 ;
36409 char *kwnames
[] = {
36410 (char *) "self", NULL
36413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36418 result
= (arg1
)->GetSize();
36420 wxPyEndAllowThreads(__tstate
);
36421 if (PyErr_Occurred()) SWIG_fail
;
36424 wxSize
* resultptr
;
36425 resultptr
= new wxSize((wxSize
&) result
);
36426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36434 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36435 PyObject
*resultobj
;
36436 wxSizer
*arg1
= (wxSizer
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 char *kwnames
[] = {
36440 (char *) "self", NULL
36443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36448 result
= (arg1
)->GetPosition();
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36454 wxPoint
* resultptr
;
36455 resultptr
= new wxPoint((wxPoint
&) result
);
36456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36464 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
;
36466 wxSizer
*arg1
= (wxSizer
*) 0 ;
36468 PyObject
* obj0
= 0 ;
36469 char *kwnames
[] = {
36470 (char *) "self", NULL
36473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 result
= (arg1
)->GetMinSize();
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36484 wxSize
* resultptr
;
36485 resultptr
= new wxSize((wxSize
&) result
);
36486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36494 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
;
36496 wxSizer
*arg1
= (wxSizer
*) 0 ;
36497 PyObject
* obj0
= 0 ;
36498 char *kwnames
[] = {
36499 (char *) "self", NULL
36502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 (arg1
)->RecalcSizes();
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 Py_INCREF(Py_None
); resultobj
= Py_None
;
36519 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
;
36521 wxSizer
*arg1
= (wxSizer
*) 0 ;
36523 PyObject
* obj0
= 0 ;
36524 char *kwnames
[] = {
36525 (char *) "self", NULL
36528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (arg1
)->CalcMin();
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36539 wxSize
* resultptr
;
36540 resultptr
= new wxSize((wxSize
&) result
);
36541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36549 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36550 PyObject
*resultobj
;
36551 wxSizer
*arg1
= (wxSizer
*) 0 ;
36552 PyObject
* obj0
= 0 ;
36553 char *kwnames
[] = {
36554 (char *) "self", NULL
36557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 Py_INCREF(Py_None
); resultobj
= Py_None
;
36574 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
;
36576 wxSizer
*arg1
= (wxSizer
*) 0 ;
36577 wxWindow
*arg2
= (wxWindow
*) 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 char *kwnames
[] = {
36582 (char *) "self",(char *) "window", NULL
36585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 result
= (arg1
)->Fit(arg2
);
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36598 wxSize
* resultptr
;
36599 resultptr
= new wxSize((wxSize
&) result
);
36600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36608 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
;
36610 wxSizer
*arg1
= (wxSizer
*) 0 ;
36611 wxWindow
*arg2
= (wxWindow
*) 0 ;
36612 PyObject
* obj0
= 0 ;
36613 PyObject
* obj1
= 0 ;
36614 char *kwnames
[] = {
36615 (char *) "self",(char *) "window", NULL
36618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 (arg1
)->FitInside(arg2
);
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 Py_INCREF(Py_None
); resultobj
= Py_None
;
36637 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36638 PyObject
*resultobj
;
36639 wxSizer
*arg1
= (wxSizer
*) 0 ;
36640 wxWindow
*arg2
= (wxWindow
*) 0 ;
36641 PyObject
* obj0
= 0 ;
36642 PyObject
* obj1
= 0 ;
36643 char *kwnames
[] = {
36644 (char *) "self",(char *) "window", NULL
36647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->SetSizeHints(arg2
);
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 Py_INCREF(Py_None
); resultobj
= Py_None
;
36666 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
;
36668 wxSizer
*arg1
= (wxSizer
*) 0 ;
36669 wxWindow
*arg2
= (wxWindow
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36672 char *kwnames
[] = {
36673 (char *) "self",(char *) "window", NULL
36676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 (arg1
)->SetVirtualSizeHints(arg2
);
36685 wxPyEndAllowThreads(__tstate
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36688 Py_INCREF(Py_None
); resultobj
= Py_None
;
36695 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36696 PyObject
*resultobj
;
36697 wxSizer
*arg1
= (wxSizer
*) 0 ;
36698 bool arg2
= (bool) false ;
36699 PyObject
* obj0
= 0 ;
36700 PyObject
* obj1
= 0 ;
36701 char *kwnames
[] = {
36702 (char *) "self",(char *) "deleteWindows", NULL
36705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36709 arg2
= (bool)SWIG_As_bool(obj1
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36714 (arg1
)->Clear(arg2
);
36716 wxPyEndAllowThreads(__tstate
);
36717 if (PyErr_Occurred()) SWIG_fail
;
36719 Py_INCREF(Py_None
); resultobj
= Py_None
;
36726 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36727 PyObject
*resultobj
;
36728 wxSizer
*arg1
= (wxSizer
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 char *kwnames
[] = {
36731 (char *) "self", NULL
36734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 (arg1
)->DeleteWindows();
36741 wxPyEndAllowThreads(__tstate
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36744 Py_INCREF(Py_None
); resultobj
= Py_None
;
36751 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
;
36753 wxSizer
*arg1
= (wxSizer
*) 0 ;
36755 PyObject
* obj0
= 0 ;
36756 char *kwnames
[] = {
36757 (char *) "self", NULL
36760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36767 wxPyEndAllowThreads(__tstate
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36770 resultobj
= result
;
36777 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
;
36779 wxSizer
*arg1
= (wxSizer
*) 0 ;
36780 PyObject
*arg2
= (PyObject
*) 0 ;
36781 bool arg3
= (bool) true ;
36782 bool arg4
= (bool) false ;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 PyObject
* obj3
= 0 ;
36788 char *kwnames
[] = {
36789 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36797 arg3
= (bool)SWIG_As_bool(obj2
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36801 arg4
= (bool)SWIG_As_bool(obj3
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36820 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxSizer
*arg1
= (wxSizer
*) 0 ;
36823 PyObject
*arg2
= (PyObject
*) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char *kwnames
[] = {
36828 (char *) "self",(char *) "item", NULL
36831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36837 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36851 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
;
36853 wxSizer
*arg1
= (wxSizer
*) 0 ;
36855 PyObject
* obj0
= 0 ;
36856 PyObject
* obj1
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self",(char *) "show", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36864 arg2
= (bool)SWIG_As_bool(obj1
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36868 (arg1
)->ShowItems(arg2
);
36870 wxPyEndAllowThreads(__tstate
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36873 Py_INCREF(Py_None
); resultobj
= Py_None
;
36880 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36883 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36885 return Py_BuildValue((char *)"");
36887 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
;
36890 char *kwnames
[] = {
36894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 result
= (wxPySizer
*)new wxPySizer();
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36909 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36910 PyObject
*resultobj
;
36911 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36912 PyObject
*arg2
= (PyObject
*) 0 ;
36913 PyObject
*arg3
= (PyObject
*) 0 ;
36914 PyObject
* obj0
= 0 ;
36915 PyObject
* obj1
= 0 ;
36916 PyObject
* obj2
= 0 ;
36917 char *kwnames
[] = {
36918 (char *) "self",(char *) "self",(char *) "_class", NULL
36921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 Py_INCREF(Py_None
); resultobj
= Py_None
;
36940 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36943 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36945 return Py_BuildValue((char *)"");
36947 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36948 PyObject
*resultobj
;
36949 int arg1
= (int) wxHORIZONTAL
;
36950 wxBoxSizer
*result
;
36951 PyObject
* obj0
= 0 ;
36952 char *kwnames
[] = {
36953 (char *) "orient", NULL
36956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36958 arg1
= (int)SWIG_As_int(obj0
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36963 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36965 wxPyEndAllowThreads(__tstate
);
36966 if (PyErr_Occurred()) SWIG_fail
;
36968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36975 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36976 PyObject
*resultobj
;
36977 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36979 PyObject
* obj0
= 0 ;
36980 char *kwnames
[] = {
36981 (char *) "self", NULL
36984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36989 result
= (int)(arg1
)->GetOrientation();
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_From_int((int)result
);
37001 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
;
37003 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37005 PyObject
* obj0
= 0 ;
37006 PyObject
* obj1
= 0 ;
37007 char *kwnames
[] = {
37008 (char *) "self",(char *) "orient", NULL
37011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37014 arg2
= (int)SWIG_As_int(obj1
);
37015 if (PyErr_Occurred()) SWIG_fail
;
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 (arg1
)->SetOrientation(arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 Py_INCREF(Py_None
); resultobj
= Py_None
;
37030 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37033 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37035 return Py_BuildValue((char *)"");
37037 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
;
37039 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37040 int arg2
= (int) wxHORIZONTAL
;
37041 wxStaticBoxSizer
*result
;
37042 PyObject
* obj0
= 0 ;
37043 PyObject
* obj1
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "box",(char *) "orient", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37052 arg2
= (int)SWIG_As_int(obj1
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37069 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37072 wxStaticBox
*result
;
37073 PyObject
* obj0
= 0 ;
37074 char *kwnames
[] = {
37075 (char *) "self", NULL
37078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37089 resultobj
= wxPyMake_wxObject(result
, 0);
37097 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37102 return Py_BuildValue((char *)"");
37104 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 int arg1
= (int) 1 ;
37107 int arg2
= (int) 0 ;
37108 int arg3
= (int) 0 ;
37109 int arg4
= (int) 0 ;
37110 wxGridSizer
*result
;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 PyObject
* obj2
= 0 ;
37114 PyObject
* obj3
= 0 ;
37115 char *kwnames
[] = {
37116 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37121 arg1
= (int)SWIG_As_int(obj0
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37125 arg2
= (int)SWIG_As_int(obj1
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37129 arg3
= (int)SWIG_As_int(obj2
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37133 arg4
= (int)SWIG_As_int(obj3
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37150 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37154 PyObject
* obj0
= 0 ;
37155 PyObject
* obj1
= 0 ;
37156 char *kwnames
[] = {
37157 (char *) "self",(char *) "cols", NULL
37160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37163 arg2
= (int)SWIG_As_int(obj1
);
37164 if (PyErr_Occurred()) SWIG_fail
;
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 (arg1
)->SetCols(arg2
);
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 Py_INCREF(Py_None
); resultobj
= Py_None
;
37179 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
;
37181 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 char *kwnames
[] = {
37186 (char *) "self",(char *) "rows", NULL
37189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37192 arg2
= (int)SWIG_As_int(obj1
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 (arg1
)->SetRows(arg2
);
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 Py_INCREF(Py_None
); resultobj
= Py_None
;
37208 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37209 PyObject
*resultobj
;
37210 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37212 PyObject
* obj0
= 0 ;
37213 PyObject
* obj1
= 0 ;
37214 char *kwnames
[] = {
37215 (char *) "self",(char *) "gap", NULL
37218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37221 arg2
= (int)SWIG_As_int(obj1
);
37222 if (PyErr_Occurred()) SWIG_fail
;
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 (arg1
)->SetVGap(arg2
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 Py_INCREF(Py_None
); resultobj
= Py_None
;
37237 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
;
37239 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 char *kwnames
[] = {
37244 (char *) "self",(char *) "gap", NULL
37247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37250 arg2
= (int)SWIG_As_int(obj1
);
37251 if (PyErr_Occurred()) SWIG_fail
;
37253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37254 (arg1
)->SetHGap(arg2
);
37256 wxPyEndAllowThreads(__tstate
);
37257 if (PyErr_Occurred()) SWIG_fail
;
37259 Py_INCREF(Py_None
); resultobj
= Py_None
;
37266 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37267 PyObject
*resultobj
;
37268 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37270 PyObject
* obj0
= 0 ;
37271 char *kwnames
[] = {
37272 (char *) "self", NULL
37275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 result
= (int)(arg1
)->GetCols();
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= SWIG_From_int((int)result
);
37292 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37293 PyObject
*resultobj
;
37294 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37296 PyObject
* obj0
= 0 ;
37297 char *kwnames
[] = {
37298 (char *) "self", NULL
37301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 result
= (int)(arg1
)->GetRows();
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37311 resultobj
= SWIG_From_int((int)result
);
37318 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
;
37320 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37322 PyObject
* obj0
= 0 ;
37323 char *kwnames
[] = {
37324 (char *) "self", NULL
37327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 result
= (int)(arg1
)->GetVGap();
37334 wxPyEndAllowThreads(__tstate
);
37335 if (PyErr_Occurred()) SWIG_fail
;
37337 resultobj
= SWIG_From_int((int)result
);
37344 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37345 PyObject
*resultobj
;
37346 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37348 PyObject
* obj0
= 0 ;
37349 char *kwnames
[] = {
37350 (char *) "self", NULL
37353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37358 result
= (int)(arg1
)->GetHGap();
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37363 resultobj
= SWIG_From_int((int)result
);
37370 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37373 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37375 return Py_BuildValue((char *)"");
37377 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
;
37379 int arg1
= (int) 1 ;
37380 int arg2
= (int) 0 ;
37381 int arg3
= (int) 0 ;
37382 int arg4
= (int) 0 ;
37383 wxFlexGridSizer
*result
;
37384 PyObject
* obj0
= 0 ;
37385 PyObject
* obj1
= 0 ;
37386 PyObject
* obj2
= 0 ;
37387 PyObject
* obj3
= 0 ;
37388 char *kwnames
[] = {
37389 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37394 arg1
= (int)SWIG_As_int(obj0
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37398 arg2
= (int)SWIG_As_int(obj1
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37402 arg3
= (int)SWIG_As_int(obj2
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37406 arg4
= (int)SWIG_As_int(obj3
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37423 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37424 PyObject
*resultobj
;
37425 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37427 int arg3
= (int) 0 ;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37430 PyObject
* obj2
= 0 ;
37431 char *kwnames
[] = {
37432 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37438 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37441 arg3
= (int)SWIG_As_int(obj2
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 (arg1
)->AddGrowableRow(arg2
,arg3
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 Py_INCREF(Py_None
); resultobj
= Py_None
;
37458 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37462 PyObject
* obj0
= 0 ;
37463 PyObject
* obj1
= 0 ;
37464 char *kwnames
[] = {
37465 (char *) "self",(char *) "idx", NULL
37468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37471 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37475 (arg1
)->RemoveGrowableRow(arg2
);
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37480 Py_INCREF(Py_None
); resultobj
= Py_None
;
37487 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37488 PyObject
*resultobj
;
37489 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37491 int arg3
= (int) 0 ;
37492 PyObject
* obj0
= 0 ;
37493 PyObject
* obj1
= 0 ;
37494 PyObject
* obj2
= 0 ;
37495 char *kwnames
[] = {
37496 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37502 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37505 arg3
= (int)SWIG_As_int(obj2
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 (arg1
)->AddGrowableCol(arg2
,arg3
);
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37515 Py_INCREF(Py_None
); resultobj
= Py_None
;
37522 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
;
37524 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 char *kwnames
[] = {
37529 (char *) "self",(char *) "idx", NULL
37532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37535 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37536 if (PyErr_Occurred()) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 (arg1
)->RemoveGrowableCol(arg2
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 Py_INCREF(Py_None
); resultobj
= Py_None
;
37551 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
;
37553 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37555 PyObject
* obj0
= 0 ;
37556 PyObject
* obj1
= 0 ;
37557 char *kwnames
[] = {
37558 (char *) "self",(char *) "direction", NULL
37561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37564 arg2
= (int)SWIG_As_int(obj1
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37568 (arg1
)->SetFlexibleDirection(arg2
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 Py_INCREF(Py_None
); resultobj
= Py_None
;
37580 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
;
37582 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37584 PyObject
* obj0
= 0 ;
37585 char *kwnames
[] = {
37586 (char *) "self", NULL
37589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (int)(arg1
)->GetFlexibleDirection();
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= SWIG_From_int((int)result
);
37606 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
;
37608 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37610 PyObject
* obj0
= 0 ;
37611 PyObject
* obj1
= 0 ;
37612 char *kwnames
[] = {
37613 (char *) "self",(char *) "mode", NULL
37616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37619 arg2
= (int)SWIG_As_int(obj1
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 Py_INCREF(Py_None
); resultobj
= Py_None
;
37635 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
;
37637 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37639 PyObject
* obj0
= 0 ;
37640 char *kwnames
[] = {
37641 (char *) "self", NULL
37644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37654 resultobj
= SWIG_From_int((int)result
);
37661 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37662 PyObject
*resultobj
;
37663 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37664 wxArrayInt
*result
;
37665 PyObject
* obj0
= 0 ;
37666 char *kwnames
[] = {
37667 (char *) "self", NULL
37670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37677 result
= (wxArrayInt
*) &_result_ref
;
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37684 resultobj
= PyList_New(0);
37686 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37687 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37688 PyList_Append(resultobj
, val
);
37698 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37699 PyObject
*resultobj
;
37700 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37701 wxArrayInt
*result
;
37702 PyObject
* obj0
= 0 ;
37703 char *kwnames
[] = {
37704 (char *) "self", NULL
37707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37714 result
= (wxArrayInt
*) &_result_ref
;
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37721 resultobj
= PyList_New(0);
37723 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37724 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37725 PyList_Append(resultobj
, val
);
37735 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37738 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37740 return Py_BuildValue((char *)"");
37742 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37743 PyObject
*resultobj
;
37744 int arg1
= (int) 0 ;
37745 int arg2
= (int) 0 ;
37746 wxGBPosition
*result
;
37747 PyObject
* obj0
= 0 ;
37748 PyObject
* obj1
= 0 ;
37749 char *kwnames
[] = {
37750 (char *) "row",(char *) "col", NULL
37753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37755 arg1
= (int)SWIG_As_int(obj0
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37759 arg2
= (int)SWIG_As_int(obj1
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37776 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37777 PyObject
*resultobj
;
37778 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37780 PyObject
* obj0
= 0 ;
37781 char *kwnames
[] = {
37782 (char *) "self", NULL
37785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= SWIG_From_int((int)result
);
37802 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37803 PyObject
*resultobj
;
37804 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37806 PyObject
* obj0
= 0 ;
37807 char *kwnames
[] = {
37808 (char *) "self", NULL
37811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37816 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37818 wxPyEndAllowThreads(__tstate
);
37819 if (PyErr_Occurred()) SWIG_fail
;
37821 resultobj
= SWIG_From_int((int)result
);
37828 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37829 PyObject
*resultobj
;
37830 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37832 PyObject
* obj0
= 0 ;
37833 PyObject
* obj1
= 0 ;
37834 char *kwnames
[] = {
37835 (char *) "self",(char *) "row", NULL
37838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37841 arg2
= (int)SWIG_As_int(obj1
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37845 (arg1
)->SetRow(arg2
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37850 Py_INCREF(Py_None
); resultobj
= Py_None
;
37857 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37858 PyObject
*resultobj
;
37859 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 char *kwnames
[] = {
37864 (char *) "self",(char *) "col", NULL
37867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37870 arg2
= (int)SWIG_As_int(obj1
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 (arg1
)->SetCol(arg2
);
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 Py_INCREF(Py_None
); resultobj
= Py_None
;
37886 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37887 PyObject
*resultobj
;
37888 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37889 wxGBPosition
*arg2
= 0 ;
37891 wxGBPosition temp2
;
37892 PyObject
* obj0
= 0 ;
37893 PyObject
* obj1
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "self",(char *) "other", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37903 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37907 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37921 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37923 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37924 wxGBPosition
*arg2
= 0 ;
37926 wxGBPosition temp2
;
37927 PyObject
* obj0
= 0 ;
37928 PyObject
* obj1
= 0 ;
37929 char *kwnames
[] = {
37930 (char *) "self",(char *) "other", NULL
37933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37938 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37944 wxPyEndAllowThreads(__tstate
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37956 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
;
37958 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37959 int arg2
= (int) 0 ;
37960 int arg3
= (int) 0 ;
37961 PyObject
* obj0
= 0 ;
37962 PyObject
* obj1
= 0 ;
37963 PyObject
* obj2
= 0 ;
37964 char *kwnames
[] = {
37965 (char *) "self",(char *) "row",(char *) "col", NULL
37968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37972 arg2
= (int)SWIG_As_int(obj1
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37976 arg3
= (int)SWIG_As_int(obj2
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37981 wxGBPosition_Set(arg1
,arg2
,arg3
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 Py_INCREF(Py_None
); resultobj
= Py_None
;
37993 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
;
37995 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37997 PyObject
* obj0
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38007 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38009 wxPyEndAllowThreads(__tstate
);
38010 if (PyErr_Occurred()) SWIG_fail
;
38012 resultobj
= result
;
38019 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38022 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38024 return Py_BuildValue((char *)"");
38026 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38027 PyObject
*resultobj
;
38028 int arg1
= (int) 1 ;
38029 int arg2
= (int) 1 ;
38031 PyObject
* obj0
= 0 ;
38032 PyObject
* obj1
= 0 ;
38033 char *kwnames
[] = {
38034 (char *) "rowspan",(char *) "colspan", NULL
38037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38039 arg1
= (int)SWIG_As_int(obj0
);
38040 if (PyErr_Occurred()) SWIG_fail
;
38043 arg2
= (int)SWIG_As_int(obj1
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38048 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38050 wxPyEndAllowThreads(__tstate
);
38051 if (PyErr_Occurred()) SWIG_fail
;
38053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38060 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38061 PyObject
*resultobj
;
38062 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38064 PyObject
* obj0
= 0 ;
38065 char *kwnames
[] = {
38066 (char *) "self", NULL
38069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= SWIG_From_int((int)result
);
38086 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
;
38088 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38090 PyObject
* obj0
= 0 ;
38091 char *kwnames
[] = {
38092 (char *) "self", NULL
38095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38105 resultobj
= SWIG_From_int((int)result
);
38112 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38113 PyObject
*resultobj
;
38114 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38116 PyObject
* obj0
= 0 ;
38117 PyObject
* obj1
= 0 ;
38118 char *kwnames
[] = {
38119 (char *) "self",(char *) "rowspan", NULL
38122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38125 arg2
= (int)SWIG_As_int(obj1
);
38126 if (PyErr_Occurred()) SWIG_fail
;
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 (arg1
)->SetRowspan(arg2
);
38131 wxPyEndAllowThreads(__tstate
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38134 Py_INCREF(Py_None
); resultobj
= Py_None
;
38141 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38142 PyObject
*resultobj
;
38143 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38145 PyObject
* obj0
= 0 ;
38146 PyObject
* obj1
= 0 ;
38147 char *kwnames
[] = {
38148 (char *) "self",(char *) "colspan", NULL
38151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38154 arg2
= (int)SWIG_As_int(obj1
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 (arg1
)->SetColspan(arg2
);
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38163 Py_INCREF(Py_None
); resultobj
= Py_None
;
38170 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38171 PyObject
*resultobj
;
38172 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38173 wxGBSpan
*arg2
= 0 ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "self",(char *) "other", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38187 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38205 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
;
38207 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38208 wxGBSpan
*arg2
= 0 ;
38211 PyObject
* obj0
= 0 ;
38212 PyObject
* obj1
= 0 ;
38213 char *kwnames
[] = {
38214 (char *) "self",(char *) "other", NULL
38217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38222 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38240 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38241 PyObject
*resultobj
;
38242 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38243 int arg2
= (int) 1 ;
38244 int arg3
= (int) 1 ;
38245 PyObject
* obj0
= 0 ;
38246 PyObject
* obj1
= 0 ;
38247 PyObject
* obj2
= 0 ;
38248 char *kwnames
[] = {
38249 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 arg2
= (int)SWIG_As_int(obj1
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38260 arg3
= (int)SWIG_As_int(obj2
);
38261 if (PyErr_Occurred()) SWIG_fail
;
38264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38265 wxGBSpan_Set(arg1
,arg2
,arg3
);
38267 wxPyEndAllowThreads(__tstate
);
38268 if (PyErr_Occurred()) SWIG_fail
;
38270 Py_INCREF(Py_None
); resultobj
= Py_None
;
38277 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38278 PyObject
*resultobj
;
38279 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38281 PyObject
* obj0
= 0 ;
38282 char *kwnames
[] = {
38283 (char *) "self", NULL
38286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= result
;
38303 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38306 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38308 return Py_BuildValue((char *)"");
38310 static int _wrap_DefaultSpan_set(PyObject
*) {
38311 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38316 static PyObject
*_wrap_DefaultSpan_get() {
38319 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38324 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38325 PyObject
*resultobj
;
38326 wxGBSizerItem
*result
;
38327 char *kwnames
[] = {
38331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38346 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
;
38348 wxWindow
*arg1
= (wxWindow
*) 0 ;
38349 wxGBPosition
*arg2
= 0 ;
38350 wxGBSpan
*arg3
= 0 ;
38353 PyObject
*arg6
= (PyObject
*) NULL
;
38354 wxGBSizerItem
*result
;
38355 wxGBPosition temp2
;
38357 PyObject
* obj0
= 0 ;
38358 PyObject
* obj1
= 0 ;
38359 PyObject
* obj2
= 0 ;
38360 PyObject
* obj3
= 0 ;
38361 PyObject
* obj4
= 0 ;
38362 PyObject
* obj5
= 0 ;
38363 char *kwnames
[] = {
38364 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38372 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38376 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38378 arg4
= (int)SWIG_As_int(obj3
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38380 arg5
= (int)SWIG_As_int(obj4
);
38381 if (PyErr_Occurred()) SWIG_fail
;
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38399 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38400 PyObject
*resultobj
;
38401 wxSizer
*arg1
= (wxSizer
*) 0 ;
38402 wxGBPosition
*arg2
= 0 ;
38403 wxGBSpan
*arg3
= 0 ;
38406 PyObject
*arg6
= (PyObject
*) NULL
;
38407 wxGBSizerItem
*result
;
38408 wxGBPosition temp2
;
38410 PyObject
* obj0
= 0 ;
38411 PyObject
* obj1
= 0 ;
38412 PyObject
* obj2
= 0 ;
38413 PyObject
* obj3
= 0 ;
38414 PyObject
* obj4
= 0 ;
38415 PyObject
* obj5
= 0 ;
38416 char *kwnames
[] = {
38417 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38425 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38429 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38431 arg4
= (int)SWIG_As_int(obj3
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38433 arg5
= (int)SWIG_As_int(obj4
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38440 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38452 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38453 PyObject
*resultobj
;
38456 wxGBPosition
*arg3
= 0 ;
38457 wxGBSpan
*arg4
= 0 ;
38460 PyObject
*arg7
= (PyObject
*) NULL
;
38461 wxGBSizerItem
*result
;
38462 wxGBPosition temp3
;
38464 PyObject
* obj0
= 0 ;
38465 PyObject
* obj1
= 0 ;
38466 PyObject
* obj2
= 0 ;
38467 PyObject
* obj3
= 0 ;
38468 PyObject
* obj4
= 0 ;
38469 PyObject
* obj5
= 0 ;
38470 PyObject
* obj6
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38476 arg1
= (int)SWIG_As_int(obj0
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38478 arg2
= (int)SWIG_As_int(obj1
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38482 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38486 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38488 arg5
= (int)SWIG_As_int(obj4
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38490 arg6
= (int)SWIG_As_int(obj5
);
38491 if (PyErr_Occurred()) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38509 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
;
38511 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38512 wxGBPosition result
;
38513 PyObject
* obj0
= 0 ;
38514 char *kwnames
[] = {
38515 (char *) "self", NULL
38518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38529 wxGBPosition
* resultptr
;
38530 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38539 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 char *kwnames
[] = {
38545 (char *) "self", NULL
38548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38559 wxGBSpan
* resultptr
;
38560 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38569 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38570 PyObject
*resultobj
;
38571 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38572 wxGBPosition
*arg2
= 0 ;
38574 wxGBPosition temp2
;
38575 PyObject
* obj0
= 0 ;
38576 PyObject
* obj1
= 0 ;
38577 char *kwnames
[] = {
38578 (char *) "self",(char *) "pos", NULL
38581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38586 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38592 wxPyEndAllowThreads(__tstate
);
38593 if (PyErr_Occurred()) SWIG_fail
;
38596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38604 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
;
38606 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38607 wxGBSpan
*arg2
= 0 ;
38610 PyObject
* obj0
= 0 ;
38611 PyObject
* obj1
= 0 ;
38612 char *kwnames
[] = {
38613 (char *) "self",(char *) "span", NULL
38616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38621 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38639 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38640 PyObject
*resultobj
;
38641 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38642 wxGBSizerItem
*arg2
= 0 ;
38644 PyObject
* obj0
= 0 ;
38645 PyObject
* obj1
= 0 ;
38646 char *kwnames
[] = {
38647 (char *) "self",(char *) "other", NULL
38650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38656 if (arg2
== NULL
) {
38657 PyErr_SetString(PyExc_TypeError
,"null reference");
38661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38662 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38664 wxPyEndAllowThreads(__tstate
);
38665 if (PyErr_Occurred()) SWIG_fail
;
38668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38676 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38677 PyObject
*resultobj
;
38678 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38679 wxGBPosition
*arg2
= 0 ;
38680 wxGBSpan
*arg3
= 0 ;
38682 wxGBPosition temp2
;
38684 PyObject
* obj0
= 0 ;
38685 PyObject
* obj1
= 0 ;
38686 PyObject
* obj2
= 0 ;
38687 char *kwnames
[] = {
38688 (char *) "self",(char *) "pos",(char *) "span", NULL
38691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38696 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38700 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38704 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38706 wxPyEndAllowThreads(__tstate
);
38707 if (PyErr_Occurred()) SWIG_fail
;
38710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38718 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38721 wxGBPosition result
;
38722 PyObject
* obj0
= 0 ;
38723 char *kwnames
[] = {
38724 (char *) "self", NULL
38727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38732 result
= wxGBSizerItem_GetEndPos(arg1
);
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38738 wxGBPosition
* resultptr
;
38739 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38748 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38749 PyObject
*resultobj
;
38750 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38751 wxGridBagSizer
*result
;
38752 PyObject
* obj0
= 0 ;
38753 char *kwnames
[] = {
38754 (char *) "self", NULL
38757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38762 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38764 wxPyEndAllowThreads(__tstate
);
38765 if (PyErr_Occurred()) SWIG_fail
;
38767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38774 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38775 PyObject
*resultobj
;
38776 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38777 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 char *kwnames
[] = {
38781 (char *) "self",(char *) "sizer", NULL
38784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38791 (arg1
)->SetGBSizer(arg2
);
38793 wxPyEndAllowThreads(__tstate
);
38794 if (PyErr_Occurred()) SWIG_fail
;
38796 Py_INCREF(Py_None
); resultobj
= Py_None
;
38803 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38806 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38808 return Py_BuildValue((char *)"");
38810 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38811 PyObject
*resultobj
;
38812 int arg1
= (int) 0 ;
38813 int arg2
= (int) 0 ;
38814 wxGridBagSizer
*result
;
38815 PyObject
* obj0
= 0 ;
38816 PyObject
* obj1
= 0 ;
38817 char *kwnames
[] = {
38818 (char *) "vgap",(char *) "hgap", NULL
38821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38823 arg1
= (int)SWIG_As_int(obj0
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38827 arg2
= (int)SWIG_As_int(obj1
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38832 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38834 wxPyEndAllowThreads(__tstate
);
38835 if (PyErr_Occurred()) SWIG_fail
;
38837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38844 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
;
38846 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38847 PyObject
*arg2
= (PyObject
*) 0 ;
38848 wxGBPosition
*arg3
= 0 ;
38849 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38850 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38851 int arg5
= (int) 0 ;
38852 int arg6
= (int) 0 ;
38853 PyObject
*arg7
= (PyObject
*) NULL
;
38855 wxGBPosition temp3
;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 PyObject
* obj2
= 0 ;
38860 PyObject
* obj3
= 0 ;
38861 PyObject
* obj4
= 0 ;
38862 PyObject
* obj5
= 0 ;
38863 PyObject
* obj6
= 0 ;
38864 char *kwnames
[] = {
38865 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38874 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38879 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38883 arg5
= (int)SWIG_As_int(obj4
);
38884 if (PyErr_Occurred()) SWIG_fail
;
38887 arg6
= (int)SWIG_As_int(obj5
);
38888 if (PyErr_Occurred()) SWIG_fail
;
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38909 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
;
38911 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38912 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38914 PyObject
* obj0
= 0 ;
38915 PyObject
* obj1
= 0 ;
38916 char *kwnames
[] = {
38917 (char *) "self",(char *) "item", NULL
38920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38927 result
= (bool)(arg1
)->Add(arg2
);
38929 wxPyEndAllowThreads(__tstate
);
38930 if (PyErr_Occurred()) SWIG_fail
;
38933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38941 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38942 PyObject
*resultobj
;
38943 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38947 PyObject
* obj0
= 0 ;
38948 PyObject
* obj1
= 0 ;
38949 PyObject
* obj2
= 0 ;
38950 char *kwnames
[] = {
38951 (char *) "self",(char *) "row",(char *) "col", NULL
38954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38957 arg2
= (int)SWIG_As_int(obj1
);
38958 if (PyErr_Occurred()) SWIG_fail
;
38959 arg3
= (int)SWIG_As_int(obj2
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38963 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38965 wxPyEndAllowThreads(__tstate
);
38966 if (PyErr_Occurred()) SWIG_fail
;
38969 wxSize
* resultptr
;
38970 resultptr
= new wxSize((wxSize
&) result
);
38971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38979 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38980 PyObject
*resultobj
;
38981 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38983 PyObject
* obj0
= 0 ;
38984 char *kwnames
[] = {
38985 (char *) "self", NULL
38988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38993 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38995 wxPyEndAllowThreads(__tstate
);
38996 if (PyErr_Occurred()) SWIG_fail
;
38999 wxSize
* resultptr
;
39000 resultptr
= new wxSize((wxSize
&) result
);
39001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39009 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39010 PyObject
*resultobj
;
39011 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39014 PyObject
* obj0
= 0 ;
39015 PyObject
* obj1
= 0 ;
39016 char *kwnames
[] = {
39017 (char *) "self",(char *) "sz", NULL
39020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39029 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 Py_INCREF(Py_None
); resultobj
= Py_None
;
39041 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39042 PyObject
*resultobj
;
39043 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39044 wxWindow
*arg2
= (wxWindow
*) 0 ;
39045 wxGBPosition result
;
39046 PyObject
* obj0
= 0 ;
39047 PyObject
* obj1
= 0 ;
39049 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39056 result
= (arg1
)->GetItemPosition(arg2
);
39058 wxPyEndAllowThreads(__tstate
);
39059 if (PyErr_Occurred()) SWIG_fail
;
39062 wxGBPosition
* resultptr
;
39063 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39072 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39073 PyObject
*resultobj
;
39074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39075 wxSizer
*arg2
= (wxSizer
*) 0 ;
39076 wxGBPosition result
;
39077 PyObject
* obj0
= 0 ;
39078 PyObject
* obj1
= 0 ;
39080 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39087 result
= (arg1
)->GetItemPosition(arg2
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39093 wxGBPosition
* resultptr
;
39094 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39103 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39104 PyObject
*resultobj
;
39105 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39107 wxGBPosition result
;
39108 PyObject
* obj0
= 0 ;
39109 PyObject
* obj1
= 0 ;
39111 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39114 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39115 if (PyErr_Occurred()) SWIG_fail
;
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 result
= (arg1
)->GetItemPosition(arg2
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39124 wxGBPosition
* resultptr
;
39125 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39134 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39139 argc
= PyObject_Length(args
);
39140 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39141 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39157 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39165 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39173 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39183 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39191 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39199 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39207 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39209 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39214 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39219 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39220 PyObject
*resultobj
;
39221 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39222 wxWindow
*arg2
= (wxWindow
*) 0 ;
39223 wxGBPosition
*arg3
= 0 ;
39225 wxGBPosition temp3
;
39226 PyObject
* obj0
= 0 ;
39227 PyObject
* obj1
= 0 ;
39228 PyObject
* obj2
= 0 ;
39230 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39237 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39241 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39255 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39256 PyObject
*resultobj
;
39257 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39258 wxSizer
*arg2
= (wxSizer
*) 0 ;
39259 wxGBPosition
*arg3
= 0 ;
39261 wxGBPosition temp3
;
39262 PyObject
* obj0
= 0 ;
39263 PyObject
* obj1
= 0 ;
39264 PyObject
* obj2
= 0 ;
39266 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39273 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39291 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39292 PyObject
*resultobj
;
39293 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39295 wxGBPosition
*arg3
= 0 ;
39297 wxGBPosition temp3
;
39298 PyObject
* obj0
= 0 ;
39299 PyObject
* obj1
= 0 ;
39300 PyObject
* obj2
= 0 ;
39302 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39305 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39309 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39313 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39315 wxPyEndAllowThreads(__tstate
);
39316 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39327 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39332 argc
= PyObject_Length(args
);
39333 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39334 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39340 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39350 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39359 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39362 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39371 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39381 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39390 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39393 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39410 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39413 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39416 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39422 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39427 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39428 PyObject
*resultobj
;
39429 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39430 wxWindow
*arg2
= (wxWindow
*) 0 ;
39432 PyObject
* obj0
= 0 ;
39433 PyObject
* obj1
= 0 ;
39435 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39442 result
= (arg1
)->GetItemSpan(arg2
);
39444 wxPyEndAllowThreads(__tstate
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39448 wxGBSpan
* resultptr
;
39449 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39458 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39459 PyObject
*resultobj
;
39460 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39461 wxSizer
*arg2
= (wxSizer
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 PyObject
* obj1
= 0 ;
39466 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (arg1
)->GetItemSpan(arg2
);
39475 wxPyEndAllowThreads(__tstate
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39479 wxGBSpan
* resultptr
;
39480 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39489 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39490 PyObject
*resultobj
;
39491 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 PyObject
* obj1
= 0 ;
39497 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39500 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39501 if (PyErr_Occurred()) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (arg1
)->GetItemSpan(arg2
);
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39510 wxGBSpan
* resultptr
;
39511 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39520 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39525 argc
= PyObject_Length(args
);
39526 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39527 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39533 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39543 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39551 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39559 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39569 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39577 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39585 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39593 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39595 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39600 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39605 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39606 PyObject
*resultobj
;
39607 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39608 wxWindow
*arg2
= (wxWindow
*) 0 ;
39609 wxGBSpan
*arg3
= 0 ;
39612 PyObject
* obj0
= 0 ;
39613 PyObject
* obj1
= 0 ;
39614 PyObject
* obj2
= 0 ;
39616 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39623 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39641 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39642 PyObject
*resultobj
;
39643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39644 wxSizer
*arg2
= (wxSizer
*) 0 ;
39645 wxGBSpan
*arg3
= 0 ;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 PyObject
* obj2
= 0 ;
39652 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39659 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39663 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39665 wxPyEndAllowThreads(__tstate
);
39666 if (PyErr_Occurred()) SWIG_fail
;
39669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39677 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39678 PyObject
*resultobj
;
39679 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39681 wxGBSpan
*arg3
= 0 ;
39684 PyObject
* obj0
= 0 ;
39685 PyObject
* obj1
= 0 ;
39686 PyObject
* obj2
= 0 ;
39688 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39691 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39692 if (PyErr_Occurred()) SWIG_fail
;
39695 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39699 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39701 wxPyEndAllowThreads(__tstate
);
39702 if (PyErr_Occurred()) SWIG_fail
;
39705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39713 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39718 argc
= PyObject_Length(args
);
39719 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39720 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39736 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39745 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39748 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39757 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39767 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39776 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39779 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39788 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39796 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39799 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39802 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39808 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39813 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39814 PyObject
*resultobj
;
39815 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39816 wxWindow
*arg2
= (wxWindow
*) 0 ;
39817 wxGBSizerItem
*result
;
39818 PyObject
* obj0
= 0 ;
39819 PyObject
* obj1
= 0 ;
39821 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39840 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39841 PyObject
*resultobj
;
39842 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39843 wxSizer
*arg2
= (wxSizer
*) 0 ;
39844 wxGBSizerItem
*result
;
39845 PyObject
* obj0
= 0 ;
39846 PyObject
* obj1
= 0 ;
39848 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39855 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39857 wxPyEndAllowThreads(__tstate
);
39858 if (PyErr_Occurred()) SWIG_fail
;
39860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39867 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39872 argc
= PyObject_Length(args
);
39873 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39890 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39898 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39906 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39916 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39924 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39929 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39934 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39935 PyObject
*resultobj
;
39936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39937 wxGBPosition
*arg2
= 0 ;
39938 wxGBSizerItem
*result
;
39939 wxGBPosition temp2
;
39940 PyObject
* obj0
= 0 ;
39941 PyObject
* obj1
= 0 ;
39942 char *kwnames
[] = {
39943 (char *) "self",(char *) "pos", NULL
39946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39951 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39967 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39968 PyObject
*resultobj
;
39969 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39970 wxPoint
*arg2
= 0 ;
39971 wxGBSizerItem
*result
;
39973 PyObject
* obj0
= 0 ;
39974 PyObject
* obj1
= 0 ;
39975 char *kwnames
[] = {
39976 (char *) "self",(char *) "pt", NULL
39979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39988 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40000 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40001 PyObject
*resultobj
;
40002 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40003 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40004 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40006 PyObject
* obj0
= 0 ;
40007 PyObject
* obj1
= 0 ;
40008 PyObject
* obj2
= 0 ;
40009 char *kwnames
[] = {
40010 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40019 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40024 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40026 wxPyEndAllowThreads(__tstate
);
40027 if (PyErr_Occurred()) SWIG_fail
;
40030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40038 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40039 PyObject
*resultobj
;
40040 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40041 wxGBPosition
*arg2
= 0 ;
40042 wxGBSpan
*arg3
= 0 ;
40043 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40045 wxGBPosition temp2
;
40047 PyObject
* obj0
= 0 ;
40048 PyObject
* obj1
= 0 ;
40049 PyObject
* obj2
= 0 ;
40050 PyObject
* obj3
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40060 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40064 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40067 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40072 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40074 wxPyEndAllowThreads(__tstate
);
40075 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40086 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40089 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40091 return Py_BuildValue((char *)"");
40093 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40095 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40097 wxWindow
*arg3
= (wxWindow
*) 0 ;
40099 int arg5
= (int) 0 ;
40100 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40101 PyObject
* obj0
= 0 ;
40102 PyObject
* obj1
= 0 ;
40103 PyObject
* obj2
= 0 ;
40104 PyObject
* obj3
= 0 ;
40105 PyObject
* obj4
= 0 ;
40106 PyObject
* obj5
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40114 arg2
= (int)SWIG_As_int(obj1
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40116 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40118 arg4
= (int)SWIG_As_int(obj3
);
40119 if (PyErr_Occurred()) SWIG_fail
;
40121 arg5
= (int)SWIG_As_int(obj4
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40125 arg6
= (int)SWIG_As_int(obj5
);
40126 if (PyErr_Occurred()) SWIG_fail
;
40129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40130 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40132 wxPyEndAllowThreads(__tstate
);
40133 if (PyErr_Occurred()) SWIG_fail
;
40135 Py_INCREF(Py_None
); resultobj
= Py_None
;
40142 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40143 PyObject
*resultobj
;
40144 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40145 wxWindow
*arg2
= (wxWindow
*) 0 ;
40146 int arg3
= (int) 0 ;
40147 PyObject
* obj0
= 0 ;
40148 PyObject
* obj1
= 0 ;
40149 PyObject
* obj2
= 0 ;
40150 char *kwnames
[] = {
40151 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40160 arg3
= (int)SWIG_As_int(obj2
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 (arg1
)->LeftOf(arg2
,arg3
);
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40170 Py_INCREF(Py_None
); resultobj
= Py_None
;
40177 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40178 PyObject
*resultobj
;
40179 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40180 wxWindow
*arg2
= (wxWindow
*) 0 ;
40181 int arg3
= (int) 0 ;
40182 PyObject
* obj0
= 0 ;
40183 PyObject
* obj1
= 0 ;
40184 PyObject
* obj2
= 0 ;
40185 char *kwnames
[] = {
40186 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40195 arg3
= (int)SWIG_As_int(obj2
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 (arg1
)->RightOf(arg2
,arg3
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 Py_INCREF(Py_None
); resultobj
= Py_None
;
40212 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40215 wxWindow
*arg2
= (wxWindow
*) 0 ;
40216 int arg3
= (int) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 PyObject
* obj1
= 0 ;
40219 PyObject
* obj2
= 0 ;
40220 char *kwnames
[] = {
40221 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40230 arg3
= (int)SWIG_As_int(obj2
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40235 (arg1
)->Above(arg2
,arg3
);
40237 wxPyEndAllowThreads(__tstate
);
40238 if (PyErr_Occurred()) SWIG_fail
;
40240 Py_INCREF(Py_None
); resultobj
= Py_None
;
40247 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40248 PyObject
*resultobj
;
40249 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40250 wxWindow
*arg2
= (wxWindow
*) 0 ;
40251 int arg3
= (int) 0 ;
40252 PyObject
* obj0
= 0 ;
40253 PyObject
* obj1
= 0 ;
40254 PyObject
* obj2
= 0 ;
40255 char *kwnames
[] = {
40256 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40265 arg3
= (int)SWIG_As_int(obj2
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 (arg1
)->Below(arg2
,arg3
);
40272 wxPyEndAllowThreads(__tstate
);
40273 if (PyErr_Occurred()) SWIG_fail
;
40275 Py_INCREF(Py_None
); resultobj
= Py_None
;
40282 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40283 PyObject
*resultobj
;
40284 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40285 wxWindow
*arg2
= (wxWindow
*) 0 ;
40287 int arg4
= (int) 0 ;
40288 PyObject
* obj0
= 0 ;
40289 PyObject
* obj1
= 0 ;
40290 PyObject
* obj2
= 0 ;
40291 PyObject
* obj3
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40301 arg3
= (int)SWIG_As_int(obj2
);
40302 if (PyErr_Occurred()) SWIG_fail
;
40304 arg4
= (int)SWIG_As_int(obj3
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 Py_INCREF(Py_None
); resultobj
= Py_None
;
40321 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40324 wxWindow
*arg2
= (wxWindow
*) 0 ;
40327 PyObject
* obj0
= 0 ;
40328 PyObject
* obj1
= 0 ;
40329 PyObject
* obj2
= 0 ;
40330 PyObject
* obj3
= 0 ;
40331 char *kwnames
[] = {
40332 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40340 arg3
= (int)SWIG_As_int(obj2
);
40341 if (PyErr_Occurred()) SWIG_fail
;
40342 arg4
= (int)SWIG_As_int(obj3
);
40343 if (PyErr_Occurred()) SWIG_fail
;
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40348 wxPyEndAllowThreads(__tstate
);
40349 if (PyErr_Occurred()) SWIG_fail
;
40351 Py_INCREF(Py_None
); resultobj
= Py_None
;
40358 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40359 PyObject
*resultobj
;
40360 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40362 PyObject
* obj0
= 0 ;
40363 PyObject
* obj1
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self",(char *) "val", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 arg2
= (int)SWIG_As_int(obj1
);
40372 if (PyErr_Occurred()) SWIG_fail
;
40374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40375 (arg1
)->Absolute(arg2
);
40377 wxPyEndAllowThreads(__tstate
);
40378 if (PyErr_Occurred()) SWIG_fail
;
40380 Py_INCREF(Py_None
); resultobj
= Py_None
;
40387 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40388 PyObject
*resultobj
;
40389 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40390 PyObject
* obj0
= 0 ;
40391 char *kwnames
[] = {
40392 (char *) "self", NULL
40395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40400 (arg1
)->Unconstrained();
40402 wxPyEndAllowThreads(__tstate
);
40403 if (PyErr_Occurred()) SWIG_fail
;
40405 Py_INCREF(Py_None
); resultobj
= Py_None
;
40412 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40413 PyObject
*resultobj
;
40414 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40415 PyObject
* obj0
= 0 ;
40416 char *kwnames
[] = {
40417 (char *) "self", NULL
40420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40427 wxPyEndAllowThreads(__tstate
);
40428 if (PyErr_Occurred()) SWIG_fail
;
40430 Py_INCREF(Py_None
); resultobj
= Py_None
;
40437 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40438 PyObject
*resultobj
;
40439 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40441 PyObject
* obj0
= 0 ;
40442 char *kwnames
[] = {
40443 (char *) "self", NULL
40446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40451 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40453 wxPyEndAllowThreads(__tstate
);
40454 if (PyErr_Occurred()) SWIG_fail
;
40457 resultobj
= wxPyMake_wxObject(result
, 0);
40465 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40466 PyObject
*resultobj
;
40467 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40469 PyObject
* obj0
= 0 ;
40470 char *kwnames
[] = {
40471 (char *) "self", NULL
40474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40479 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40481 wxPyEndAllowThreads(__tstate
);
40482 if (PyErr_Occurred()) SWIG_fail
;
40484 resultobj
= SWIG_From_int((int)result
);
40491 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40493 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40495 PyObject
* obj0
= 0 ;
40496 PyObject
* obj1
= 0 ;
40497 char *kwnames
[] = {
40498 (char *) "self",(char *) "which", NULL
40501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40504 arg2
= (int)SWIG_As_int(obj1
);
40505 if (PyErr_Occurred()) SWIG_fail
;
40507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40508 (arg1
)->SetEdge((wxEdge
)arg2
);
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 Py_INCREF(Py_None
); resultobj
= Py_None
;
40520 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40521 PyObject
*resultobj
;
40522 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40524 PyObject
* obj0
= 0 ;
40525 PyObject
* obj1
= 0 ;
40526 char *kwnames
[] = {
40527 (char *) "self",(char *) "v", NULL
40530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40533 arg2
= (int)SWIG_As_int(obj1
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40537 (arg1
)->SetValue(arg2
);
40539 wxPyEndAllowThreads(__tstate
);
40540 if (PyErr_Occurred()) SWIG_fail
;
40542 Py_INCREF(Py_None
); resultobj
= Py_None
;
40549 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40550 PyObject
*resultobj
;
40551 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40553 PyObject
* obj0
= 0 ;
40554 char *kwnames
[] = {
40555 (char *) "self", NULL
40558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40563 result
= (int)(arg1
)->GetMargin();
40565 wxPyEndAllowThreads(__tstate
);
40566 if (PyErr_Occurred()) SWIG_fail
;
40568 resultobj
= SWIG_From_int((int)result
);
40575 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40576 PyObject
*resultobj
;
40577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40579 PyObject
* obj0
= 0 ;
40580 PyObject
* obj1
= 0 ;
40581 char *kwnames
[] = {
40582 (char *) "self",(char *) "m", NULL
40585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40588 arg2
= (int)SWIG_As_int(obj1
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40592 (arg1
)->SetMargin(arg2
);
40594 wxPyEndAllowThreads(__tstate
);
40595 if (PyErr_Occurred()) SWIG_fail
;
40597 Py_INCREF(Py_None
); resultobj
= Py_None
;
40604 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40605 PyObject
*resultobj
;
40606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40608 PyObject
* obj0
= 0 ;
40609 char *kwnames
[] = {
40610 (char *) "self", NULL
40613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40620 wxPyEndAllowThreads(__tstate
);
40621 if (PyErr_Occurred()) SWIG_fail
;
40623 resultobj
= SWIG_From_int((int)result
);
40630 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40631 PyObject
*resultobj
;
40632 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40634 PyObject
* obj0
= 0 ;
40635 char *kwnames
[] = {
40636 (char *) "self", NULL
40639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40644 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40649 resultobj
= SWIG_From_int((int)result
);
40656 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40657 PyObject
*resultobj
;
40658 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40660 PyObject
* obj0
= 0 ;
40661 char *kwnames
[] = {
40662 (char *) "self", NULL
40665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40670 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40672 wxPyEndAllowThreads(__tstate
);
40673 if (PyErr_Occurred()) SWIG_fail
;
40675 resultobj
= SWIG_From_int((int)result
);
40682 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40683 PyObject
*resultobj
;
40684 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40686 PyObject
* obj0
= 0 ;
40687 char *kwnames
[] = {
40688 (char *) "self", NULL
40691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40696 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40698 wxPyEndAllowThreads(__tstate
);
40699 if (PyErr_Occurred()) SWIG_fail
;
40702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40710 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40711 PyObject
*resultobj
;
40712 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40714 PyObject
* obj0
= 0 ;
40715 PyObject
* obj1
= 0 ;
40716 char *kwnames
[] = {
40717 (char *) "self",(char *) "d", NULL
40720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40723 arg2
= (bool)SWIG_As_bool(obj1
);
40724 if (PyErr_Occurred()) SWIG_fail
;
40726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40727 (arg1
)->SetDone(arg2
);
40729 wxPyEndAllowThreads(__tstate
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40732 Py_INCREF(Py_None
); resultobj
= Py_None
;
40739 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
;
40741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40743 PyObject
* obj0
= 0 ;
40744 char *kwnames
[] = {
40745 (char *) "self", NULL
40748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (int)(arg1
)->GetRelationship();
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= SWIG_From_int((int)result
);
40765 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40766 PyObject
*resultobj
;
40767 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40769 PyObject
* obj0
= 0 ;
40770 PyObject
* obj1
= 0 ;
40771 char *kwnames
[] = {
40772 (char *) "self",(char *) "r", NULL
40775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40778 arg2
= (int)SWIG_As_int(obj1
);
40779 if (PyErr_Occurred()) SWIG_fail
;
40781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40782 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40784 wxPyEndAllowThreads(__tstate
);
40785 if (PyErr_Occurred()) SWIG_fail
;
40787 Py_INCREF(Py_None
); resultobj
= Py_None
;
40794 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40795 PyObject
*resultobj
;
40796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40797 wxWindow
*arg2
= (wxWindow
*) 0 ;
40799 PyObject
* obj0
= 0 ;
40800 PyObject
* obj1
= 0 ;
40801 char *kwnames
[] = {
40802 (char *) "self",(char *) "otherW", NULL
40805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40812 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40814 wxPyEndAllowThreads(__tstate
);
40815 if (PyErr_Occurred()) SWIG_fail
;
40818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40826 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40827 PyObject
*resultobj
;
40828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40829 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40830 wxWindow
*arg3
= (wxWindow
*) 0 ;
40832 PyObject
* obj0
= 0 ;
40833 PyObject
* obj1
= 0 ;
40834 PyObject
* obj2
= 0 ;
40835 char *kwnames
[] = {
40836 (char *) "self",(char *) "constraints",(char *) "win", NULL
40839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40844 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40848 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40862 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40863 PyObject
*resultobj
;
40864 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40866 wxWindow
*arg3
= (wxWindow
*) 0 ;
40867 wxWindow
*arg4
= (wxWindow
*) 0 ;
40869 PyObject
* obj0
= 0 ;
40870 PyObject
* obj1
= 0 ;
40871 PyObject
* obj2
= 0 ;
40872 PyObject
* obj3
= 0 ;
40873 char *kwnames
[] = {
40874 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40880 arg2
= (int)SWIG_As_int(obj1
);
40881 if (PyErr_Occurred()) SWIG_fail
;
40882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40884 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40888 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40890 wxPyEndAllowThreads(__tstate
);
40891 if (PyErr_Occurred()) SWIG_fail
;
40893 resultobj
= SWIG_From_int((int)result
);
40900 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40903 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40905 return Py_BuildValue((char *)"");
40907 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40908 PyObject
*resultobj
;
40909 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40910 wxIndividualLayoutConstraint
*result
;
40911 PyObject
* obj0
= 0 ;
40912 char *kwnames
[] = {
40913 (char *) "self", NULL
40916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40919 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40928 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40931 wxIndividualLayoutConstraint
*result
;
40932 PyObject
* obj0
= 0 ;
40933 char *kwnames
[] = {
40934 (char *) "self", NULL
40937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40940 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40949 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40950 PyObject
*resultobj
;
40951 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40952 wxIndividualLayoutConstraint
*result
;
40953 PyObject
* obj0
= 0 ;
40954 char *kwnames
[] = {
40955 (char *) "self", NULL
40958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40961 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40970 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40971 PyObject
*resultobj
;
40972 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40973 wxIndividualLayoutConstraint
*result
;
40974 PyObject
* obj0
= 0 ;
40975 char *kwnames
[] = {
40976 (char *) "self", NULL
40979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40982 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40991 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40992 PyObject
*resultobj
;
40993 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40994 wxIndividualLayoutConstraint
*result
;
40995 PyObject
* obj0
= 0 ;
40996 char *kwnames
[] = {
40997 (char *) "self", NULL
41000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41003 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41012 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41013 PyObject
*resultobj
;
41014 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41015 wxIndividualLayoutConstraint
*result
;
41016 PyObject
* obj0
= 0 ;
41017 char *kwnames
[] = {
41018 (char *) "self", NULL
41021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41024 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41033 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41034 PyObject
*resultobj
;
41035 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41036 wxIndividualLayoutConstraint
*result
;
41037 PyObject
* obj0
= 0 ;
41038 char *kwnames
[] = {
41039 (char *) "self", NULL
41042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41045 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41054 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41055 PyObject
*resultobj
;
41056 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41057 wxIndividualLayoutConstraint
*result
;
41058 PyObject
* obj0
= 0 ;
41059 char *kwnames
[] = {
41060 (char *) "self", NULL
41063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41066 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41075 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41076 PyObject
*resultobj
;
41077 wxLayoutConstraints
*result
;
41078 char *kwnames
[] = {
41082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41085 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41087 wxPyEndAllowThreads(__tstate
);
41088 if (PyErr_Occurred()) SWIG_fail
;
41090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41097 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41100 wxWindow
*arg2
= (wxWindow
*) 0 ;
41101 int *arg3
= (int *) 0 ;
41105 PyObject
* obj0
= 0 ;
41106 PyObject
* obj1
= 0 ;
41107 char *kwnames
[] = {
41108 (char *) "self",(char *) "win", NULL
41111 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41119 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41121 wxPyEndAllowThreads(__tstate
);
41122 if (PyErr_Occurred()) SWIG_fail
;
41125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41127 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41128 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41135 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41136 PyObject
*resultobj
;
41137 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41139 PyObject
* obj0
= 0 ;
41140 char *kwnames
[] = {
41141 (char *) "self", NULL
41144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41149 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41151 wxPyEndAllowThreads(__tstate
);
41152 if (PyErr_Occurred()) SWIG_fail
;
41155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41163 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41166 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41168 return Py_BuildValue((char *)"");
41170 static PyMethodDef SwigMethods
[] = {
41171 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41172 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41173 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41176 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41197 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41210 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41225 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41276 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41304 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41322 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41324 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41332 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41333 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41345 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41357 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41361 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41367 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41377 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41387 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41391 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41463 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41465 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41467 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41469 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41471 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41473 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41475 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41479 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41481 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41483 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41485 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41487 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41501 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41519 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41522 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41525 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41537 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41542 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41548 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41554 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41617 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41624 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41660 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41670 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41680 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41682 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41684 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41687 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41691 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41694 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41697 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41699 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41704 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41712 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41716 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41719 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41721 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41725 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41742 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41744 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41747 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41749 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41753 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41757 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41766 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41769 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41772 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41776 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41783 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41788 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41793 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41838 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41856 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41863 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41867 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41877 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42046 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42088 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42102 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42105 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42160 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42187 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42231 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42239 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42256 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42257 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42293 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42322 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42325 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42329 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42332 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42335 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42337 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42342 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42354 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42364 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42374 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42388 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42395 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42396 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42397 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42398 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42399 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42404 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42408 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42416 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42431 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42432 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42433 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42434 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42437 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42443 { NULL
, NULL
, 0, NULL
}
42447 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42449 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42450 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42452 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42453 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42455 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42456 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42458 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42459 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42461 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42462 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42464 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42465 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42467 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42468 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42470 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42471 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42473 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42476 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42477 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42479 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42480 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42482 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42483 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42485 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42486 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42488 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42489 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42491 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42492 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42494 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42497 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42498 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42500 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42503 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42504 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42506 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42507 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42509 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42510 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42512 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42513 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42515 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42516 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42518 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42519 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42521 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42522 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42524 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42525 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42527 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42528 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42530 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42531 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42533 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42536 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42537 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42539 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42540 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42542 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42543 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42545 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42546 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42548 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42549 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42551 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42552 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42554 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42555 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42557 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42558 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42560 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42561 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42563 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42566 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42569 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42570 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42572 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42573 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42575 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42576 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42578 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42579 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42581 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42582 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42584 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42585 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42587 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42588 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42590 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42591 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42593 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42594 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42596 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42597 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42599 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42602 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42603 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42605 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42606 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42608 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42609 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42611 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42614 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42615 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42617 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42618 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42620 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42621 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42623 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42624 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42626 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42627 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42629 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42630 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42632 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42633 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42635 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42636 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42638 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42639 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42641 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42642 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42644 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42645 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42647 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42648 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42650 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42651 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42653 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42654 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42656 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42657 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42659 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42660 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42662 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42663 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42665 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42666 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42668 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42669 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42671 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42672 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42674 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42675 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42677 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42678 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42680 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42681 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42683 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42684 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42686 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42689 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42690 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42692 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42693 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42695 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42696 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42698 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42701 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42704 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42707 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42708 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42710 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42711 return (void *)((wxObject
*) ((wxSizer
*) x
));
42713 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42714 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42716 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42717 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42719 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42722 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42723 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42725 static void *_p_wxImageTo_p_wxObject(void *x
) {
42726 return (void *)((wxObject
*) ((wxImage
*) x
));
42728 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42731 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42734 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42735 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42737 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42738 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42740 static void *_p_wxControlTo_p_wxObject(void *x
) {
42741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42743 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42744 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42746 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42747 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42749 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42750 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42752 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42755 static void *_p_wxEventTo_p_wxObject(void *x
) {
42756 return (void *)((wxObject
*) ((wxEvent
*) x
));
42758 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42759 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42761 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42762 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42764 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42765 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42767 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42768 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42770 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42771 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42773 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42774 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42776 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42779 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42780 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42782 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42785 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42786 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42788 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42789 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42791 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42792 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42794 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42795 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42797 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42798 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42800 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42801 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42803 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42804 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42806 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42809 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42812 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42815 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42818 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42821 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42824 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42825 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42827 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42828 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42830 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42831 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42833 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42834 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42836 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42837 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42839 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42840 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42842 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42843 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42845 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42846 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42848 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42849 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42851 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42854 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42855 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42857 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42858 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42860 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42861 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42863 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42864 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42866 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42867 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42869 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42870 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42872 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42873 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42878 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42879 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42881 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42882 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42884 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42887 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42888 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42890 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42891 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42893 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42894 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42896 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42897 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42899 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42900 return (void *)((wxWindow
*) ((wxControl
*) x
));
42902 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42903 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42905 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42906 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42908 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42909 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42911 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42912 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42914 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42915 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42917 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42918 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42920 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42921 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42923 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42924 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42926 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42927 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42929 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42930 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42932 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42933 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42935 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}};
42936 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}};
42937 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}};
42938 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}};
42939 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}};
42940 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}};
42941 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}};
42942 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}};
42943 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}};
42944 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}};
42945 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}};
42946 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}};
42947 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}};
42948 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}};
42949 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}};
42950 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}};
42951 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}};
42952 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}};
42953 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}};
42954 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}};
42955 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}};
42956 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}};
42957 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}};
42958 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}};
42959 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}};
42960 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}};
42961 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}};
42962 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}};
42963 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}};
42964 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}};
42965 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}};
42966 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}};
42967 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}};
42968 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}};
42969 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}};
42970 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}};
42971 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}};
42972 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}};
42973 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}};
42974 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}};
42975 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}};
42976 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}};
42977 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}};
42978 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}};
42979 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}};
42980 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}};
42981 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}};
42982 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}};
42983 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}};
42984 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}};
42985 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}};
42986 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}};
42987 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}};
42988 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}};
42989 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}};
42990 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}};
42991 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}};
42992 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}};
42993 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}};
42994 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}};
42995 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}};
42996 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}};
42997 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}};
42998 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}};
42999 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}};
43000 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}};
43001 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}};
43002 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}};
43003 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}};
43004 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}};
43005 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}};
43006 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}};
43007 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}};
43008 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}};
43009 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}};
43010 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}};
43011 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}};
43012 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}};
43013 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}};
43014 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}};
43015 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}};
43016 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}};
43017 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}};
43018 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}};
43019 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}};
43020 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}};
43021 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}};
43022 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}};
43023 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}};
43024 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}};
43025 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}};
43026 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}};
43027 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}};
43028 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}};
43029 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}};
43030 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}};
43031 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}};
43032 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}};
43033 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}};
43034 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}};
43035 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}};
43036 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}};
43037 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}};
43038 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}};
43039 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}};
43040 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}};
43041 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}};
43042 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}};
43043 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}};
43044 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}};
43045 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}};
43046 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}};
43047 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}};
43048 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}};
43049 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}};
43050 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}};
43051 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}};
43053 static swig_type_info
*swig_types_initial
[] = {
43054 _swigt__p_wxLayoutConstraints
,
43055 _swigt__p_wxRealPoint
,
43056 _swigt__p_wxSizerItem
,
43057 _swigt__p_wxGBSizerItem
,
43058 _swigt__p_wxScrollEvent
,
43059 _swigt__p_wxEventLoop
,
43060 _swigt__p_wxIndividualLayoutConstraint
,
43062 _swigt__p_wxBoxSizer
,
43063 _swigt__p_wxStaticBoxSizer
,
43064 _swigt__p_wxGridBagSizer
,
43065 _swigt__p_wxAcceleratorEntry
,
43066 _swigt__p_wxUpdateUIEvent
,
43069 _swigt__p_wxGridSizer
,
43070 _swigt__p_wxFlexGridSizer
,
43071 _swigt__p_wxInitDialogEvent
,
43072 _swigt__p_wxItemContainer
,
43073 _swigt__p_wxNcPaintEvent
,
43074 _swigt__p_wxPaintEvent
,
43075 _swigt__p_wxSysColourChangedEvent
,
43076 _swigt__p_wxMouseCaptureChangedEvent
,
43077 _swigt__p_wxDisplayChangedEvent
,
43078 _swigt__p_wxPaletteChangedEvent
,
43079 _swigt__p_wxControl
,
43081 _swigt__p_wxMenuBarBase
,
43082 _swigt__p_wxSetCursorEvent
,
43083 _swigt__p_wxFSFile
,
43085 _swigt__p_wxRegion
,
43086 _swigt__p_wxPoint2D
,
43090 _swigt__p_wxPySizer
,
43091 _swigt__p_wxVisualAttributes
,
43092 _swigt__p_wxNotifyEvent
,
43093 _swigt__p_wxPyEvent
,
43094 _swigt__p_wxPropagationDisabler
,
43095 _swigt__p_wxAppTraits
,
43096 _swigt__p_wxArrayString
,
43097 _swigt__p_wxShowEvent
,
43098 _swigt__p_wxToolTip
,
43099 _swigt__p_wxIconizeEvent
,
43100 _swigt__p_wxActivateEvent
,
43101 _swigt__p_wxMoveEvent
,
43102 _swigt__p_wxSizeEvent
,
43103 _swigt__p_wxMaximizeEvent
,
43104 _swigt__p_wxQueryNewPaletteEvent
,
43105 _swigt__p_wxWindowCreateEvent
,
43106 _swigt__p_wxIdleEvent
,
43107 _swigt__p_wxMenuItem
,
43108 _swigt__p_wxStaticBox
,
43110 _swigt__p_wxTIFFHandler
,
43111 _swigt__p_wxXPMHandler
,
43112 _swigt__p_wxPNMHandler
,
43113 _swigt__p_wxJPEGHandler
,
43114 _swigt__p_wxPCXHandler
,
43115 _swigt__p_wxGIFHandler
,
43116 _swigt__p_wxPNGHandler
,
43117 _swigt__p_wxANIHandler
,
43118 _swigt__p_wxMemoryFSHandler
,
43119 _swigt__p_wxEvtHandler
,
43120 _swigt__p_wxCURHandler
,
43121 _swigt__p_wxICOHandler
,
43122 _swigt__p_wxBMPHandler
,
43123 _swigt__p_wxImageHandler
,
43124 _swigt__p_wxFileSystemHandler
,
43125 _swigt__p_wxPyFileSystemHandler
,
43126 _swigt__p_wxInternetFSHandler
,
43127 _swigt__p_wxZipFSHandler
,
43129 _swigt__p_wxGBSpan
,
43130 _swigt__p_wxPropagateOnce
,
43131 _swigt__p_wxAcceleratorTable
,
43133 _swigt__p_wxGBPosition
,
43136 _swigt__p_wxScrollWinEvent
,
43137 _swigt__p_wxImageHistogram
,
43140 _swigt__p_wxCursor
,
43141 _swigt__p_wxObject
,
43142 _swigt__p_wxPyInputStream
,
43143 _swigt__p_wxOutputStream
,
43144 _swigt__p_wxInputStream
,
43145 _swigt__p_wxDateTime
,
43146 _swigt__p_wxKeyEvent
,
43147 _swigt__p_wxNavigationKeyEvent
,
43148 _swigt__p_wxWindowDestroyEvent
,
43149 _swigt__p_wxWindow
,
43150 _swigt__p_wxMenuBar
,
43151 _swigt__p_wxFileSystem
,
43152 _swigt__p_wxBitmap
,
43153 _swigt__p_wxMenuEvent
,
43154 _swigt__p_wxContextMenuEvent
,
43155 _swigt__p_unsigned_char
,
43156 _swigt__p_wxCloseEvent
,
43157 _swigt__p_wxEraseEvent
,
43158 _swigt__p_wxMouseEvent
,
43160 _swigt__p_wxCommandEvent
,
43161 _swigt__p_wxPyCommandEvent
,
43162 _swigt__p_wxPyDropTarget
,
43163 _swigt__p_wxQuantize
,
43164 _swigt__p_wxChildFocusEvent
,
43165 _swigt__p_wxFocusEvent
,
43166 _swigt__p_wxDropFilesEvent
,
43167 _swigt__p_wxControlWithItems
,
43168 _swigt__p_wxColour
,
43169 _swigt__p_wxValidator
,
43170 _swigt__p_wxPyValidator
,
43175 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43177 static swig_const_info swig_const_table
[] = {
43178 {0, 0, 0, 0.0, 0, 0}};
43187 SWIGEXPORT(void) SWIG_init(void) {
43188 static PyObject
*SWIG_globals
= 0;
43189 static int typeinit
= 0;
43192 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43193 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43194 d
= PyModule_GetDict(m
);
43197 for (i
= 0; swig_types_initial
[i
]; i
++) {
43198 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43202 SWIG_InstallConstants(d
,swig_const_table
);
43205 #ifndef wxPyUSE_EXPORT
43206 // Make our API structure a CObject so other modules can import it
43207 // from this module.
43208 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43209 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43213 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43214 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43215 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43216 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43217 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43218 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43219 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43220 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43221 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43222 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43223 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43224 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43225 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43226 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43227 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43228 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43229 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43230 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43231 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43232 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43233 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43234 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43235 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43236 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43237 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43238 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43239 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43240 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43241 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43242 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43243 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43244 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43245 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43246 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43247 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43248 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43249 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43250 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43251 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43252 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43253 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43254 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43255 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43256 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43257 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43258 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43259 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43260 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43261 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43262 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43263 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43264 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43265 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43266 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43267 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43268 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43269 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43270 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43271 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43272 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43273 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43274 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43275 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43276 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43277 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43278 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43279 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43280 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43281 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43282 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43283 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43284 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43285 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43286 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43287 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43288 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43289 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43290 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43291 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43292 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43293 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43294 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43295 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43296 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43297 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43298 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43299 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43300 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43301 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43302 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43303 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43304 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43305 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43306 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43307 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43308 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43309 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43310 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43311 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43312 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43313 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43314 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43315 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43316 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43317 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43318 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43319 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43320 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43321 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43322 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43323 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43324 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43325 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43326 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43327 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43328 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43329 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43330 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43331 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43332 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43333 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43334 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43335 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43336 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43337 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43338 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43339 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43340 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43341 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43342 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43343 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43344 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43345 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43346 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43347 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43348 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43349 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43350 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43351 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43352 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43353 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43354 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43355 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43356 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43357 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43358 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43359 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43360 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43361 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43362 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43363 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43364 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43365 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43366 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43367 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43368 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43369 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43370 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43371 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43372 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43373 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43374 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43375 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43376 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43377 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43378 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43379 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43380 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43381 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43382 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43383 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43384 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43385 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43386 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43387 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43388 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43389 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43390 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43391 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43392 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43393 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43394 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43395 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43396 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43397 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43398 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43399 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43400 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43401 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43402 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43403 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43404 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43405 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43406 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43407 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43408 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43409 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43410 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43411 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43412 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43413 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43414 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43415 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43416 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43417 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43418 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43419 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43420 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43421 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43422 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43423 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43424 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43425 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43426 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43427 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43428 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43429 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43430 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43431 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43432 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43433 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43434 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43435 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43436 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43437 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43438 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43439 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43440 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43441 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43442 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43443 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43444 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43445 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43446 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43447 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43448 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43449 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43450 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43451 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43452 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43453 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43454 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43455 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43456 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43457 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43458 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43459 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43460 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43461 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43462 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43463 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43464 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43465 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43466 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43467 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43468 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43469 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43470 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43471 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43472 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43473 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43474 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43475 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43476 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43477 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43478 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43479 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43480 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43481 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43482 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43483 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43484 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43485 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43486 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43487 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43488 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43489 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43490 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43491 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43492 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43493 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43494 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43495 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43496 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43497 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43498 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43499 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43500 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43501 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43502 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43503 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43504 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43505 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43506 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43507 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43508 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43509 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43510 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43511 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43512 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43513 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43514 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43515 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43516 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43517 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43518 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43519 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43520 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43521 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43522 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43523 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43524 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43525 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43526 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43527 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43528 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43529 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43530 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43531 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43532 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43533 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43534 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43535 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43536 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43537 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43538 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43539 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43540 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43541 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43542 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43543 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43544 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43545 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43546 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43547 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43548 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43549 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43550 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43551 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43552 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43553 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43554 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43555 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43556 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43557 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43558 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43559 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43560 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43561 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43562 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43563 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43564 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43565 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43566 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43567 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43568 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43569 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43570 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43571 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43572 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43573 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43574 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43575 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43576 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43577 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43578 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43579 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43580 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43581 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43582 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43583 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43584 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43585 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43586 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43587 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43588 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43589 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43590 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43591 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43592 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43593 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43594 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43595 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43596 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43597 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43598 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43599 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43600 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43601 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43602 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43603 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43604 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43605 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43606 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43607 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43608 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43609 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43610 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43611 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43612 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43613 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43614 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43615 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43616 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43617 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43618 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43619 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43620 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43621 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43622 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43623 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43624 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43625 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43626 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43627 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43628 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43629 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43630 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43631 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43632 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43633 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43634 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43635 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43636 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43637 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43638 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43639 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43640 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43641 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43642 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43643 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43644 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43645 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43646 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43647 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43648 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43649 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43650 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43651 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43652 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43653 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43654 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43655 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43656 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43657 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43658 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43659 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43660 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43661 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43662 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43663 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43664 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43665 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43666 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43667 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43668 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43669 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43670 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43671 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43672 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43673 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43674 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43675 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43676 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43677 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43678 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43679 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43680 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43681 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43682 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43683 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43684 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43685 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43686 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43687 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43688 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43689 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43690 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43691 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43692 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43693 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43694 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43695 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43696 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43697 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43698 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43699 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43700 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43701 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43702 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43703 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43704 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43705 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43706 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43707 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43708 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43709 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43710 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43711 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43712 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43713 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43714 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43715 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43716 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43717 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43718 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43719 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43720 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43721 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43722 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43723 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43724 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43725 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43726 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43727 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43728 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43729 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43730 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43731 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43732 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43733 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43734 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43735 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43736 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43737 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43738 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43739 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43740 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43741 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43742 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43743 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43744 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43745 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43746 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43747 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43748 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43749 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43750 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43751 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43752 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43753 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43754 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43755 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43756 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43757 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43758 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43759 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43760 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43761 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43762 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43763 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43764 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43765 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43766 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43767 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43768 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43769 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43770 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43771 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43772 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43773 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43774 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43775 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43776 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43777 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43778 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43779 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43780 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43781 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43782 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43783 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43784 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43785 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43786 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43787 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43788 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43789 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43790 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43791 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43792 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43793 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43794 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43795 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43796 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43797 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43798 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43799 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43800 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43801 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43802 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43803 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43804 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43805 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43806 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43807 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43808 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43809 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43810 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43811 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43813 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43816 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43818 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43819 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43820 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43821 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43822 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43823 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43824 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43825 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43826 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43827 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43828 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43829 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43830 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43831 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43832 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43833 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43834 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43835 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43836 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43837 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43838 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43839 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43840 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43841 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43842 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43843 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43844 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43845 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43847 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43848 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43849 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43850 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43851 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43852 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43853 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43854 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43855 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43856 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43857 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43858 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43859 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43860 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43861 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43862 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43863 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43864 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43865 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43866 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43867 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43868 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43869 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43870 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43871 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43872 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43873 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43874 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43875 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43876 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43877 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43878 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43879 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43880 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43881 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43882 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43883 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43884 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43885 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43886 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43887 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43888 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43889 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43890 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43891 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43892 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43893 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43894 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43895 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43896 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43897 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43898 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43899 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43900 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43901 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43902 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43903 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43904 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43905 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43906 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43907 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43908 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43909 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43910 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43911 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43912 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43913 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43914 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43915 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43916 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43917 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43918 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43919 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43920 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43921 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43922 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43923 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43924 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43925 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43926 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43927 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43928 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43929 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43930 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43931 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43932 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43933 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43934 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43935 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43936 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43937 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43938 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43939 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43940 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43941 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43942 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43943 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43944 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43945 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43948 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43949 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43950 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43951 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43952 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43953 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43954 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43955 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43956 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43957 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43958 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43959 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43960 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43961 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43962 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43963 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43964 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43965 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43966 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43967 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43968 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43969 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43970 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43971 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43972 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43973 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43974 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43975 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43976 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43977 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43978 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43979 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43980 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43981 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43982 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43983 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43984 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43985 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43986 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43987 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43988 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43989 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43990 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43991 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43992 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43993 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43994 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43995 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43996 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43997 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43998 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43999 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44000 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44001 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44002 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44004 // Initialize threading, some globals and such
44008 // Although these are defined in __version__ they need to be here too so
44009 // that an assert can be done to ensure that the wxPython and the wxWindows
44011 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44012 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44013 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));